0001-add-airoha-platform.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
  2. index 66f5d6c3..05cd3385 100644
  3. --- a/arch/arm/Kconfig
  4. +++ b/arch/arm/Kconfig
  5. @@ -571,6 +571,18 @@ config ARCH_VIRT
  6. select HAVE_ARM_ARCH_TIMER
  7. select ARCH_SUPPORTS_BIG_ENDIAN
  8. +config ARCH_AIROHA
  9. + bool "Airoha SoC Support"
  10. + depends on ARCH_MULTI_V7
  11. + select ARM_AMBA
  12. + select ARM_GIC
  13. + select ARM_GIC_V3
  14. + select ARM_PSCI
  15. + select HAVE_ARM_ARCH_TIMER
  16. + select COMMON_CLK
  17. + help
  18. + Support for Airoha EN7523 SoCs
  19. +
  20. #
  21. # This is sorted alphabetically by mach-* pathname. However, plat-*
  22. # Kconfigs may be included either alphabetically (according to the
  23. diff --git a/arch/arm/Makefile b/arch/arm/Makefile
  24. index fa45837b..c34f7463 100644
  25. --- a/arch/arm/Makefile
  26. +++ b/arch/arm/Makefile
  27. @@ -156,6 +156,7 @@ textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
  28. # Machine directory name. This list is sorted alphanumerically
  29. # by CONFIG_* macro name.
  30. machine-$(CONFIG_ARCH_ACTIONS) += actions
  31. +machine-$(CONFIG_ARCH_AIROHA) += airoha
  32. machine-$(CONFIG_ARCH_ALPINE) += alpine
  33. machine-$(CONFIG_ARCH_ARTPEC) += artpec
  34. machine-$(CONFIG_ARCH_ASPEED) += aspeed