mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
board: freescale: p1_p2_rdb_pc: Allow to compile without BOARD_NAME
Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
parent
67ddd56251
commit
f7b4db358c
1 changed files with 5 additions and 1 deletions
|
@ -186,7 +186,11 @@ int checkboard(void)
|
|||
int bus_num = CONFIG_SYS_SPD_BUS_NUM;
|
||||
|
||||
/* FIXME: This should just use the model from the device tree or similar */
|
||||
printf("Board: %s CPLD: V%d.%d PCBA: V%d.0\n", BOARD_NAME,
|
||||
#ifdef BOARD_NAME
|
||||
printf("Board: %s ", BOARD_NAME);
|
||||
#endif
|
||||
|
||||
printf("CPLD: V%d.%d PCBA: V%d.0\n",
|
||||
in_8(&cpld_data->cpld_rev_major) & 0x0F,
|
||||
in_8(&cpld_data->cpld_rev_minor) & 0x0F,
|
||||
in_8(&cpld_data->pcba_rev) & 0x0F);
|
||||
|
|
Loading…
Reference in a new issue