]> git.sur5r.net Git - u-boot/commitdiff
armv8: ls2080a: Move CONFIG_SYS_MC_RSV_MEM_ALIGN to Kconfig
authorYork Sun <york.sun@nxp.com>
Mon, 6 Mar 2017 17:02:26 +0000 (09:02 -0800)
committerYork Sun <york.sun@nxp.com>
Tue, 14 Mar 2017 15:44:03 +0000 (08:44 -0700)
Use Kconfig option instead of config macro in header file.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
include/configs/ls2080a_common.h
scripts/config_whitelist.txt

index 1a8a345dcce5d1fce97f54e19b2c175c250263ee..a99b1c6a99b2ce036c9c4b5c430d06c5392d5907 100644 (file)
@@ -315,3 +315,11 @@ config SYS_FSL_ERRATUM_A009660
 
 config SYS_FSL_ERRATUM_A009929
        bool
+
+config SYS_MC_RSV_MEM_ALIGN
+       hex "Management Complex reserved memory alignment"
+       depends on RESV_RAM
+       default 0x20000000
+       help
+         Reserved memory needs to be aligned for MC to use. Default value
+         is 512MB.
index b702b4b5a91f3ff16083dfec6637d055df25ad2b..816d7f5a4c90e99c50805ad5051a3b21e9e66c81 100644 (file)
@@ -158,7 +158,6 @@ unsigned long long get_qixis_addr(void);
  */
 #ifdef CONFIG_FSL_MC_ENET
 #define CONFIG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE           (512UL * 1024 * 1024)
-#define CONFIG_SYS_MC_RSV_MEM_ALIGN                    (512UL * 1024 * 1024)
 #endif
 
 /* Command line configuration */
index 8aa013a51a5126f8c8a0bdcea655ced252f7ee7f..c4e5eb4691864d74fb26971b768b6d5c7d8fc6d9 100644 (file)
@@ -4975,7 +4975,6 @@ CONFIG_SYS_MCKR_VAL
 CONFIG_SYS_MCLINK_MAX
 CONFIG_SYS_MCMEM0_VAL
 CONFIG_SYS_MCMEM1_VAL
-CONFIG_SYS_MC_RSV_MEM_ALIGN
 CONFIG_SYS_MDC1_PIN
 CONFIG_SYS_MDCNFG_VAL
 CONFIG_SYS_MDC_PIN