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)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 27 Oct 2011 19:56:35 +0000 (21:56 +0200)
commit2d01dd953a269e5fc27e04cb8571e0d8d81c7c4a
treea11c87dc6b9a6cad090a01455cb6269f39eaa0ee
parentcc3f7058435c94acaaf9111340437a0a4c018de6
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