omap: spl: fix build break due to changes in FAT
authorAneesh V <aneesh@ti.com>
Fri, 21 Oct 2011 16:29:34 +0000 (12:29 -0400)
committerTom Rini <trini@ti.com>
Thu, 5 Apr 2012 21:32:45 +0000 (14:32 -0700)
commit8fdc26befec0247a8e572e999f351a88d34872e0
tree8b0a19575b58a0c65f7109c5e37a8fdf00aa2404
parent4d961b0a6b9dbe2ffd17516dac9ec9d32199ebf5
omap: spl: fix build break due to changes in FAT

FAT library now uses malloc() and free(). But SPL doesn't
have heap until now. Setup a heap in SDRAM to fix this issue.

However this increases SPL footprint beyond the available SRAM
budget. So, compile out some fancy features in the SDARM init
bring back footprint under control

CC: Sandeep Paulraj <s-paulraj@ti.com>
CC: Wolfgang Denk <wd@denx.de>
Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/armv7/omap-common/spl.c
common/Makefile
include/configs/omap4_common.h