The am33xx code currently contains a number of details specific to the ti(-derived) boards in the common code. This series restructures the arch code to make it possible to add other boards.
This series does not yet any new boards, as the board I'm working on is using nand flash, and omap_gpmc hasn't been updated for bch8 / elm support yet. I've started looking at it, but no code so far. Instead it has been tested on Beaglebone. Changes since v1: - Rebased against u-boot-ti - Take Tom Rini's feedback into account - evm.{c,h} -> board.{c,h} - use DDR part numbers in defines and leave in ddr_defs.h (without MICRON_ prefix to stay < 80 chars) Peter Korsgaard (6): am33xx/board.c: make wdtimer/uart_base static am33xx: move ti i2c baseboard header handling to board/ti/am335x/ am33xx/board: use cpu_mmc_init() for default mmc initialization am33xx: move generic parts of pinmux handling out from board/ti/am335x am33xx: support board specific ddr settings am33xx/ddr_defs.h: rename DDR2/DDR3 defines to their actual part numbers arch/arm/cpu/armv7/am33xx/Makefile | 1 + arch/arm/cpu/armv7/am33xx/board.c | 244 +----------------- arch/arm/cpu/armv7/am33xx/emif4.c | 114 +-------- arch/arm/cpu/armv7/am33xx/mux.c | 33 +++ arch/arm/include/asm/arch-am33xx/ddr_defs.h | 69 +++--- arch/arm/include/asm/arch-am33xx/mux.h | 261 ++++++++++++++++++++ arch/arm/include/asm/arch-am33xx/sys_proto.h | 27 -- board/ti/am335x/Makefile | 1 + .../cpu/armv7/am33xx => board/ti/am335x}/board.c | 138 +++++++---- .../sys_proto.h => board/ti/am335x/board.h | 24 +- board/ti/am335x/mux.c | 250 +------------------ 11 files changed, 447 insertions(+), 715 deletions(-) create mode 100644 arch/arm/cpu/armv7/am33xx/mux.c create mode 100644 arch/arm/include/asm/arch-am33xx/mux.h copy {arch/arm/cpu/armv7/am33xx => board/ti/am335x}/board.c (64%) copy arch/arm/include/asm/arch-am33xx/sys_proto.h => board/ti/am335x/board.h (75%) -- 1.7.10.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot