diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-10-31 14:17:21 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-06 23:59:32 +0100 |
commit | 411b9eaf554225c12ca253473002d0381cfec4ff (patch) | |
tree | 739046e4ca2b76a80eb57370c7230f26fb997fa4 /board/vpac270/vpac270.c | |
parent | 496471df9e8a4216386d4e43b95e531f0ca7f140 (diff) | |
download | u-boot-imx-411b9eaf554225c12ca253473002d0381cfec4ff.zip u-boot-imx-411b9eaf554225c12ca253473002d0381cfec4ff.tar.gz u-boot-imx-411b9eaf554225c12ca253473002d0381cfec4ff.tar.bz2 |
PXA: Adapt Voipac PXA270 to OneNAND SPL
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
V2: Add missing u-boot-spl.lds, convert bitshifts to division,
convert to spl_onenand_load_image()
Diffstat (limited to 'board/vpac270/vpac270.c')
-rw-r--r-- | board/vpac270/vpac270.c | 2 |
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; } |