This series adds support for the Utilite Mini Computer. Like several other i.MX6 based boards this one also wants to setup the SDRAM from code rather than from a DCD table. This has previously limited the barebox image size to the internal SRAM size. This series overcomes this limitation. We now create the i.MX image from the pblx image instead of the complete image including payload. With this the ROM code only loads the initial portion to SRAM and we can setup the SDRAM there. Afterwards we have to load the remaining image ourselves, but it turned out require only very little code to load an image from the SPI NOR flash. This series implements this mechanism for i.MX6 on SPI NOR flash only, support for other SoCs and other devices needs to be added to get this working in other cases. Sascha ---------------------------------------------------------------- Sascha Hauer (11): ARM: i.MX6: Add i.MX6 entry function ARM: i.MX6: remove unnecessary includes ARM: i.MX6: add function to get bootsource in pbl memsize: Compile for PBL aswell ARM: i.MX: compile boot.c for pbl aswell ARM: i.MX6: create cpu_is() functions for use in PBL images: i.MX: Create target for SRAM images spi: i.MX: move register defines to include/ ARM: i.MX: Add SPI xload code ARM: i.MX6: Add DDR setup code from U-Boot ARM: initial cm-fx6 support arch/arm/boards/Makefile | 1 + arch/arm/boards/cm-fx6/Makefile | 3 + arch/arm/boards/cm-fx6/board.c | 74 +++ .../boards/cm-fx6/flash-header-mx6-cm-fx6.imxcfg | 3 + arch/arm/boards/cm-fx6/lowlevel.c | 363 ++++++++++++++ arch/arm/boards/datamodul-edm-qmx6/board.c | 1 - arch/arm/boards/dfi-fs700-m60/lowlevel.c | 1 - arch/arm/boards/embest-riotboard/lowlevel.c | 1 - arch/arm/boards/phytec-phycard-imx6/lowlevel.c | 1 - arch/arm/boards/phytec-phyflex-imx6/lowlevel.c | 1 - arch/arm/boards/tqma6x/board.c | 1 - arch/arm/boards/tqma6x/lowlevel.c | 1 - arch/arm/boards/variscite-mx6/lowlevel.c | 1 - arch/arm/configs/imx_v7_defconfig | 1 + arch/arm/dts/Makefile | 1 + arch/arm/dts/imx6q-cm-fx6.dts | 29 ++ arch/arm/dts/imx6q-cm-fx6.dtsi | 99 ++++ arch/arm/dts/imx6q-utilite.dts | 42 ++ arch/arm/dts/imx6qdl-cm-fx6.dtsi | 463 ++++++++++++++++++ arch/arm/mach-imx/Kconfig | 4 + arch/arm/mach-imx/Makefile | 6 +- arch/arm/mach-imx/boot.c | 38 +- arch/arm/mach-imx/esdctl.c | 11 + arch/arm/mach-imx/imx6-mmdc.c | 544 +++++++++++++++++++++ arch/arm/mach-imx/include/mach/esdctl.h | 2 +- arch/arm/mach-imx/include/mach/generic.h | 2 + arch/arm/mach-imx/include/mach/imx6-mmdc.h | 274 +++++++++++ arch/arm/mach-imx/include/mach/imx6.h | 41 +- arch/arm/mach-imx/include/mach/xload.h | 7 + arch/arm/mach-imx/xload-spi.c | 160 ++++++ common/Makefile | 2 +- drivers/spi/imx_spi.c | 80 +-- images/Makefile.imx | 21 + include/spi/imx-spi.h | 83 ++++ 34 files changed, 2230 insertions(+), 132 deletions(-) create mode 100644 arch/arm/boards/cm-fx6/Makefile create mode 100644 arch/arm/boards/cm-fx6/board.c create mode 100644 arch/arm/boards/cm-fx6/flash-header-mx6-cm-fx6.imxcfg create mode 100644 arch/arm/boards/cm-fx6/lowlevel.c create mode 100644 arch/arm/dts/imx6q-cm-fx6.dts create mode 100644 arch/arm/dts/imx6q-cm-fx6.dtsi create mode 100644 arch/arm/dts/imx6q-utilite.dts create mode 100644 arch/arm/dts/imx6qdl-cm-fx6.dtsi create mode 100644 arch/arm/mach-imx/include/mach/xload.h create mode 100644 arch/arm/mach-imx/xload-spi.c create mode 100644 include/spi/imx-spi.h _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox