diff options
author | Wolfgang Denk <wd@denx.de> | 2009-07-19 19:37:24 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-19 19:37:24 +0200 |
commit | 7640f41988a456a0b1f05263d2e2dc5cd7d93984 (patch) | |
tree | 3a229c26b6008f54282b1d0b3671890923940c8b /board/bmw | |
parent | 1a4664b53aaf23687b52d64b94be06a9aa260b86 (diff) | |
download | u-boot-7640f41988a456a0b1f05263d2e2dc5cd7d93984.tar.gz u-boot-7640f41988a456a0b1f05263d2e2dc5cd7d93984.tar.bz2 u-boot-7640f41988a456a0b1f05263d2e2dc5cd7d93984.zip |
Fix boards broken after removal of legacy NAND and DoC support
Commit 2419169f removed support for legacy NAND and disk on chip but
missed to update the code for a few boards. This patch fixes the
resulting build issues.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/bmw')
-rw-r--r-- | board/bmw/bmw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/bmw/bmw.c b/board/bmw/bmw.c index 870011e6fc..4039145e43 100644 --- a/board/bmw/bmw.c +++ b/board/bmw/bmw.c @@ -117,6 +117,7 @@ sys_led_msg(char* msg) LED_REG(3) = msg[0]; } +#ifdef CONFIG_CMD_DOC /* * Map onboard TSOP-16MB DOC FLASH chip. */ @@ -124,6 +125,7 @@ void doc_init (void) { doc_probe(DOC_BASE_ADDR); } +#endif #define NV_ADDR ((volatile unsigned char *) CONFIG_ENV_ADDR) |