firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_arch-arm-mach-goke-Kconf...

75 lines
1.7 KiB
Diff

--- linux-4.9.37/arch/arm/mach-goke/Kconfig 1970-01-01 03:00:00.000000000 +0300
+++ linux-4.9.y/arch/arm/mach-goke/Kconfig 2021-06-07 13:01:32.000000000 +0300
@@ -0,0 +1,71 @@
+config ARCH_GOKE
+ bool "Goke SoC Support"
+ select ARM_AMBA
+ select ARM_GIC if ARCH_MULTI_V7
+ select ARM_VIC if ARCH_MULTI_V5
+ select ARM_TIMER_SP804
+ select POWER_RESET
+ select POWER_RESET_GOKE
+ select POWER_SUPPLY
+
+if ARCH_GOKE
+
+menu "Goke platform type"
+
+config ARCH_GK7205V200
+ bool "Goke GK7205V200 Cortex-A7 family"
+ depends on ARCH_MULTI_V7
+ select HAVE_ARM_ARCH_TIMER
+ select PINCTRL
+ select POWER_RESET_GOKE
+ help
+ Support for Goke GK7205V200 Soc family.
+
+config ARCH_GK7205V300
+ bool "Goke GK7205V300 Cortex-A7 family"
+ depends on ARCH_MULTI_V7
+ select HAVE_ARM_ARCH_TIMER
+ select PINCTRL
+ select POWER_RESET_GOKE
+ help
+ Support for Goke GK7205V300 Soc family.
+
+config ARCH_GK7202V300
+ bool "Goke GK7202V300 Cortex-A7 family"
+ depends on ARCH_MULTI_V7
+ select HAVE_ARM_ARCH_TIMER
+ select PINCTRL
+ select POWER_RESET_GOKE
+ help
+ Support for Goke GK7202V300 Soc family.
+
+config ARCH_GK7605V100
+ bool "Goke GK7605V100 Cortex-A7 family"
+ depends on ARCH_MULTI_V7
+ select HAVE_ARM_ARCH_TIMER
+ select PINCTRL
+ select POWER_RESET_GOKE
+ help
+ Support for Goke GK7605V100 Soc family.
+
+config GOKE_MC
+ bool "Goke mc platform solution"
+ default n
+ help
+ support for Goke mc platform solution
+
+config BSP_ZRELADDR
+ hex 'zreladdr'
+ default "0x40008000" if ARCH_GK7205V200 || ARCH_GK7205V300 || ARCH_GK7202V300 || ARCH_GK7605V100
+
+config BSP_PARAMS_PHYS
+ hex 'params_phys'
+ default "0x00000100"
+
+config BSP_INITRD_PHYS
+ hex 'initrd_phys'
+ default "0x00800000"
+
+endmenu
+
+endif