summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/uniphier/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-05 14:42:58 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-07 00:15:03 +0900
commit6c45ef4b948abd92f299d4ca1ab99c9cdea6bf8e (patch)
tree40d96a70a993698b591926ad92102bfcef076579 /arch/arm/cpu/armv7/uniphier/Kconfig
parentdc4057eb8195e1b89f744ac50a1afd1a03c99395 (diff)
downloadtalos-obmc-uboot-6c45ef4b948abd92f299d4ca1ab99c9cdea6bf8e.tar.gz
talos-obmc-uboot-6c45ef4b948abd92f299d4ca1ab99c9cdea6bf8e.zip
ARM: UniPhier: do not compile unnecessary objects
It is true that unused functions are removed from the ELF image by the compiler's garbage collection but relying on it too much does not look nice. Currently, the build is taking more than it should. Refactor the makefiles to compile only files that are really needed. CONFIG_SOC_INIT and CONFIG_DRAM_INIT are no longer needed by the optimization. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/cpu/armv7/uniphier/Kconfig')
-rw-r--r--arch/arm/cpu/armv7/uniphier/Kconfig11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/arm/cpu/armv7/uniphier/Kconfig b/arch/arm/cpu/armv7/uniphier/Kconfig
index 0556e4b350..5c5a84fe56 100644
--- a/arch/arm/cpu/armv7/uniphier/Kconfig
+++ b/arch/arm/cpu/armv7/uniphier/Kconfig
@@ -50,21 +50,12 @@ endchoice
config CMD_PINMON
bool "Enable boot mode pins monitor command"
- depends on !SPL_BUILD
default y
help
The command "pinmon" shows the state of the boot mode pins.
The boot mode pins are latched when the system reset is deasserted
and determine which device the system should load a boot image from.
-config SOC_INIT
- bool
- default SPL_BUILD
-
-config DRAM_INIT
- bool
- default SPL_BUILD
-
config CMD_DDRPHY_DUMP
bool "Enable dump command of DDR PHY parameters"
depends on !SPL_BUILD
@@ -74,7 +65,7 @@ config CMD_DDRPHY_DUMP
choice
prompt "DDR3 Frequency select"
- depends on DRAM_INIT
+ depends on SPL_BUILD
config DDR_FREQ_1600
bool "DDR3 1600"
OpenPOWER on IntegriCloud