This series adds the initial support for Allwinner, currently only targetting the Pine64+ board, based on the A64 SoC. This first series is intented as a second boot image only, that can be started from u-boot. This series provides the bare minimal so barebox can load the next OS from sd/mmc. Jules Maselbas (6): clk: clk-composite: fix callback guard in clk_composite_round_rate clk: divider: add error code propagation clk: Add clock driver for sun50i-a64 pinctrl: Add sun50i-a64 pinctrl driver mci: Add sunxi-mmc driver ARM: sunxi: Introduce mach-sunxi arch/arm/Kconfig | 14 + arch/arm/Makefile | 1 + arch/arm/configs/sunxi_v8_defconfig | 12 + arch/arm/mach-sunxi/Kconfig | 12 + arch/arm/mach-sunxi/Makefile | 1 + arch/arm/mach-sunxi/common.c | 0 drivers/clk/Makefile | 1 + drivers/clk/clk-composite.c | 2 +- drivers/clk/clk-divider.c | 5 +- drivers/clk/sunxi/Makefile | 2 + drivers/clk/sunxi/clk-sun50i-a64.c | 325 +++++++++++ drivers/clk/sunxi/clk-sun50i-a64.h | 62 +++ drivers/mci/Kconfig | 6 + drivers/mci/Makefile | 2 + drivers/mci/sunxi-mmc-common.c | 246 +++++++++ drivers/mci/sunxi-mmc-pbl.c | 81 +++ drivers/mci/sunxi-mmc.c | 181 +++++++ drivers/mci/sunxi-mmc.h | 221 ++++++++ drivers/pinctrl/Kconfig | 2 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/sunxi/Kconfig | 13 + drivers/pinctrl/sunxi/Makefile | 3 + drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c | 594 +++++++++++++++++++++ drivers/pinctrl/sunxi/pinctrl-sunxi.c | 372 +++++++++++++ drivers/pinctrl/sunxi/pinctrl-sunxi.h | 224 ++++++++ include/mach/sunxi/barebox-arm.h | 7 + include/mach/sunxi/xload.h | 12 + 27 files changed, 2400 insertions(+), 2 deletions(-) create mode 100644 arch/arm/configs/sunxi_v8_defconfig create mode 100644 arch/arm/mach-sunxi/Kconfig create mode 100644 arch/arm/mach-sunxi/Makefile create mode 100644 arch/arm/mach-sunxi/common.c create mode 100644 drivers/clk/sunxi/Makefile create mode 100644 drivers/clk/sunxi/clk-sun50i-a64.c create mode 100644 drivers/clk/sunxi/clk-sun50i-a64.h create mode 100644 drivers/mci/sunxi-mmc-common.c create mode 100644 drivers/mci/sunxi-mmc-pbl.c create mode 100644 drivers/mci/sunxi-mmc.c create mode 100644 drivers/mci/sunxi-mmc.h create mode 100644 drivers/pinctrl/sunxi/Kconfig create mode 100644 drivers/pinctrl/sunxi/Makefile create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-a64.c create mode 100644 drivers/pinctrl/sunxi/pinctrl-sunxi.c create mode 100644 drivers/pinctrl/sunxi/pinctrl-sunxi.h create mode 100644 include/mach/sunxi/barebox-arm.h create mode 100644 include/mach/sunxi/xload.h -- 2.46.2