From 91b562a9cee16b9d34be72d02678cabf7c2c7bc7 Mon Sep 17 00:00:00 2001 From: Igor Belwon Date: Wed, 8 Jul 2026 15:37:26 +0200 Subject: [PATCH] soc: Mark SoC architectures using a config option Info taken from postmarketOS wiki. --- soc/Kconfig | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/soc/Kconfig b/soc/Kconfig index 544a8e0..3efc9f7 100644 --- a/soc/Kconfig +++ b/soc/Kconfig @@ -1,3 +1,13 @@ +# Architectures +config ARCH_AARCH64 + bool + default n + +config ARCH_ARM + bool + default n + +# Vendors config APPLE_SILICON bool default n @@ -30,197 +40,230 @@ config SONY bool default n - choice +# SoC models +choice prompt "SoC Support" config APPLE_T7000 bool "Support for Apple T7000" + select ARCH_AARCH64 select APPLE_SILICON help Say Y if your device uses Apple T7000 SoC config APPLE_T8010 bool "Support for Apple T8010" + select ARCH_AARCH64 select APPLE_SILICON help Say Y if your device uses Apple T8010 SoC config EXYNOS_1280 bool "Support for Exynos 1280" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos1280 SoC config EXYNOS_2200 bool "Support for Exynos 2200" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos2200 SoC config EXYNOS_3830 bool "Support for Exynos 850" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos850 SoC config EXYNOS_5515 bool "Support for Exynos 5515" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos5515 SoC config EXYNOS_7420 bool "Support for Exynos 7420" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos7420 SoC config EXYNOS_7570 bool "Support for Exynos 7570" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos7570 SoC config EXYNOS_7580 bool "Support for Exynos 7580" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos7580 SoC config EXYNOS_7885 bool "Support for Exynos 7885" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos7885 SoC config EXYNOS_8890 bool "Support for Exynos 8890" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos8890 SoC config EXYNOS_8895 bool "Support for Exynos 8895" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos8895 SoC config EXYNOS_9610 bool "Support for Exynos 9610" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos9610 SoC config EXYNOS_9810 bool "Support for Exynos 9810" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos9810 SoC config EXYNOS_9820 bool "Support for Exynos 9820" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos9820 SoC config EXYNOS_990 bool "Support for Exynos 990" + select ARCH_AARCH64 select EXYNOS help Say Y if your device uses Samsung Exynos990 SoC config HI6250 bool "Support for HiSilicon Hi6250" + select ARCH_AARCH64 select HISILICON help Say Y if your device uses HiSilicon Hi6250 config MT6735 bool "Support for Mediatek MT6735" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6735 SoC config MT6765 bool "Support for Mediatek MT6765" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6765 SoC config MT6785 bool "Support for Mediatek MT6785" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6785 SoC config MT6789 bool "Support for Mediatek MT6789" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6789 SoC config MT6833 bool "Support for Mediatek MT6833" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6833 SoC config MT6877 bool "Support for Mediatek MT6877" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6877 SoC config MT6878 bool "Support for Mediatek MT6878" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6878 SoC config MT6893 bool "Support for Mediatek MT6893" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6893 SoC config MT6897 bool "Support for Mediatek MT6897" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses Mediatek MT6897 SoC config MT8163 bool "Support for MediaTek MT8163" + select ARCH_AARCH64 select MEDIATEK help Say Y if your device uses MediaTek MT8163 SoC config QC32_8916 bool "Support for QUALCOMM MSM8916" + select ARCH_AARCH64 select QUALCOMM help Say Y if your device uses this Qualcomm SoC config SM7325 bool "Support for QUALCOMM SM7325" + select ARCH_AARCH64 select QUALCOMM help Say Y if your device uses this Qualcomm SoC config SM8350 bool "Support for QUALCOMM SM8350" + select ARCH_AARCH64 select QUALCOMM help Say Y if your device uses this Qualcomm SoC config SM8450 bool "Support for QUALCOMM SM8450" + select ARCH_AARCH64 select QUALCOMM help Say Y if your device uses this Qualcomm SoC config SM8650 bool "Support for QUALCOMM SM8650" + select ARCH_AARCH64 select QUALCOMM help Say Y if your device uses this Qualcomm SoC @@ -231,6 +274,7 @@ config SONY config SM8850 bool "Support for QUALCOMM SM8850" + select ARCH_AARCH64 select QUALCOMM help Say Y if your device uses this Qualcomm SoC @@ -241,6 +285,7 @@ config SONY config QEMU_SOC_VIRT bool "Support for QEMU virt aarch64 SoC" + select ARCH_AARCH64 select QEMU help Say Y if you are using the generic QEMU emulation @@ -248,27 +293,31 @@ config SONY config MSM8998 bool "Support for Qualcomm Snapdragon 835" + select ARCH_AARCH64 select QUALCOMM help Say Y if your device uses Qualcomm MSM8998 config FREESCALE_IMX6SL bool "Support for Freescale i.MX6SL" + select ARCH_ARM select FREESCALE help Say Y if your device uses i.MX6SL config UMS9230 bool "Support for Unisoc T606" + select ARCH_AARCH64 select UNISOC help Say Y if your device uses UNISOC UMS9230 config SONY_KERMIT bool "Support for Sony Kermit SoC" + select ARCH_ARM select SONY help Say Y if your device uses the custom-designed Sony Kermit SoC. - endchoice +endchoice