
Enable blob commands for platforms having SEC 4.0 or greater for secure boot scenarios
Signed-off-by: Ruchika Gupta ruchika.gupta@freescale.com CC: York Sun yorksun@freescale.com --- Changes from v1: Added command in corenet_ds.h
include/configs/B4860QDS.h | 4 ++++ include/configs/BSC9132QDS.h | 4 ++++ include/configs/P1010RDB.h | 4 ++++ include/configs/P2041RDB.h | 4 ++++ include/configs/T1040QDS.h | 1 + include/configs/T104xRDB.h | 1 + include/configs/T208xQDS.h | 1 + include/configs/T208xRDB.h | 1 + include/configs/T4240QDS.h | 4 ++++ include/configs/T4240RDB.h | 1 + include/configs/corenet_ds.h | 4 ++++ 11 files changed, 29 insertions(+)
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h index 58932ad..9217f37 100644 --- a/include/configs/B4860QDS.h +++ b/include/configs/B4860QDS.h @@ -909,4 +909,8 @@ unsigned long get_board_ddr_clk(void);
#include <asm/fsl_secure_boot.h>
+#ifdef CONFIG_SECURE_BOOT +#define CONFIG_CMD_BLOB +#endif + #endif /* __CONFIG_H */ diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h index 922ac00..32fc099 100644 --- a/include/configs/BSC9132QDS.h +++ b/include/configs/BSC9132QDS.h @@ -708,4 +708,8 @@ combinations. this should be removed later
#include <asm/fsl_secure_boot.h>
+#ifdef CONFIG_SECURE_BOOT +#define CONFIG_CMD_BLOB +#endif + #endif /* __CONFIG_H */ diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h index 45ef53d..54365a2 100644 --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h @@ -960,4 +960,8 @@ extern unsigned long get_sdram_size(void);
#include <asm/fsl_secure_boot.h>
+#ifdef CONFIG_SECURE_BOOT +#define CONFIG_CMD_BLOB +#endif + #endif /* __CONFIG_H */ diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h index 7ff2dd5..0b12cf5 100644 --- a/include/configs/P2041RDB.h +++ b/include/configs/P2041RDB.h @@ -747,4 +747,8 @@ unsigned long get_board_sys_clk(unsigned long dummy);
#include <asm/fsl_secure_boot.h>
+#ifdef CONFIG_SECURE_BOOT +#define CONFIG_CMD_BLOB +#endif + #endif /* __CONFIG_H */ diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h index 5870a49..bbe54bf 100644 --- a/include/configs/T1040QDS.h +++ b/include/configs/T1040QDS.h @@ -822,6 +822,7 @@ unsigned long get_board_ddr_clk(void);
#ifdef CONFIG_SECURE_BOOT #include <asm/fsl_secure_boot.h> +#define CONFIG_CMD_BLOB #endif
#endif /* __CONFIG_H */ diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h index 8e43931..bcfa410 100644 --- a/include/configs/T104xRDB.h +++ b/include/configs/T104xRDB.h @@ -864,6 +864,7 @@
#ifdef CONFIG_SECURE_BOOT #include <asm/fsl_secure_boot.h> +#define CONFIG_CMD_BLOB #endif
#endif /* __CONFIG_H */ diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index 9a8a3b6..70ce540 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -913,6 +913,7 @@ unsigned long get_board_ddr_clk(void);
#ifdef CONFIG_SECURE_BOOT #include <asm/fsl_secure_boot.h> +#include CONFIG_CMD_BLOB #undef CONFIG_CMD_USB #endif
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h index 4ff31e6..8d4b02f 100644 --- a/include/configs/T208xRDB.h +++ b/include/configs/T208xRDB.h @@ -872,6 +872,7 @@ unsigned long get_board_ddr_clk(void);
#ifdef CONFIG_SECURE_BOOT #include <asm/fsl_secure_boot.h> +#define CONFIG_CMD_BLOB #undef CONFIG_CMD_USB #endif
diff --git a/include/configs/T4240QDS.h b/include/configs/T4240QDS.h index d2faf94..e3bbfeb 100644 --- a/include/configs/T4240QDS.h +++ b/include/configs/T4240QDS.h @@ -629,4 +629,8 @@ unsigned long get_board_ddr_clk(void);
#include <asm/fsl_secure_boot.h>
+#ifdef CONFIG_SECURE_BOOT +#define CONFIG_CMD_BLOB +#endif + #endif /* __CONFIG_H */ diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index b3fbbe3..82e5efd 100644 --- a/include/configs/T4240RDB.h +++ b/include/configs/T4240RDB.h @@ -755,6 +755,7 @@ unsigned long get_board_ddr_clk(void); * which is anyways not used in Secure Environment. */ #undef CONFIG_CMD_USB +#define CONFIG_CMD_BLOB #endif
#endif /* __CONFIG_H */ diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h index 4fd290e..b0c8277 100644 --- a/include/configs/corenet_ds.h +++ b/include/configs/corenet_ds.h @@ -749,4 +749,8 @@
#include <asm/fsl_secure_boot.h>
+#ifdef CONFIG_SECURE_BOOT +#define CONFIG_CMD_BLOB +#endif + #endif /* __CONFIG_H */