Hi, this is v4 of the first part of my recent patchset [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI http://lists.denx.de/pipermail/u-boot/2011-November/111182.html
Changes for v4: - split the patchset since its getting quite big, this here is the pinmuxing part - added the Acked-bys Changes for v3: - removed definition of variables from header files (pinmux configs), added .c file for these definitions instead - split large patches into smaller ones - moving the pinmux definitions for da830 is not included anymore, I'll do this later in a separate patch Major changes for v2: - Added header files that contain the definition of the pinmux structs. Patch #1 moves the pinmux configuration functions from board/davinci/common to arch/arm/cpu/arm926ejs/davinci. The second patch and the third patch do some minor cleanups for the hawkboard and the da850evm. The 4th patch adds definitions of common pinmux configurations for the da850 SoC. Patches #5 and #6 make the da850evm and the hawkboard use these common configurations. Finally, the 7th patch removes the duplication of pinmux configuration code in arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c. Regards, Christian Cc: Sandeep Paulraj <s-paul...@ti.com> Cc: Heiko Schocher <h...@denx.de> Christian Riesch (7): arm, davinci: Move pinmux functions from board to arch tree arm, hawkboard: Remove obsolete struct pinmux_config i2c_pins arm, da850evm: Do pinmux configuration for EMAC together with other pinmuxes arm, da850: Add pinmux configurations to the arch tree arm, da850evm: Use the pinmux configurations defined in the arch tree arm, hawkboard: Use the pinmux configurations defined in the arch tree arm, davinci: Remove duplication of pinmux configuration code arch/arm/cpu/arm926ejs/davinci/Makefile | 3 +- arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c | 36 +---- arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c | 166 ++++++++++++++++++++ .../arm/cpu/arm926ejs/davinci/pinmux.c | 0 arch/arm/include/asm/arch-davinci/hardware.h | 2 + arch/arm/include/asm/arch-davinci/pinmux_defs.h | 50 ++++++ board/davinci/common/Makefile | 2 +- board/davinci/da8xxevm/da830evm.c | 2 - board/davinci/da8xxevm/da850evm.c | 159 +++---------------- board/davinci/da8xxevm/hawkboard_nand_spl.c | 59 +------ board/davinci/ea20/ea20.c | 2 - include/configs/da850_am18xxevm.h | 1 + include/configs/da850evm.h | 1 + include/configs/hawkboard.h | 1 + nand_spl/board/davinci/da8xxevm/Makefile | 11 +- 15 files changed, 275 insertions(+), 220 deletions(-) create mode 100644 arch/arm/cpu/arm926ejs/davinci/da850_pinmux.c rename board/davinci/common/davinci_pinmux.c => arch/arm/cpu/arm926ejs/davinci/pinmux.c (100%) create mode 100644 arch/arm/include/asm/arch-davinci/pinmux_defs.h _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot