[U-Boot] [PATCH] T1042RDB: Remove nand secure boot compilation error

Vinitha Pillai-B57223 vinitha.pillai at nxp.com
Tue Mar 14 09:24:42 UTC 2017


After application of SPL size reduction patch, powerPC
compilation breaks, as a macro CONFIG_CMD_BLOB is being
defined for powerpc, but for SPL size reducion blobbing
has been removed for SPL compilation. So that had to be removed
from SPL compilation for powerPC platform as well.

Signed-off-by: Vinitha Pillai <vinitha.pillai at nxp.com>
Signed-off-by: Sumit Garg <sumit.garg at nxp.com>
---
 arch/powerpc/include/asm/fsl_secure_boot.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/asm/fsl_secure_boot.h b/arch/powerpc/include/asm/fsl_secure_boot.h
index 2e937f0..1f22b77 100644
--- a/arch/powerpc/include/asm/fsl_secure_boot.h
+++ b/arch/powerpc/include/asm/fsl_secure_boot.h
@@ -107,7 +107,6 @@
 #endif /* ifdef CONFIG_SPL_BUILD */
 
 #define CONFIG_CMD_ESBC_VALIDATE
-#define CONFIG_CMD_BLOB
 #define CONFIG_FSL_SEC_MON
 #define CONFIG_SHA_PROG_HW_ACCEL
 #define CONFIG_RSA_FREESCALE_EXP
@@ -117,6 +116,7 @@
 #endif
 
 #ifndef CONFIG_SPL_BUILD
+#define CONFIG_CMD_BLOB
 /*
  * fsl_setenv_chain_of_trust() must be called from
  * board_late_init()
-- 
1.9.1



More information about the U-Boot mailing list