]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
UBI: Add compile-time check for correct malloc area configuration
authorStefan Roese <sr@denx.de>
Thu, 4 Jun 2009 14:55:34 +0000 (16:55 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:47:18 +0000 (20:47 +0200)
commit60cfe87bd39e6f07f2b92eb4bff82bfd105f4724
treec1a617e613e9594651522f30fedb88b4a89e59e3
parent7ce6031afc8671c8b47c6135b3678d43fcd02852
UBI: Add compile-time check for correct malloc area configuration

UBI is quite memory greedy and requires at least approx. 512k of malloc
area. This patch adds a compile-time check, so that boards will not
build with less memory reserved for this area (CONFIG_SYS_MALLOC_LEN).

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/ubi/build.c