]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: imply instead of selecting SPL_SYS_MALLOC_SIMPLE
authorThomas Hebb <tommyhebb@gmail.com>
Fri, 15 Nov 2019 16:48:57 +0000 (08:48 -0800)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 17 Nov 2019 10:51:25 +0000 (18:51 +0800)
We shouldn't force which allocator the SPL uses, since there's no
platform requirement for one over the other: in fact, we currently allow
selection of the TPL allocator but not the SPL one!

Signed-off-by: Thomas Hebb <tommyhebb@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/Kconfig

index 7b80630aa1cf6bcac44d7656946151eee542234c..f96841c77717b176d5bb26f47bb0540fc5700a7f 100644 (file)
@@ -1604,7 +1604,6 @@ config ARCH_ROCKCHIP
        select OF_CONTROL
        select SPI
        select SPL_DM if SPL
-       select SPL_SYS_MALLOC_SIMPLE if SPL
        select SYS_MALLOC_F
        select SYS_THUMB_BUILD if !ARM64
        imply ADC
@@ -1614,6 +1613,7 @@ config ARCH_ROCKCHIP
        imply FAT_WRITE
        imply SARADC_ROCKCHIP
        imply SPL_SYSRESET
+       imply SPL_SYS_MALLOC_SIMPLE
        imply SYS_NS16550
        imply TPL_SYSRESET
        imply USB_FUNCTION_FASTBOOT