Patchwork Targets\Truxton\Config.lb ( broken compilation due to CBFS enabled by default )

login
register
about
Submitter Arnaud Maye
Date 2009-08-28 09:53:29
Message ID <4A97A919.5040803@4dsp.com>
Download mbox | patch
Permalink /patch/217/
State Accepted
Headers show

Comments

Arnaud Maye - 2009-08-28 09:53:29
Hello,

After a fresh check out of the repository the intel truxton target does 
not compile
anymore. See the patch.

Thank you

Arnaud
Fix broken compilation. As CBFS is now enabled by default,
CONFIG_FALLBACK_SIZE should be equal to CONFIG_ROM_IMAGE_SIZE and not
CONFIG_ROM_SIZE

Signed-off-by: Arnaud Maye <arnaud.maye@4dsp.com>
Cristi Magherusan - 2009-08-28 10:09:06
On Fri, 2009-08-28 at 11:53 +0200, Arnaud Maye wrote:
> Hello,
> 
> After a fresh check out of the repository the intel truxton target does 
> not compile
> anymore. See the patch.
> 
> Thank you
> 
> Arnaud
> 
> plain text document attachment (truxton.target.config.lb.patch)
> Fix broken compilation. As CBFS is now enabled by default,
> CONFIG_FALLBACK_SIZE should be equal to CONFIG_ROM_IMAGE_SIZE and not
> CONFIG_ROM_SIZE
> 
> Signed-off-by: Arnaud Maye <arnaud.maye@4dsp.com>
>

Patch

Index: intel/truxton/Config.lb
===================================================================
--- intel/truxton/Config.lb	(revision 4604)
+++ intel/truxton/Config.lb	(working copy)
@@ -30,7 +30,7 @@ 
 
 ## CONFIG_FALLBACK_SIZE is the amount of the ROM the complete fallback image
 ## (including payload) will use
-option CONFIG_FALLBACK_SIZE = CONFIG_ROM_SIZE
+option CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
 
 romimage "fallback"
 	option CONFIG_USE_FALLBACK_IMAGE=1