summaryrefslogtreecommitdiff
path: root/board/vpac270/vpac270.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/vpac270/vpac270.c')
-rw-r--r--board/vpac270/vpac270.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/vpac270/vpac270.c b/board/vpac270/vpac270.c
index cf8e7b6..d90a859 100644
--- a/board/vpac270/vpac270.c
+++ b/board/vpac270/vpac270.c
@@ -57,7 +57,9 @@ struct serial_device *default_serial_console(void)
extern void pxa_dram_init(void);
int dram_init(void)
{
+#ifndef CONFIG_ONENAND
pxa_dram_init();
+#endif
gd->ram_size = PHYS_SDRAM_1_SIZE;
return 0;
}