Everyone: This series is a number of small patches I developed while adding support for ZII's RPU2 board. Hopefully all of them are self-explanatory. Feedback is welcome! Changes since [v1]: - Renamed flash-header-mx7-default.imxcfg to flash-header-mx7-sabresd.imxcfg Thanks, Andrey Smirnov [v1] http://lists.infradead.org/pipermail/barebox/2018-September/034845.html Andrey Smirnov (6): ARM: i.MX: esdctl: Add memory size detection for i.MX7D ARM: freescale-mx7-sabresd: Make use of imx7d_barebox_entry() i.MX7D: DCD: Create shared DDR configuration header ARM: i.MX7: bbu: Add MMC boot handler ARM: i.MX7: bbu: Add I2C and SPI handler i.MX: Add support for ZII's i.MX7D-based RPU2 board arch/arm/boards/Makefile | 1 + .../flash-header-mx7-sabresd.imxcfg | 79 +-- .../boards/freescale-mx7-sabresd/lowlevel.c | 7 +- arch/arm/boards/zii-imx7d-rpu2/Makefile | 2 + arch/arm/boards/zii-imx7d-rpu2/board.c | 49 ++ .../flash-header-zii-imx7d-rpu2.imxcfg | 6 + arch/arm/boards/zii-imx7d-rpu2/lowlevel.c | 50 ++ arch/arm/dts/Makefile | 2 + arch/arm/dts/imx7d-ddrc.dtsi | 15 + arch/arm/dts/imx7d-zii-rpu2.dts | 613 ++++++++++++++++++ arch/arm/mach-imx/Kconfig | 4 + arch/arm/mach-imx/esdctl.c | 61 ++ arch/arm/mach-imx/imx-bbu-internal.c | 11 + arch/arm/mach-imx/include/mach/bbu.h | 20 + arch/arm/mach-imx/include/mach/esdctl.h | 1 + .../flash-header/imx7d-ddr-sabresd.imxcfg | 78 +++ arch/arm/mach-imx/include/mach/imx7-regs.h | 2 + images/Makefile.imx | 5 + 18 files changed, 923 insertions(+), 83 deletions(-) create mode 100644 arch/arm/boards/zii-imx7d-rpu2/Makefile create mode 100644 arch/arm/boards/zii-imx7d-rpu2/board.c create mode 100644 arch/arm/boards/zii-imx7d-rpu2/flash-header-zii-imx7d-rpu2.imxcfg create mode 100644 arch/arm/boards/zii-imx7d-rpu2/lowlevel.c create mode 100644 arch/arm/dts/imx7d-ddrc.dtsi create mode 100644 arch/arm/dts/imx7d-zii-rpu2.dts create mode 100644 arch/arm/mach-imx/include/mach/flash-header/imx7d-ddr-sabresd.imxcfg -- 2.17.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox