• Anton Vorontsov's avatar
    mpc83xx: Add NAND boot support for MPC8315E-RDB boards · 2e95004d
    Anton Vorontsov authored
    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: default avatarAnton 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: default avatarKim Phillips <kim.phillips@freescale.com>
    2e95004d
Name
Last commit
Last update
api Loading commit data...
board Loading commit data...
common Loading commit data...
cpu Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib_arm Loading commit data...
lib_avr32 Loading commit data...
lib_blackfin Loading commit data...
lib_generic Loading commit data...
lib_i386 Loading commit data...
lib_m68k Loading commit data...
lib_microblaze Loading commit data...
lib_mips Loading commit data...
lib_nios Loading commit data...
lib_nios2 Loading commit data...
lib_ppc Loading commit data...
lib_sh Loading commit data...
lib_sparc Loading commit data...
libfdt Loading commit data...
nand_spl Loading commit data...
net Loading commit data...
onenand_ipl Loading commit data...
post Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
CHANGELOG Loading commit data...
CHANGELOG-before-U-Boot-1.1.5 Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
MAINTAINERS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
config.mk Loading commit data...
mkconfig Loading commit data...
rules.mk Loading commit data...