2018-05-06 17:58:06 -04:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2016-09-08 07:47:39 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016 Imagination Technologies
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
2020-05-10 11:40:02 -06:00
|
|
|
#include <init.h>
|
2016-09-08 07:47:39 +01:00
|
|
|
|
|
|
|
#include <asm/io.h>
|
|
|
|
#include <asm/mipsregs.h>
|
|
|
|
|
|
|
|
#include "boston-lcd.h"
|
|
|
|
#include "boston-regs.h"
|
|
|
|
|
|
|
|
int checkboard(void)
|
|
|
|
{
|
|
|
|
u32 changelist;
|
|
|
|
|
|
|
|
lowlevel_display("U-boot ");
|
|
|
|
|
|
|
|
printf("Board: MIPS Boston\n");
|
|
|
|
|
|
|
|
printf("CPU: 0x%08x", read_c0_prid());
|
|
|
|
changelist = __raw_readl((uint32_t *)BOSTON_PLAT_CORE_CL);
|
|
|
|
if (changelist > 1)
|
|
|
|
printf(" cl%x", changelist);
|
|
|
|
putc('\n');
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|