[U-Boot] Breakage on arm/next

Tom Tom.Rix at windriver.com
Sat Nov 28 04:48:52 CET 2009


In rebasing arm/next against u-boot/next.
There is a general error with targets that use onenand.
This includes the targets
nk8815_onenand
omap3_evm
smdkc100

The error message is

env_onenand.c: In function 'env_relocate_spec':
env_onenand.c:70: error: 'CONFIG_ENV_ADDR_FLEX' undeclared (first use in this 
function)
env_onenand.c:70: error: (Each undeclared identifier is reported only once
env_onenand.c:70: error: for each function it appears in.)
env_onenand.c: In function 'saveenv':
env_onenand.c:106: error: 'CONFIG_ENV_ADDR_FLEX' undeclared (first use in this 
function)
env_onenand.c:107: error: 'CONFIG_ENV_SIZE_FLEX' undeclared (first use in this 
function)

I believe the error is from

commit c758e947aa7d39a2be607ecdedd818ad300807b2
Author: Amul Kumar Saha <amul.saha at samsung.com>
Date:   Wed Nov 4 10:38:46 2009 +0530

     ENV Variable support for Flex-OneNAND

     Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX
     for storing environment variables.

     Signed-off-by: Rohit Hagargundgi <h.rohit at samsung.com>
     Signed-off-by: Amul Kumar Saha <amul.saha at samsung.com>

In general MAKEALL should be used to regression test your changes.

Please send a patch for this problem as soon as possible.
Tom



More information about the U-Boot mailing list