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

aneesh.bansal at freescale.com aneesh.bansal at freescale.com
Mon Jan 27 08:20:55 CET 2014


>> 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

CONFIG_SYS_RAMBOOT is for secure boot from NAND, SPI and SD.
CONFIG_SYS_RAMBOOT is not used for secure boot from NOR.


More information about the U-Boot mailing list