Exit building if romstage.bin is larger than size of XIP
authorzbao <fishbaozi@gmail.com>
Fri, 17 Feb 2012 13:44:09 +0000 (21:44 +0800)
committerMarc Jones <marcj303@gmail.com>
Fri, 17 Feb 2012 16:45:23 +0000 (17:45 +0100)
commit93dd07f3d5ee1726b79e26644ff245fe8b5aaef7
tree60271c020933d285bef223c2a057f2d9ffafb753
parent6d6d18efe859875c5fc35cabb5e977fe6841c771
Exit building if romstage.bin is larger than size of XIP

When the romstage.bin becomes bigger than the size of XIP, the
cbfstool can not allocate the romstage in the CBFS. But it doesn't
report an error. It will take quite a while to find out the root
cause.

Change-Id: I5be2a46a8b57934f14c5a0d4596f3bec4251e0aa
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/650
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
src/arch/x86/Makefile.inc
util/cbfstool/cbfstool.c