]> git.sur5r.net Git - u-boot/commitdiff
ARM: uniphier: move CONFIG_SPL_* to defconfig or select
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 20 Sep 2016 05:27:00 +0000 (14:27 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Sep 2016 15:38:38 +0000 (00:38 +0900)
As I repeated in the ML, I am unhappy with config entries with bare
defaults.  Kick them out of arch/arm/mach-uniphier/Kconfig.

Currently, CONFIG_SPL_SERIAL_SUPPORT is not user-configurable
(build fails without it), but it should be fixed later anyway,
so I am moving CONFIG_SPL_SERIAL_SUPPORT to defconfigs.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/Kconfig
arch/arm/mach-uniphier/Kconfig
configs/uniphier_ld11_defconfig
configs/uniphier_ld20_defconfig
configs/uniphier_ld4_sld8_defconfig
configs/uniphier_pro4_defconfig
configs/uniphier_pxs2_ld6b_defconfig
configs/uniphier_sld3_defconfig

index a311215c92bee53b0b6cd274c788bf13a0729c0a..5de3bfcc9f9cd3448e48c409fd0f4ea07256fc7c 100644 (file)
@@ -868,6 +868,8 @@ config ARCH_UNIPHIER
        select PINCTRL
        select SPL
        select SPL_DM
+       select SPL_LIBCOMMON_SUPPORT
+       select SPL_LIBGENERIC_SUPPORT
        select SPL_OF_CONTROL
        select SPL_PINCTRL
        select SUPPORT_SPL
index 2e824bb7b858d3fb0b85f7c26360d5ea547a3120..7bee6c7a299099708080756a4450bc36a291e750 100644 (file)
@@ -1,20 +1,5 @@
 if ARCH_UNIPHIER
 
-config SPL_LIBCOMMON_SUPPORT
-       default y
-
-config SPL_LIBGENERIC_SUPPORT
-       default y
-
-config SPL_MMC_SUPPORT
-       default y if !ARCH_UNIPHIER_64BIT
-
-config SPL_NAND_SUPPORT
-       default y if !ARM64
-
-config SPL_SERIAL_SUPPORT
-       default y
-
 config SYS_CONFIG_NAME
        default "uniphier"
 
index f6578c1025be0baa731c5a1f247a52ac5d6cc165..864e04e6913c199082c3ed9d9aa7566acd362ab8 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_UNIPHIER=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_LD11=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
index b85f528bf88de03b449fb914f19090d5098288a5..3fe37586f0df32fb66dd4509e1a5c32cde131694 100644 (file)
@@ -1,6 +1,7 @@
 CONFIG_ARM=y
 CONFIG_ARCH_UNIPHIER=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_LD20=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
index e996355c92d9ea2061dd05bc31ac378a5016dc2c..c18f04279d4311c1c2b84b5cf6a6e9fd39ce1bcd 100644 (file)
@@ -1,6 +1,9 @@
 CONFIG_ARM=y
 CONFIG_ARCH_UNIPHIER=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_SPL_MMC_SUPPORT=y
+CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_LD4_SLD8=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
index f0f47eec3725946c067c1f4e3688724a4989279a..9441b053f1978cfc920bacd254d1912fb9de67fc 100644 (file)
@@ -1,6 +1,9 @@
 CONFIG_ARM=y
 CONFIG_ARCH_UNIPHIER=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_SPL_MMC_SUPPORT=y
+CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
 CONFIG_DEFAULT_DEVICE_TREE="uniphier-ph1-pro4-ref"
index 64684de395e03f1495005a6dfb1a6a785d0e09ca..0bf39f4e256b033a8216b4130b7f2ca7dffd19d7 100644 (file)
@@ -1,6 +1,9 @@
 CONFIG_ARM=y
 CONFIG_ARCH_UNIPHIER=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_SPL_MMC_SUPPORT=y
+CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_PRO5_PXS2_LD6B=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000
index f4ed2eeca4bc0249e1a034059e79db89dac25e58..bd9c327e92c31f1893645a61abe93606100a99cb 100644 (file)
@@ -1,6 +1,9 @@
 CONFIG_ARM=y
 CONFIG_ARCH_UNIPHIER=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
+CONFIG_SPL_MMC_SUPPORT=y
+CONFIG_SPL_NAND_SUPPORT=y
+CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ARCH_UNIPHIER_SLD3=y
 CONFIG_MICRO_SUPPORT_CARD=y
 CONFIG_SYS_TEXT_BASE=0x84000000