summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-03-29 17:29:07 +0200
committerHans de Goede <hdegoede@redhat.com>2016-04-01 09:52:28 +0200
commit8434f0357624ad7345450d8c765264637dfd7cd1 (patch)
tree35e2de73ff95f3acb8280b8df7af4fcb0cec5266
parente6e505b93cb3fd264227c65ae1bfc9e4681555d8 (diff)
sunxi: Depend SPL configs on SUPPORT_SPL
We currently depend SPL config options on specific machine types which doesn't scale. Fortunately there's already a kconfig variable that tells us whether we want to build SPL code at all, so just depend them on this. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--arch/arm/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9851065574..b82ec18445 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -538,8 +538,8 @@ config ARCH_SUNXI
select OF_BOARD_SETUP
select OF_CONTROL
select OF_SEPARATE
- select SPL_STACK_R if !MACH_SUN9I
- select SPL_SYS_MALLOC_SIMPLE if !MACH_SUN9I
+ select SPL_STACK_R if SUPPORT_SPL
+ select SPL_SYS_MALLOC_SIMPLE if SUPPORT_SPL
select SYS_NS16550
select USB
select USB_STORAGE