
This is a repost of the cam_enc_4xx board support patches from http://lists.denx.de/pipermail/u-boot/2011-July/096302.html
changes for v2: - rebased to TOT - support new spl framework - add USB support - add MMC support - add bdinfo command - add board specific nandrbl function for switching between rbl/uboot ecc calculation algorithm
Patches are checkpatch clean
"./MAKEALL -a arm --soc davinci" compiles clean
Also needed patches:
arm, arm926: fix missing symbols in NAND_SPL mode http://patchwork.ozlabs.org/patch/104942/
arm, davinci: replace CONFIG_PRELOADER with CONFIG_SPL_BUILD http://patchwork.ozlabs.org/patch/106983/
arm, logbuffer: make it compileclean http://patchwork.ozlabs.org/patch/114740/
post, arm: make post support for arm compile clean http://patchwork.ozlabs.org/patch/114741/
cosmetic, post: Codingstyle cleanup http://patchwork.ozlabs.org/patch/114742/
arm, post: add missing post_time_ms for arm http://patchwork.ozlabs.org/patch/114743/
Cc: Sandeep Paulraj s-paulraj@ti.com Cc: Albert ARIBAUD albert.u.boot@aribaud.net
Heiko Schocher (10): arm, usb, davinci: make USBPHY_CTL register configurable net, davinci_emac: make clock divider in MDIO control register configurable spl: add option for adding post memory test to the SPL framework arm, davinci: add support for new spl framework spl, nand: add 4bit HW ecc oob first nand_read_page function arm, davinci: add header files for dm365 arm, davinci: add lowlevel function for dm365 soc arm926ejs, davinci: add cpuinfo for dm365 arm926ejs, davinci: add missing spi defines for dm365 arm, davinci: add cam_enc_4xx support
MAINTAINERS | 1 + Makefile | 8 +- arch/arm/cpu/arm926ejs/davinci/Makefile | 8 + arch/arm/cpu/arm926ejs/davinci/cpu.c | 27 +- arch/arm/cpu/arm926ejs/davinci/dm365_lowlevel.c | 466 ++++++++++++++++++++ arch/arm/cpu/arm926ejs/davinci/spl.c | 63 +++ arch/arm/cpu/arm926ejs/davinci/spl_nand.c | 57 +++ arch/arm/cpu/arm926ejs/start.S | 25 +- arch/arm/include/asm/arch-davinci/aintc_defs.h | 50 +++ arch/arm/include/asm/arch-davinci/dm365_lowlevel.h | 43 ++ arch/arm/include/asm/arch-davinci/hardware.h | 15 + arch/arm/include/asm/arch-davinci/pll_defs.h | 84 ++++ arch/arm/include/asm/arch-davinci/psc_defs.h | 129 ++++++ arch/arm/include/asm/arch-davinci/syscfg_defs.h | 66 +++ board/ait/cam_enc_4xx/Makefile | 52 +++ board/ait/cam_enc_4xx/cam_enc_4xx.c | 455 +++++++++++++++++++ board/ait/cam_enc_4xx/config.mk | 13 + board/ait/cam_enc_4xx/u-boot-spl.lds | 73 +++ board/ait/cam_enc_4xx/ublimage.cfg | 48 ++ boards.cfg | 1 + doc/README.SPL | 1 + doc/README.davinci.nand_spl | 141 ++++++ drivers/mtd/nand/nand_spl_simple.c | 43 ++ drivers/net/davinci_emac.c | 9 +- drivers/usb/musb/davinci.c | 6 +- include/configs/cam_enc_4xx.h | 449 +++++++++++++++++++ spl/Makefile | 1 + 27 files changed, 2326 insertions(+), 8 deletions(-) create mode 100644 arch/arm/cpu/arm926ejs/davinci/dm365_lowlevel.c create mode 100644 arch/arm/cpu/arm926ejs/davinci/spl.c create mode 100644 arch/arm/cpu/arm926ejs/davinci/spl_nand.c create mode 100644 arch/arm/include/asm/arch-davinci/aintc_defs.h create mode 100644 arch/arm/include/asm/arch-davinci/dm365_lowlevel.h create mode 100644 arch/arm/include/asm/arch-davinci/pll_defs.h create mode 100644 arch/arm/include/asm/arch-davinci/psc_defs.h create mode 100644 arch/arm/include/asm/arch-davinci/syscfg_defs.h create mode 100644 board/ait/cam_enc_4xx/Makefile create mode 100644 board/ait/cam_enc_4xx/cam_enc_4xx.c create mode 100644 board/ait/cam_enc_4xx/config.mk create mode 100644 board/ait/cam_enc_4xx/u-boot-spl.lds create mode 100644 board/ait/cam_enc_4xx/ublimage.cfg create mode 100644 doc/README.davinci.nand_spl create mode 100644 include/configs/cam_enc_4xx.h