[U-Boot] [PATCH 00/16] i.MX6: Engicam: Move common board code

Jagan Teki jagan at openedev.com
Sat May 6 21:12:59 UTC 2017


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.

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%)

-- 
1.9.1



More information about the U-Boot mailing list