mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-01 22:07:21 +00:00
ppc4xx: Add "booting from NAND" to 4xx NAND-booting targets
This additional text in the bootup log helps to see if the board is configured for NAND-booting. Especially helpful for boards that can boot from NOR and NAND (e.g. most of the AMCC eval boards). Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
5132106a27
commit
cf9409885c
1 changed files with 5 additions and 1 deletions
|
@ -586,7 +586,11 @@ int checkcpu (void)
|
||||||
#endif /* I2C_BOOTROM */
|
#endif /* I2C_BOOTROM */
|
||||||
#if defined(SDR0_PINSTP_SHIFT)
|
#if defined(SDR0_PINSTP_SHIFT)
|
||||||
printf (" Bootstrap Option %c - ", bootstrap_char[bootstrap_option()]);
|
printf (" Bootstrap Option %c - ", bootstrap_char[bootstrap_option()]);
|
||||||
printf ("Boot ROM Location %s\n", bootstrap_str[bootstrap_option()]);
|
printf ("Boot ROM Location %s", bootstrap_str[bootstrap_option()]);
|
||||||
|
#ifdef CONFIG_NAND_U_BOOT
|
||||||
|
puts(", booting from NAND");
|
||||||
|
#endif /* CONFIG_NAND_U_BOOT */
|
||||||
|
putc('\n');
|
||||||
#endif /* SDR0_PINSTP_SHIFT */
|
#endif /* SDR0_PINSTP_SHIFT */
|
||||||
|
|
||||||
#if defined(CONFIG_PCI) && !defined(CONFIG_405EX)
|
#if defined(CONFIG_PCI) && !defined(CONFIG_405EX)
|
||||||
|
|
Loading…
Add table
Reference in a new issue