sunxi: Depend SPL configs on SUPPORT_SPL
authorAlexander Graf <agraf@suse.de>
Tue, 29 Mar 2016 15:29:07 +0000 (17:29 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 1 Apr 2016 07:52:28 +0000 (09:52 +0200)
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>
arch/arm/Kconfig

index 985106557450bc7594f9d1ed00a1aaeaadcfac4b..b82ec18445c8ab7da4c3f701cee4d8cb63943b8e 100644 (file)
@@ -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