summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPo Liu <po.liu@freescale.com>2013-08-21 14:20:21 +0800
committerYork Sun <yorksun@freescale.com>2013-10-16 16:13:10 -0700
commit0d2cff2d9eddfd1e7f60f76889b65b931cb25237 (patch)
tree02e9ca94579981280c9942ab78ef6c45ddc733ec /arch
parent183acb700378a8cfc5d50a01a65de93fb2c24586 (diff)
downloadu-boot-0d2cff2d9eddfd1e7f60f76889b65b931cb25237.tar.gz
u-boot-0d2cff2d9eddfd1e7f60f76889b65b931cb25237.tar.bz2
u-boot-0d2cff2d9eddfd1e7f60f76889b65b931cb25237.zip
powerpc: add CONFIG_SECURE_BOOT condition into fsl_secure_boot.h
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/include/asm/fsl_secure_boot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_secure_boot.h b/arch/powerpc/include/asm/fsl_secure_boot.h
index c36f3c388a..4c7f0b1cae 100644
--- a/arch/powerpc/include/asm/fsl_secure_boot.h
+++ b/arch/powerpc/include/asm/fsl_secure_boot.h
@@ -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