This patch series imports the necessary infrastructure out of the at91bootstrap project to support first stage usage on the SAMA5. This is leveraged to implement first stage boot on the SAMA5D3 based Microchip KSZ9477-EVB. Ahmad Fatoum (11): ARM: at91: clk: prune never-compiled h32mx code ARM: at91: sama5d3: remove never referenced empty header file ARM: at91: replace at91sam9_ddrsdr.h with at91bootstrap's ARM: at91: watchdog: implement at91_wdt_disable ARM: at91: import lowlevel clock initialization from at91bootstrap ARM: at91: import early_udelay from at91bootstrap ARM: at91: import low level DDRAMC initialization code from at91bootstrap ARM: at91: import lowlevel dbgu UART init code from at91bootstrap ARM: at91: microchip-ksz9477-evb: reintroduce board code for first stage ARM: at91: microchip-ksz9477-evb: import low level init from at91bootstrap ARM: at91: microchip-ksz9477-evb: add first stage MMC defconfig arch/arm/boards/at91sam9m10g45ek/lowlevel.c | 2 +- arch/arm/boards/at91sam9m10ihd/lowlevel.c | 2 +- arch/arm/boards/at91sam9n12ek/lowlevel.c | 2 +- arch/arm/boards/at91sam9x5ek/lowlevel.c | 2 +- .../arm/boards/microchip-ksz9477-evb/Makefile | 3 + arch/arm/boards/microchip-ksz9477-evb/init.c | 143 +++++ .../boards/microchip-ksz9477-evb/lowlevel.c | 196 ++++++- arch/arm/boards/pm9g45/lowlevel.c | 3 +- arch/arm/boards/sama5d3_xplained/lowlevel.c | 2 +- arch/arm/boards/sama5d3xek/lowlevel.c | 2 +- arch/arm/boards/sama5d4_xplained/lowlevel.c | 2 +- arch/arm/boards/sama5d4ek/lowlevel.c | 2 +- .../configs/microchip_ksz9477_evb_defconfig | 1 + ...chip_ksz9477_evb_first_stage_mmc_defconfig | 22 + arch/arm/dts/Makefile | 2 +- arch/arm/mach-at91/Kconfig | 18 +- arch/arm/mach-at91/Makefile | 3 + arch/arm/mach-at91/at91sam9g45_devices.c | 2 +- arch/arm/mach-at91/at91sam9g45_reset.S | 8 +- arch/arm/mach-at91/at91sam9n12_devices.c | 2 +- arch/arm/mach-at91/at91sam9x5_devices.c | 2 +- arch/arm/mach-at91/ddramc.c | 518 ++++++++++++++++++ arch/arm/mach-at91/early_udelay.c | 61 +++ arch/arm/mach-at91/include/mach/at91_dbgu.h | 57 +- .../arm/mach-at91/include/mach/at91_ddrsdrc.h | 426 ++++++++++++++ .../include/mach/at91_lowlevel_clock.h | 30 + arch/arm/mach-at91/include/mach/at91_pmc.h | 24 +- arch/arm/mach-at91/include/mach/at91_wdt.h | 16 + .../mach-at91/include/mach/at91sam9_ddrsdr.h | 264 --------- arch/arm/mach-at91/include/mach/ddramc.h | 35 ++ .../arm/mach-at91/include/mach/early_udelay.h | 13 + arch/arm/mach-at91/include/mach/sama5d3.h | 1 + .../mach-at91/include/mach/sama5d3_matrix.h | 15 - arch/arm/mach-at91/lowlevel_clock.c | 164 ++++++ arch/arm/mach-at91/sama5d3_devices.c | 2 +- arch/arm/mach-at91/sama5d4_devices.c | 2 +- drivers/clk/at91/Makefile | 1 - drivers/clk/at91/clk-h32mx.c | 125 ----- 38 files changed, 1739 insertions(+), 436 deletions(-) create mode 100644 arch/arm/boards/microchip-ksz9477-evb/init.c create mode 100644 arch/arm/configs/microchip_ksz9477_evb_first_stage_mmc_defconfig create mode 100644 arch/arm/mach-at91/ddramc.c create mode 100644 arch/arm/mach-at91/early_udelay.c create mode 100644 arch/arm/mach-at91/include/mach/at91_ddrsdrc.h create mode 100644 arch/arm/mach-at91/include/mach/at91_lowlevel_clock.h delete mode 100644 arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h create mode 100644 arch/arm/mach-at91/include/mach/ddramc.h create mode 100644 arch/arm/mach-at91/include/mach/early_udelay.h delete mode 100644 arch/arm/mach-at91/include/mach/sama5d3_matrix.h create mode 100644 arch/arm/mach-at91/lowlevel_clock.c delete mode 100644 drivers/clk/at91/clk-h32mx.c -- 2.20.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox