aboutsummaryrefslogtreecommitdiff
path: root/board/rbc823
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-07-19 19:37:24 +0200
committerWolfgang Denk <wd@denx.de>2009-07-19 19:37:24 +0200
commit7640f41988a456a0b1f05263d2e2dc5cd7d93984 (patch)
tree3a229c26b6008f54282b1d0b3671890923940c8b /board/rbc823
parent1a4664b53aaf23687b52d64b94be06a9aa260b86 (diff)
downloadu-boot-linaro-stable-7640f41988a456a0b1f05263d2e2dc5cd7d93984.tar.gz
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/rbc823')
-rw-r--r--board/rbc823/rbc823.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/rbc823/rbc823.c b/board/rbc823/rbc823.c
index b2949060c..e10d9f9ff 100644
--- a/board/rbc823/rbc823.c
+++ b/board/rbc823/rbc823.c
@@ -256,6 +256,7 @@ static long int dram_size (long int mamr_value, long int *base,
return (get_ram_size (base, maxsize));
}
+#ifdef CONFIG_CMD_DOC
void doc_init (void)
{
volatile immap_t *immap = (immap_t *) CONFIG_SYS_IMMR;
@@ -267,3 +268,4 @@ void doc_init (void)
doc_probe (FLASH_BASE1_PRELIM);
}
+#endif