This patch series converts mccmon6 to use Driver Model and Device Tree in u-boot proper. As the SPL is size constrained (and most notably the device has a strict boot time requirements) for this board (and uses falcon boot) - its conversion to DM/DTB will be added with separate patch series.
In the SPL/u-boot proper it now uses fitImage instead of legacy uImage and DTB. Some notable changes: - Use fitImage to boot Linux kernel (and also use of SPL's Falcon mode when running from parallel NOR flash) - DTS sync with kernel (tag: v4.20) - Decoupling SPL and u-boot proper for easy SPL DM/DTS conversion - Adding CONFIG_CLK for IMX6Q (reuse clock.c file functions) - Conversion to DM_MMC, DM_SPI, and BLK (u-boot proper) - Removal of DM_USB (as this board is not using it - no connector present) Buildman CI: ./tools/buildman/buildman.py --branch=HEAD imx6 mccmon6 --detail \ --verbose --show_errors --force-build --count=15 \ --output-dir=../BUILD/ Travis-CI: https://travis-ci.org/lmajewski/u-boot-dfu/builds/481605178 Patches applicable on top of TAG: v2019.01 SHA1: d3689267f92c5956e09cc7d1baa4700141662bff as well as newest origin/master: SHA1: f83ef0dac83110d20389eb71f09285f009f3d198 Lukasz Majewski (15): ARM: imx: cosmetic: Remove not needed comment from the mccmon6.h file ARM: imx: config: Disable support for USB on MCCMON6 net: imx: Add support for waiting some time after FEC gpio reset clk: imx: Rename and export get_usdhc_clk() to imx6_get_usdhc_clk() clk: imx: Rename and export get_cspi_clk() to imx6_get_cspi_clk() dm: clk: imx: Add support for controlling imx6q clocks via Driver Model spi: imx: Add support for 'per' clock enabling via driver model ARM: imx: Covnert mccmon6 to use DM/DTS in the u-boot proper ARM: imx: Decouple mccmon6's SPL and u-boot proper code ARM: imx: Disable 1Gbps support on MCCMON6's KSZ9031 PHY Kconfig: Make CMD_SPL_NAND_OFS only available when proper memory is used Kconfig: cosmetic: Update description of CMD_SPL_NAND_OFS Kconfig: Add CMD_SPL_NOR_OFS config for falcon boot argument offset doc: Update parallel NOR flash related information in README.falcon imx: Convert mccmon6 to use fitImage instead of uImage+DTB arch/arm/dts/imx6q-mccmon6.dts | 382 +++++++++++++++++++++++++++++ arch/arm/include/asm/arch-mx6/clock.h | 2 + arch/arm/mach-imx/mx6/Kconfig | 7 + arch/arm/mach-imx/mx6/clock.c | 14 +- board/liebherr/mccmon6/Makefile | 7 +- board/liebherr/mccmon6/mccmon6.c | 446 ---------------------------------- board/liebherr/mccmon6/spl.c | 271 ++++++++++++++++++++- cmd/Kconfig | 12 +- common/spl/spl_nor.c | 5 + configs/mccmon6_nor_defconfig | 40 ++- configs/mccmon6_sd_defconfig | 37 ++- doc/README.falcon | 3 + drivers/clk/imx/Kconfig | 7 + drivers/clk/imx/Makefile | 1 + drivers/clk/imx/clk-imx6q.c | 176 ++++++++++++++ drivers/net/fec_mxc.c | 11 + drivers/net/fec_mxc.h | 1 + drivers/spi/mxc_spi.c | 17 ++ include/configs/mccmon6.h | 83 ++----- 19 files changed, 994 insertions(+), 528 deletions(-) create mode 100644 arch/arm/dts/imx6q-mccmon6.dts create mode 100644 drivers/clk/imx/clk-imx6q.c -- 2.11.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot