summaryrefslogtreecommitdiff
path: root/target/arm
diff options
context:
space:
mode:
authorWademar Brodkorb <wbx@openadk.org>2024-08-08 09:59:25 +0200
committerWademar Brodkorb <wbx@openadk.org>2024-08-11 04:34:00 +0200
commitddde768a915e26ec040fdfce35e4f391e4407794 (patch)
treef0385d134bee1a0c7ea45d6864a7fa96a5dbace7 /target/arm
parent14c203056941af5c108c4a54afc764e26d0df393 (diff)
banana-pro: bring it in shape
Diffstat (limited to 'target/arm')
-rw-r--r--target/arm/Makefile5
-rw-r--r--target/arm/kernel/banana-pro48
2 files changed, 49 insertions, 4 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index f6ddf3c76..280e954b7 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -205,6 +205,9 @@ endif
ifeq ($(ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK),y)
VENDOR:=ti/omap/
endif
+ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y)
+VENDOR:=allwinner/
+endif
endif
dtb-install:
@@ -245,7 +248,7 @@ ifeq ($(ADK_TARGET_BOARD_BCM28XX),y)
done
endif
ifeq ($(ADK_TARGET_SYSTEM_BANANA_PRO),y)
- ${KERNEL_MAKE} sun7i-a20-bananapro.dtb $(MAKE_TRACE)
+ ${KERNEL_MAKE} $(VENDOR)sun7i-a20-bananapro.dtb $(MAKE_TRACE)
endif
ifeq ($(ADK_TARGET_SYSTEM_ORANGE_PI0),y)
${KERNEL_MAKE} sun8i-h2-plus-orangepi-zero.dtb $(MAKE_TRACE)
diff --git a/target/arm/kernel/banana-pro b/target/arm/kernel/banana-pro
index e55c93aa7..d3beba2b4 100644
--- a/target/arm/kernel/banana-pro
+++ b/target/arm/kernel/banana-pro
@@ -1,9 +1,51 @@
CONFIG_ARM=y
CONFIG_ARM_PATCH_PHYS_VIRT=y
+CONFIG_ARCH_MULTIPLATFORM=y
CONFIG_ARCH_MULTI_V7=y
+CONFIG_ARCH_MULTI_V6_V7=y
CONFIG_ARCH_SUNXI=y
CONFIG_MACH_SUN7I=y
CONFIG_KUSER_HELPERS=y
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-CONFIG_SERIAL_8250_DW=y
+CONFIG_ATAGS=y
+CONFIG_PINCTRL=y
+CONFIG_PINMUX=y
+CONFIG_PINCONF=y
+CONFIG_GENERIC_PINCONF=y
+CONFIG_PINCTRL_SUNXI=y
+CONFIG_PINCTRL_SUN4I_A10=y
+CONFIG_PINCTRL_SUN5I=y
+CONFIG_PINCTRL_SUN6I_A31=y
+CONFIG_PINCTRL_SUN6I_A31_R=y
+CONFIG_PINCTRL_SUN8I_A23=y
+CONFIG_PINCTRL_SUN8I_A33=y
+CONFIG_PINCTRL_SUN8I_A83T=y
+CONFIG_PINCTRL_SUN8I_A83T_R=y
+CONFIG_PINCTRL_SUN8I_A23_R=y
+CONFIG_PINCTRL_SUN8I_H3=y
+CONFIG_PINCTRL_SUN8I_H3_R=y
+CONFIG_PINCTRL_SUN8I_V3S=y
+CONFIG_PINCTRL_SUN9I_A80=y
+CONFIG_PINCTRL_SUN9I_A80_R=y
+CONFIG_PINCTRL_SUN20I_D1=y
+CONFIG_COMMON_CLK=y
+CONFIG_CLK_SUNXI=y
+CONFIG_CLK_SUNXI_CLOCKS=y
+CONFIG_CLK_SUNXI_PRCM_SUN6I=y
+CONFIG_CLK_SUNXI_PRCM_SUN8I=y
+CONFIG_CLK_SUNXI_PRCM_SUN9I=y
+CONFIG_SUNXI_CCU=y
+CONFIG_SUN20I_D1_CCU=y
+CONFIG_SUN20I_D1_R_CCU=y
+CONFIG_SUN4I_A10_CCU=y
+CONFIG_SUN5I_CCU=y
+CONFIG_SUN6I_A31_CCU=y
+CONFIG_SUN6I_RTC_CCU=y
+CONFIG_SUN8I_A23_CCU=y
+CONFIG_SUN8I_A33_CCU=y
+CONFIG_SUN8I_A83T_CCU=y
+CONFIG_SUN8I_H3_CCU=y
+CONFIG_SUN8I_V3S_CCU=y
+CONFIG_SUN8I_DE2_CCU=y
+CONFIG_SUN8I_R40_CCU=y
+CONFIG_SUN9I_A80_CCU=y
+CONFIG_SUN8I_R_CCU=y