-
- Downloads
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 3eb90bad "Generic udelay() with watchdog support". Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
Showing
- MAKEALL 1 addition, 0 deletionsMAKEALL
- Makefile 5 additions, 1 deletionMakefile
- board/freescale/mpc8315erdb/config.mk 8 additions, 0 deletionsboard/freescale/mpc8315erdb/config.mk
- board/freescale/mpc8315erdb/mpc8315erdb.c 42 additions, 0 deletionsboard/freescale/mpc8315erdb/mpc8315erdb.c
- board/freescale/mpc8315erdb/sdram.c 8 additions, 1 deletionboard/freescale/mpc8315erdb/sdram.c
- doc/README.mpc8315erdb 27 additions, 2 deletionsdoc/README.mpc8315erdb
- include/configs/MPC8315ERDB.h 76 additions, 19 deletionsinclude/configs/MPC8315ERDB.h
Loading
Please register or sign in to comment