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

Scott Wood scottwood at freescale.com
Mon Jan 20 23:04:37 CET 2014


On Mon, 2014-01-20 at 14:55 +0530, Aneesh Bansal wrote:
> In case of secure boot, boot from NAND is ramboot.
> It was removed by some other commit. So defining it again.

In case of not-secure-boot, it's not ramboot.

What user of CONFIG_SYS_RAMBOOT are you concerned about?  Many of them
look like this:

#elif !defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_SECURE_BOOT)

...which doesn't make sense if secure boot is always considered ramboot.

-Scott




More information about the U-Boot mailing list