From: Scott Wood Date: Mon, 20 Jan 2014 16:06:17 -0600 Subject: [U-Boot] [PATCH 2/3] powerpc/p1010rdb: SECURE BOOT- enable workaround for IFC errata A003399 In-Reply-To: <1390210023-10234-1-git-send-email-aneesh.bansal@freescale.com> References: <1390210023-10234-1-git-send-email-aneesh.bansal@freescale.com> Message-ID: <1390255577.24905.306.camel@snotra.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 2014-01-20 at 14:57 +0530, Aneesh Bansal wrote: > The workaround for IFC errata A003399 was not enabled > in case of secure boot. So, secure boot from NOR was not > working. > > Signed-off-by: Aneesh Bansal > --- > include/configs/P1010RDB.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h > index c21cf07..b0e51fb 100644 > --- a/include/configs/P1010RDB.h > +++ b/include/configs/P1010RDB.h > @@ -455,8 +455,7 @@ extern unsigned long get_sdram_size(void); > #endif > > #ifdef CONFIG_SYS_FSL_ERRATUM_IFC_A003399 > -#if !defined(CONFIG_SPL) && !defined(CONFIG_SYS_RAMBOOT)\ > - && !defined(CONFIG_SECURE_BOOT) > +#if !defined(CONFIG_SPL) && !defined(CONFIG_SYS_RAMBOOT) > #define CONFIG_A003399_NOR_WORKAROUND > #endif > #endif Why do you need the workaround? Doesn't secure boot involve the bootrom loading U-Boot into SRAM, rather than execute-in-place from NOR? -Scott