[U-Boot] [PATCH 1/3] powerpc/p1010rdb: SECURE BOOT- define CONFIG_SYS_RAMBOOT for NAND boot

Aneesh Bansal aneesh.bansal at freescale.com
Mon Jan 20 10:25:26 CET 2014


In case of secure boot, boot from NAND is ramboot.
It was removed by some other commit. So defining it again.

Signed-off-by: Aneesh Bansal <aneesh.bansal at freescale.com>
---
 include/configs/P1010RDB.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index ea5cb65..c21cf07 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -446,7 +446,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
-- 
1.8.1.4




More information about the U-Boot mailing list