summaryrefslogtreecommitdiff
path: root/include/configs/socfpga_soc64_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-06-03 16:39:01 +0300
committerTom Rini <trini@konsulko.com>2021-06-23 15:45:03 +0300
commit640e2cd6d4335bd1ec39d284cc913c3b90d608f0 (patch)
treed62de34b9961fafc2de92886cad725c860739466 /include/configs/socfpga_soc64_common.h
parent8f0f26eb59006846348b59e1e9eca98b24cea333 (diff)
downloadu-boot-640e2cd6d4335bd1ec39d284cc913c3b90d608f0.tar.xz
socfpga64: Do not define CONFIG_SYS_MEM_RESERVE_SECURE to 0
Based on the comment in socfpga_soc64_common.h, the intention is for CONFIG_SYS_MEM_RESERVE_SECURE to be unused. However, in the code we do: ... and that will evaluate to true. This leads to unwanted code being compiled. Further, as CONFIG_SYS_MEM_RESERVE_SECURE has not been migrated to Kconfig, this leads to a mismatch in the size of gd depending on if we have or have not also had <configs/BOARD.h> also included yet. Remove the define as it's not needed. Cc: Siew Chin Lim <elly.siew.chin.lim@intel.com> Cc: Chee Hong Ang <chee.hong.ang@intel.com> Cc: Dalon Westergreen <dalon.westergreen@intel.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/socfpga_soc64_common.h')
-rw-r--r--include/configs/socfpga_soc64_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h
index 5afdb10454..38fd775b5b 100644
--- a/include/configs/socfpga_soc64_common.h
+++ b/include/configs/socfpga_soc64_common.h
@@ -21,7 +21,6 @@
/* sysmgr.boot_scratch_cold4 & 5 (64bit) will be used for PSCI_CPU_ON call */
#define CPU_RELEASE_ADDR 0xFFD12210
#define CONFIG_SYS_CACHELINE_SIZE 64
-#define CONFIG_SYS_MEM_RESERVE_SECURE 0 /* using OCRAM, not DDR */
/*
* U-Boot console configurations