diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-11-24 20:12:12 +0300 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2010-01-07 18:33:52 -0600 |
commit | 2e95004deb6e33e33bf1b8a92a38cd2115bac4c2 (patch) | |
tree | f36761ada7fdf6663643aba5fdab3411409d2f5e /board/freescale/mpc8315erdb/config.mk | |
parent | 6ca9da4d42aeb43df5ef29f7d0518009df583b2f (diff) | |
download | u-boot-imx-2e95004deb6e33e33bf1b8a92a38cd2115bac4c2.zip u-boot-imx-2e95004deb6e33e33bf1b8a92a38cd2115bac4c2.tar.gz u-boot-imx-2e95004deb6e33e33bf1b8a92a38cd2115bac4c2.tar.bz2 |
mpc83xx: Add NAND boot support for MPC8315E-RDB boards
The core support for NAND booting is there already, so this patch
is pretty straightforward.
There is one trick though: top level Makefile expects nand_spl to
be in nand_spl/board/$(BOARDDIR), but we can fully reuse the code
from mpc8313erdb boards, and so to not duplicate the code we just
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
o silence make during ln echo
o update documentation
o and avoid:
$ ./MAKEALL MPC8315ERDB_NAND
Configuring for MPC8315ERDB board...
sdram.o: In function `fixed_sdram':
/home/r1aaha/git/u-boot/nand_spl/board/freescale/mpc8313erdb/sdram.c:72: undefined reference to `udelay'
by renaming udelay -> __udelay in the spirit of commit
3eb90bad651fab39cffba750ec4421a9c01d60e7 "Generic udelay() with watchdog
support".
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board/freescale/mpc8315erdb/config.mk')
-rw-r--r-- | board/freescale/mpc8315erdb/config.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/mpc8315erdb/config.mk b/board/freescale/mpc8315erdb/config.mk index f768264..bf972fb 100644 --- a/board/freescale/mpc8315erdb/config.mk +++ b/board/freescale/mpc8315erdb/config.mk @@ -1 +1,9 @@ +ifndef NAND_SPL +ifeq ($(CONFIG_MK_NAND), y) +TEXT_BASE = $(CONFIG_RAMBOOT_TEXT_BASE) +endif +endif + +ifndef TEXT_BASE TEXT_BASE = 0xFE000000 +endif |