diff options
author | Wolfgang Denk <wd@denx.de> | 2010-10-05 21:17:28 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-18 21:46:37 +0200 |
commit | b6e7bd9740f84d5a81302fb0f0c559823027ebcd (patch) | |
tree | bdbf0ec2f590030477080a226d3ff561ea32297e /include/configs/davinci_sonata.h | |
parent | 439f6f7ec17e267745d6667f9920514fa8da6b58 (diff) |
schmoogie: fix build error due to removal of forceenv()
commit 6d014adf dropped support for the forceenv() function, but failed
to remove references to it from board/davinci/schmoogie/schmoogie.c
Replace forceenv() by setenv() and set CONFIG_ENV_OVERWRITE instead in
the board config file to allow overwriting the serial number.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Sergey Kubushyn <ksi@koi8.net>
Acked-by: Sergey Kubushyn <ksi@koi8.net>
Diffstat (limited to 'include/configs/davinci_sonata.h')
-rw-r--r-- | include/configs/davinci_sonata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/davinci_sonata.h b/include/configs/davinci_sonata.h index 4c0184415f..1746495e9a 100644 --- a/include/configs/davinci_sonata.h +++ b/include/configs/davinci_sonata.h @@ -118,6 +118,7 @@ #define CONFIG_SYS_NAND_CS 2 #undef CONFIG_ENV_IS_IN_FLASH #define CONFIG_SYS_NO_FLASH +#define CONFIG_ENV_OVERWRITE /* instead if obsoleted forceenv() */ #define CONFIG_ENV_IS_IN_NAND /* U-Boot env in NAND Flash */ #define CONFIG_ENV_SECT_SIZE 512 /* Env sector Size */ #define CONFIG_ENV_SIZE (16 << 10) /* 16 KiB */ |