diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-03-19 10:42:55 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-28 13:03:09 (GMT) |
commit | 326a682358c16afcf2c7a9617e9811e72a1f0929 (patch) | |
tree | ace15e23b53dad25225f15f46b5bb3ab4561b30b /configs/mx6qsabreauto_defconfig | |
parent | 91405b7fa9a7e53f238d55a17730933f43871fc1 (diff) | |
download | u-boot-326a682358c16afcf2c7a9617e9811e72a1f0929.tar.xz |
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>
Diffstat (limited to 'configs/mx6qsabreauto_defconfig')
-rw-r--r-- | configs/mx6qsabreauto_defconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/mx6qsabreauto_defconfig b/configs/mx6qsabreauto_defconfig index df09296..ba9e512 100644 --- a/configs/mx6qsabreauto_defconfig +++ b/configs/mx6qsabreauto_defconfig @@ -1,6 +1,5 @@ CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6qsabreauto/imximage.cfg,MX6Q" CONFIG_ARM=y CONFIG_TARGET_MX6QSABREAUTO=y -CONFIG_SYS_MALLOC_F=y CONFIG_DM=y CONFIG_DM_THERMAL=y |