diff options
author | Wolfgang Denk <wd@denx.de> | 2008-09-12 14:13:12 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-12 14:13:12 (GMT) |
commit | afbc526336447a7357e9c82852df0377d09a8089 (patch) | |
tree | 63360d749d3f02916a1239b3862c68d41d3f3d19 /board/mpl/common/flash.c | |
parent | b476b032562aae5a09985f7e22232a5ee7042746 (diff) | |
parent | deeec4991a55de243787002ede24d2331d234fc8 (diff) | |
download | u-boot-afbc526336447a7357e9c82852df0377d09a8089.tar.xz |
Merge branch 'Makefile-next' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'board/mpl/common/flash.c')
-rw-r--r-- | board/mpl/common/flash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/mpl/common/flash.c b/board/mpl/common/flash.c index eb2702b..b2d4f6f 100644 --- a/board/mpl/common/flash.c +++ b/board/mpl/common/flash.c @@ -256,11 +256,11 @@ unsigned long flash_init (void) p++; } #else /* #if !defined(CONFIG_PATI) */ -#ifdef CFG_ENV_IS_IN_FLASH +#ifdef CONFIG_ENV_IS_IN_FLASH /* ENV protection ON by default */ flash_protect(FLAG_PROTECT_SET, - CFG_ENV_ADDR, - CFG_ENV_ADDR+CFG_ENV_SECT_SIZE-1, + CONFIG_ENV_ADDR, + CONFIG_ENV_ADDR+CONFIG_ENV_SECT_SIZE-1, &flash_info[0]); #endif #endif /* #if !defined(CONFIG_PATI) */ |