secure_boot: include/configs: move definition of CONFIG_CMD_BLOB
CONFIG_CMD_BLOB must be defined in case of Secure Boot. It was earlier defined in all config files. The definition has been moved to a common file which is included by all configs. Signed-off-by: Aneesh Bansal <aneesh.bansal@nxp.com> Acked-by: Ruchika Gupta <ruchika.gupta@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
ef6c55a240
commit
74eecd820f
@ -9,6 +9,7 @@
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_ESBC_VALIDATE
|
||||
#define CONFIG_CMD_BLOB
|
||||
#define CONFIG_FSL_SEC_MON
|
||||
#define CONFIG_SHA_PROG_HW_ACCEL
|
||||
#define CONFIG_RSA
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_ESBC_VALIDATE
|
||||
#define CONFIG_CMD_BLOB
|
||||
#define CONFIG_FSL_SEC_MON
|
||||
#define CONFIG_SHA_PROG_HW_ACCEL
|
||||
#define CONFIG_DM
|
||||
|
@ -924,8 +924,4 @@ 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 */
|
||||
|
@ -722,8 +722,4 @@ combinations. this should be removed later
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
@ -567,8 +567,4 @@
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
@ -952,8 +952,4 @@ 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 */
|
||||
|
@ -756,8 +756,4 @@ 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 */
|
||||
|
@ -946,8 +946,4 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif /* __T1024QDS_H */
|
||||
|
@ -958,8 +958,4 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif /* __T1024RDB_H */
|
||||
|
@ -837,8 +837,4 @@ 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 */
|
||||
|
@ -940,8 +940,4 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_rcw.cfg
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
@ -935,9 +935,4 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#undef CONFIG_CMD_USB
|
||||
#endif
|
||||
|
||||
#endif /* __T208xQDS_H */
|
||||
|
@ -891,9 +891,4 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#undef CONFIG_CMD_USB
|
||||
#endif
|
||||
|
||||
#endif /* __T2080RDB_H */
|
||||
|
@ -644,8 +644,4 @@ 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 */
|
||||
|
@ -837,13 +837,4 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
/* Secure Boot target was not getting build for T4240 because of
|
||||
* increased binary size. So the size is being reduced by removing USB
|
||||
* which is anyways not used in Secure Environment.
|
||||
*/
|
||||
#undef CONFIG_CMD_USB
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
@ -765,8 +765,4 @@
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
@ -666,8 +666,4 @@ unsigned long get_board_ddr_clk(void);
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -524,8 +524,4 @@
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
||||
#ifdef CONFIG_SECURE_BOOT
|
||||
#define CONFIG_CMD_BLOB
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user