Skip to contentSkip to conversation

powerpc/p1010rdb: SECURE BOOT enabled for NAND

PATCH New Aneesh Bansal 2 participants 2 messages Mar 7, 2014 – Apr 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
 include/configs/P1010RDB.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Changes from v1:
Changed the subject line from SECURE BOOT- define CONFIG_SYS_RAMBOOT for NAND boot as per discussion

include/configs/P1010RDB.h +2 -1
index eabfc85..0ae45ad 100644
@@ -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
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH v2 1/1 powerpc/p1010rdb: SECURE BOOT enabled for NAND

Quoted 7 lines · Aneesh Bansal

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.

---

Applied to u-boot-mpc85xx/master, thanks.

York