powerpc: add CONFIG_SECURE_BOOT condition into fsl_secure_boot.h
authorPo Liu <po.liu@freescale.com>
Wed, 21 Aug 2013 06:20:21 +0000 (14:20 +0800)
committerYork Sun <yorksun@freescale.com>
Wed, 16 Oct 2013 23:13:10 +0000 (16:13 -0700)
This patch is for board config file not to add CONFIG_SECURE_BOOT
condition for include the asm/fsl_secure_boot.h.

Signed-off-by: Po Liu <Po.Liu@freescale.com>
arch/powerpc/include/asm/fsl_secure_boot.h
include/configs/B4860QDS.h
include/configs/P1010RDB.h
include/configs/P2041RDB.h
include/configs/T4240QDS.h
include/configs/corenet_ds.h

index c36f3c388ae6481f73922c7bc60ae41074e82ad6..4c7f0b1caeea36432e87a266d2b698202beac685 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef __FSL_SECURE_BOOT_H
 #define __FSL_SECURE_BOOT_H
 
+#ifdef CONFIG_SECURE_BOOT
 #if defined(CONFIG_FSL_CORENET)
 #define CONFIG_SYS_PBI_FLASH_BASE              0xc0000000
 #else
@@ -15,3 +16,4 @@
 #define CONFIG_SYS_PBI_FLASH_WINDOW            0xcff80000
 
 #endif
+#endif
index 2f0bc6b062b325e2f35282e378bbad0201ed1d1a..aa62d94eacb159a2c49c6b8668de5e82b9f623bf 100644 (file)
@@ -841,8 +841,6 @@ unsigned long get_board_ddr_clk(void);
 
 #define CONFIG_BOOTCOMMAND             CONFIG_LINUX
 
-#ifdef CONFIG_SECURE_BOOT
 #include <asm/fsl_secure_boot.h>
-#endif
 
 #endif /* __CONFIG_H */
index ba3f7c282196a174b9a4653b0a22627ef62b5513..c058613ebe4a1821dd4cb0e2da5ecdf7fabe34ac 100644 (file)
@@ -759,8 +759,6 @@ extern unsigned long get_sdram_size(void);
 
 #define CONFIG_BOOTCOMMAND CONFIG_RAMBOOTCOMMAND
 
-#ifdef CONFIG_SECURE_BOOT
 #include <asm/fsl_secure_boot.h>
-#endif
 
 #endif /* __CONFIG_H */
index 862614b5c25b3d6fbf8c8bc7d1e65b9c3483b652..2c4159b333561e1e65574a9616f3b27d9f9cf8b8 100644 (file)
@@ -746,8 +746,6 @@ unsigned long get_board_sys_clk(unsigned long dummy);
 
 #define CONFIG_BOOTCOMMAND             CONFIG_HDBOOT
 
-#ifdef CONFIG_SECURE_BOOT
 #include <asm/fsl_secure_boot.h>
-#endif
 
 #endif /* __CONFIG_H */
index 92a30ab09fc95e44255d9395470eb3d33872f483..590799cf59f50ad9e576bd4ad7adc42dc17677f4 100644 (file)
@@ -553,8 +553,6 @@ unsigned long get_board_ddr_clk(void);
 
 #define CONFIG_BOOTCOMMAND             CONFIG_LINUX
 
-#ifdef CONFIG_SECURE_BOOT
 #include <asm/fsl_secure_boot.h>
-#endif
 
 #endif /* __CONFIG_H */
index c3fb80c8d056b174dd271b7f1406004ce5909f3d..966b0ab6b9359d97774d5e373d64f0f74d5581b0 100644 (file)
 
 #define CONFIG_BOOTCOMMAND             CONFIG_HDBOOT
 
-#ifdef CONFIG_SECURE_BOOT
 #include <asm/fsl_secure_boot.h>
-#endif
 
 #endif /* __CONFIG_H */