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.pil...@nxp.com>
Signed-off-by: Sumit Garg <sumit.g...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to