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>
Showing
- Kconfig 1 addition, 1 deletionKconfig
- arch/arm/cpu/armv7/exynos/Kconfig 0 additions, 3 deletionsarch/arm/cpu/armv7/exynos/Kconfig
- arch/arm/cpu/armv7/omap3/Kconfig 0 additions, 3 deletionsarch/arm/cpu/armv7/omap3/Kconfig
- arch/arm/mach-tegra/Kconfig 0 additions, 3 deletionsarch/arm/mach-tegra/Kconfig
- arch/arm/mach-uniphier/Kconfig 0 additions, 3 deletionsarch/arm/mach-uniphier/Kconfig
- arch/x86/Kconfig 0 additions, 3 deletionsarch/x86/Kconfig
- board/amcc/canyonlands/Kconfig 0 additions, 4 deletionsboard/amcc/canyonlands/Kconfig
- board/ti/am335x/Kconfig 0 additions, 3 deletionsboard/ti/am335x/Kconfig
- configs/Linksprite_pcDuino3_fdt_defconfig 0 additions, 1 deletionconfigs/Linksprite_pcDuino3_fdt_defconfig
- configs/am335x_igep0033_defconfig 0 additions, 1 deletionconfigs/am335x_igep0033_defconfig
- configs/cm_fx6_defconfig 0 additions, 1 deletionconfigs/cm_fx6_defconfig
- configs/cm_t335_defconfig 0 additions, 1 deletionconfigs/cm_t335_defconfig
- configs/mx6dlsabreauto_defconfig 0 additions, 1 deletionconfigs/mx6dlsabreauto_defconfig
- configs/mx6qsabreauto_defconfig 0 additions, 1 deletionconfigs/mx6qsabreauto_defconfig
- configs/mx6qsabresd_defconfig 0 additions, 1 deletionconfigs/mx6qsabresd_defconfig
- configs/mx6sxsabresd_defconfig 0 additions, 1 deletionconfigs/mx6sxsabresd_defconfig
- configs/nokia_rx51_defconfig 0 additions, 1 deletionconfigs/nokia_rx51_defconfig
- configs/pcm051_rev1_defconfig 0 additions, 1 deletionconfigs/pcm051_rev1_defconfig
- configs/pcm051_rev3_defconfig 0 additions, 1 deletionconfigs/pcm051_rev3_defconfig
- configs/pengwyn_defconfig 0 additions, 1 deletionconfigs/pengwyn_defconfig
Loading
Please register or sign in to comment