* [U-Boot] [PATCH][v2] powerpc/p1010rdb: SECURE BOOT enabled for NAND
@ 2014-03-07 13:42 Aneesh Bansal
2014-04-23 22:25 ` York Sun
0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Bansal @ 2014-03-07 13:42 UTC (permalink / raw)
To: u-boot
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>
---
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
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
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH][v2] powerpc/p1010rdb: SECURE BOOT enabled for NAND
2014-03-07 13:42 [U-Boot] [PATCH][v2] powerpc/p1010rdb: SECURE BOOT enabled for NAND Aneesh Bansal
@ 2014-04-23 22:25 ` York Sun
0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2014-04-23 22:25 UTC (permalink / raw)
To: u-boot
On 03/07/2014 05:42 AM, Aneesh Bansal wrote:
> 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>
> ---
Applied to u-boot-mpc85xx/master, thanks.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-23 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07 13:42 [U-Boot] [PATCH][v2] powerpc/p1010rdb: SECURE BOOT enabled for NAND Aneesh Bansal
2014-04-23 22:25 ` York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox