]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: tegra: fix malloc region sizing
authorStephen Warren <swarren@nvidia.com>
Sat, 5 Sep 2015 04:03:48 +0000 (22:03 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Sep 2015 21:15:24 +0000 (17:15 -0400)
commit99d969612f6e46192b4a963a7e5f8466a884f920
tree5cdfb43490933d90462d48c7075d76668eb6fb1f
parent411c5e57e8cf7dd83627a24b5cde73a0e662b1b0
ARM: tegra: fix malloc region sizing

Commit 52a7c98a1772 "tegra-common: increase malloc pool len by dfu mmc
file buffer size" updated the definition of CONFIG_SYS_MALLOC_LEN for
Tegra to take account of the DFU buffer size. However, this change had
no effect, since typical Tegra board config headers don't set the DFU-
related defines until after tegra-common.h is included. Fix this by
moving the affected conditional code to tegra-common-post.h, which is
included last. Also move the definition of SYS_NONCACHED_MEMORY since
it's a related and adjacent definition.

Fix the condition to test for the DFU feature, rather than specifically
MMC DFU support, so it applies in all cases.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
include/configs/tegra-common-post.h
include/configs/tegra-common.h