[U-Boot] [PATCH 00/16] i.MX6: Engicam: Move common board code
Stefano Babic
sbabic at denx.de
Thu May 11 11:22:10 UTC 2017
On 06/05/2017 23:12, Jagan Teki wrote:
> From: Jagan Teki <jagan at amarulasolutions.com>
>
> Engicam boards have some common code, so move them as
> (1) SPL board_init_f and UART MUX init to common/spl.c
> (2) board_init, dram_init, board_late_init and mmc_late_init to
> common/board.c
>
> This series also add board_fit_config_name_match to make
> SPL to pick suitable fdt, so reduced few defconifg files.
>
Nice cleanup - no comment from my side.
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
> thanks!
> Jagan.
>
> Jagan Teki (16):
> icorem6: Add modeboot env via board_late_init
> icorem6: Add mmc_late_init
> geam6ul: Add modeboot env via board_late_init
> geam6ul: Add mmc_late_init
> engicam: Set fdt_file env during run-time
> icorem6: Make SPL to pick suitable fdt
> engicam: Move uart mux init to SPL
> icorem6: Use proper iomux_ddr_regs drive strength values
> icorem6: Use drive strength macros
> i.MX6UL: geam6ul: Add SETUP_IOMUX_PADS
> isiot: Fix to use usdhc2_pads for mmc2
> i.MX6UL: isiot: Add SETUP_IOMUX_PADS
> icorem6[_rqs]: Move the spl code common
> geam6/isiot: Move the spl code common
> engicam: common: Move common board code
> engicam: common: Move board_late_init
>
> arch/arm/cpu/armv7/mx6/Kconfig | 6 +
> arch/arm/include/asm/imx-common/iomux-v3.h | 6 +
> board/engicam/common/Makefile | 7 +
> board/engicam/common/board.c | 82 +++++
> board/engicam/common/board.h | 12 +
> board/engicam/common/spl.c | 393 +++++++++++++++++++++
> board/engicam/geam6ul/geam6ul.c | 206 ++---------
> board/engicam/icorem6/MAINTAINERS | 6 +-
> board/engicam/icorem6/icorem6.c | 330 +----------------
> board/engicam/icorem6_rqs/MAINTAINERS | 3 +-
> board/engicam/icorem6_rqs/icorem6_rqs.c | 352 +-----------------
> board/engicam/isiotmx6ul/isiotmx6ul.c | 261 +++-----------
> configs/imx6dl_icore_mmc_defconfig | 44 ---
> configs/imx6dl_icore_nand_defconfig | 45 ---
> configs/imx6dl_icore_rqs_mmc_defconfig | 41 ---
> configs/imx6q_icore_nand_defconfig | 45 ---
> ...e_mmc_defconfig => imx6qdl_icore_mmc_defconfig} | 2 +-
> ...c_defconfig => imx6qdl_icore_rqs_mmc_defconfig} | 2 +-
> configs/imx6ul_geam_mmc_defconfig | 1 -
> configs/imx6ul_geam_nand_defconfig | 1 -
> configs/imx6ul_isiot_emmc_defconfig | 1 -
> configs/imx6ul_isiot_mmc_defconfig | 1 -
> configs/imx6ul_isiot_nand_defconfig | 1 -
> include/configs/imx6qdl_icore.h | 39 +-
> include/configs/imx6qdl_icore_rqs.h | 1 -
> include/configs/imx6ul_geam.h | 38 +-
> include/configs/imx6ul_isiot.h | 1 -
> 27 files changed, 655 insertions(+), 1272 deletions(-)
> create mode 100644 board/engicam/common/Makefile
> create mode 100644 board/engicam/common/board.c
> create mode 100644 board/engicam/common/board.h
> create mode 100644 board/engicam/common/spl.c
> delete mode 100644 configs/imx6dl_icore_mmc_defconfig
> delete mode 100644 configs/imx6dl_icore_nand_defconfig
> delete mode 100644 configs/imx6dl_icore_rqs_mmc_defconfig
> delete mode 100644 configs/imx6q_icore_nand_defconfig
> rename configs/{imx6q_icore_mmc_defconfig => imx6qdl_icore_mmc_defconfig} (96%)
> rename configs/{imx6q_icore_rqs_mmc_defconfig => imx6qdl_icore_rqs_mmc_defconfig} (95%)
>
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list