summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/fsl_secure_boot.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-13 05:18:23 (GMT)
committerTom Rini <trini@konsulko.com>2016-09-16 21:03:37 (GMT)
commitb63f8a4336a691964529d9cdc38ad32f716b3fa7 (patch)
tree40e2b52017384c990ebffb0b6f9482547bd8d583 /arch/powerpc/include/asm/fsl_secure_boot.h
parentc2ae7d822086fd07386c3a67f76350e749418f66 (diff)
downloadu-boot-b63f8a4336a691964529d9cdc38ad32f716b3fa7.tar.xz
arm: fsl: Adjust ordering of #ifndef CONFIG_SPL_BUILD
The secure boot header files incorrectly define SPL options only if CONFIG_SPL_BUILD is defined. This means that the options are only enabled in an SPL build, and not with a normal 'make xxx_defconfig'. This means that moveconfig.py cannot work, since it sees the options as disabled even when they may be manually enabled in an SPL build. Fix this by changing the order. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_secure_boot.h')
-rw-r--r--arch/powerpc/include/asm/fsl_secure_boot.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/fsl_secure_boot.h b/arch/powerpc/include/asm/fsl_secure_boot.h
index 2e937f0..01255d8 100644
--- a/arch/powerpc/include/asm/fsl_secure_boot.h
+++ b/arch/powerpc/include/asm/fsl_secure_boot.h
@@ -80,12 +80,13 @@
#ifdef CONFIG_CHAIN_OF_TRUST
-#ifdef CONFIG_SPL_BUILD
#define CONFIG_SPL_DM 1
#define CONFIG_SPL_CRYPTO_SUPPORT
#define CONFIG_SPL_HASH_SUPPORT
#define CONFIG_SPL_RSA
#define CONFIG_SPL_DRIVERS_MISC_SUPPORT
+
+#ifdef CONFIG_SPL_BUILD
/*
* PPAACT and SPAACT table for PAMU must be placed on DDR after DDR init
* due to space crunch on CPC and thus malloc will not work.