Commit 76c9aaf587a566952b3148e43df3628f003c9e99

Authored by Aneesh Bansal
Committed by York Sun
1 parent 0ecb15c8e9

powerpc/p1010rdb: SECURE BOOT enabled for NAND

In case of secure boot from NAND, the DDR is initialized by the
BootROM using the config words (CF_WORDS) in the CF_HEADER
and u-boot image is copied from NAND to DDR by the BootROM.
So, CONFIG_SYS_RAMBOOT has been defined for Secure Boot from NAND.

Signed-off-by: Aneesh Bansal <aneesh.bansal@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>

Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff

include/configs/P1010RDB.h
... ... @@ -541,7 +541,8 @@
541 541 FTIM2_GPCM_TWP(0x1f))
542 542 #define CONFIG_SYS_CS3_FTIM3 0x0
543 543  
544   -#if defined(CONFIG_RAMBOOT_SDCARD) || defined(CONFIG_RAMBOOT_SPIFLASH)
  544 +#if defined(CONFIG_RAMBOOT_SDCARD) || defined(CONFIG_RAMBOOT_SPIFLASH) || \
  545 + defined(CONFIG_RAMBOOT_NAND)
545 546 #define CONFIG_SYS_RAMBOOT
546 547 #define CONFIG_SYS_EXTRA_ENV_RELOC
547 548 #else