]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
malloc_f: enable SYS_MALLOC_F by default if DM is on
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 19 Mar 2015 10:42:55 +0000 (19:42 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:34:19 +0000 (14:34 +0200)
commit971e7758e9d53d64f98c1db1ce0a01d5513d9e6a
treed2edd12ca1d3b2b7ed607dc585694b385c1aadf7
parentedc9a6dd045a2e35c68b8cfe71367c197603ed3a
malloc_f: enable SYS_MALLOC_F by default if DM is on

This option has a bool type, not hex.
Fix it and enable it if CONFIG_DM is on because Driver Model always
requires malloc memory.  Devices are scanned twice, before/after
relocation.  CONFIG_SYS_MALLOC_F should be enabled to use malloc
memory before relocation.  As it is board-independent, handle it
globally.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Robert Baldyga <r.baldyga@samsung.com>
30 files changed:
Kconfig
arch/arm/cpu/armv7/exynos/Kconfig
arch/arm/cpu/armv7/omap3/Kconfig
arch/arm/mach-tegra/Kconfig
arch/arm/mach-uniphier/Kconfig
arch/x86/Kconfig
board/amcc/canyonlands/Kconfig
board/ti/am335x/Kconfig
configs/Linksprite_pcDuino3_fdt_defconfig
configs/am335x_igep0033_defconfig
configs/cm_fx6_defconfig
configs/cm_t335_defconfig
configs/mx6dlsabreauto_defconfig
configs/mx6qsabreauto_defconfig
configs/mx6qsabresd_defconfig
configs/mx6sxsabresd_defconfig
configs/nokia_rx51_defconfig
configs/pcm051_rev1_defconfig
configs/pcm051_rev3_defconfig
configs/pengwyn_defconfig
configs/pepper_defconfig
configs/rpi_2_defconfig
configs/rpi_defconfig
configs/s5p_goni_defconfig
configs/sandbox_defconfig
configs/smdkc100_defconfig
configs/snapper9260_defconfig
configs/snapper9g20_defconfig
configs/stv0991_defconfig
include/configs/rcar-gen2-common.h