mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Simon Glass](/assets/img/avatar_default.png)
Move this uncommon header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
31 lines
515 B
C
31 lines
515 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (C) 2016 Imagination Technologies
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <init.h>
|
|
|
|
#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;
|
|
}
|