diff options
author | Stefan Roese <sr@denx.de> | 2009-04-15 10:50:48 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-04-16 09:12:08 +0200 |
commit | cf9409885cbe01405bad76790e99f8adf3351f4d (patch) | |
tree | 1ec83797047ecbbc1341444a1a361b3ab4b2e7c0 /cpu | |
parent | 5132106a27b8fb302677852b26ffd319b40d17e2 (diff) | |
download | u-boot-imx-cf9409885cbe01405bad76790e99f8adf3351f4d.zip u-boot-imx-cf9409885cbe01405bad76790e99f8adf3351f4d.tar.gz u-boot-imx-cf9409885cbe01405bad76790e99f8adf3351f4d.tar.bz2 |
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>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/ppc4xx/cpu.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpu/ppc4xx/cpu.c b/cpu/ppc4xx/cpu.c index d09c4c2..9a6a8d7 100644 --- a/cpu/ppc4xx/cpu.c +++ b/cpu/ppc4xx/cpu.c @@ -586,7 +586,11 @@ int checkcpu (void) #endif /* I2C_BOOTROM */ #if defined(SDR0_PINSTP_SHIFT) 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 */ #if defined(CONFIG_PCI) && !defined(CONFIG_405EX) |