summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAneesh Bansal <aneesh.bansal@freescale.com>2014-03-07 19:12:09 +0530
committerYork Sun <yorksun@freescale.com>2014-04-22 17:58:45 -0700
commit76c9aaf587a566952b3148e43df3628f003c9e99 (patch)
tree3788a2ae4d10061965feadf278216c721abd581d
parent0ecb15c8e98edf6a4a120eefc43bcb1e8f48d97b (diff)
downloadu-boot-imx-76c9aaf587a566952b3148e43df3628f003c9e99.zip
u-boot-imx-76c9aaf587a566952b3148e43df3628f003c9e99.tar.gz
u-boot-imx-76c9aaf587a566952b3148e43df3628f003c9e99.tar.bz2
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>
-rw-r--r--include/configs/P1010RDB.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index eabfc85..0ae45ad 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -541,7 +541,8 @@ extern unsigned long get_sdram_size(void);
FTIM2_GPCM_TWP(0x1f))
#define CONFIG_SYS_CS3_FTIM3 0x0
-#if defined(CONFIG_RAMBOOT_SDCARD) || defined(CONFIG_RAMBOOT_SPIFLASH)
+#if defined(CONFIG_RAMBOOT_SDCARD) || defined(CONFIG_RAMBOOT_SPIFLASH) || \
+ defined(CONFIG_RAMBOOT_NAND)
#define CONFIG_SYS_RAMBOOT
#define CONFIG_SYS_EXTRA_ENV_RELOC
#else