tizen: amlogic: move CONFIG_TIZEN into Kconfig
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 17 Oct 2022 02:43:34 +0000 (11:43 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 04:19:38 +0000 (13:19 +0900)
Move CONFIG_TIZEN into Kconfig.
When new config is added, it has to be in Kconfig.

Change-Id: Idaef847edc2bb87907d80dfdd16d622a0c5c27b6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/mach-meson/Kconfig
include/samsung/tizen_amlogic.h

index 66d15ba..bfa3f8b 100644 (file)
@@ -95,26 +95,36 @@ config SYS_CONFIG_NAME
          Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
          will be used for board configuration.
 
+config TIZEN
+       bool "Tizen OS"
+       help
+        When boot on Tizen Platform, enable this configuration.
+        If you want to use mainline boot, disable this.
+
 config TIZEN_KHADAS_VIM3
        bool "KHADAS VIM3 for Tizen"
+       select TIZEN
        help
         When boot on Tizen Platform, enable this configuration.
         If you want to use mainline boot, disable this.
 
 config TIZEN_KHADAS_VIM3L
        bool "KHADAS VIM3L for Tizen"
+       select TIZEN
        help
         When boot on Tizen Platform, enable this configuration.
         If you want to use mainline boot, disable this.
 
 config TIZEN_ODROID_N2
        bool "Odroid N2 for Tizen"
+       select TIZEN
        help
         When boot on Tizen Platform, enable this configuration.
         If you want to use mainline boot, disable this.
 
 config TIZEN_ODROID_C4
        bool "Odroid C4 for Tizen"
+       select TIZEN
        help
         When boot on Tizen Platform, enable this configuration.
         If you want to use mainline boot, disable this.
index 692ee40..edb9d25 100644 (file)
        "splashpos=m,m\0"                       \
        "hdmimode=1080p60hz\0"
 
-#define CONFIG_TIZEN
-
 /* limit boot to mmc0 and mmc1 */
 #undef BOOT_TARGET_DEVICES
 #define BOOT_TARGET_DEVICES(func) \