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>
Mon, 28 Oct 2024 11:28:39 +0000 (20:28 +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 c3b5d3de0905a2c3943f7d12f9e94ef3ff90f618..b121d97eb9d207643cec7b6adee4e5f6cca8728e 100644 (file)
@@ -93,26 +93,36 @@ config SYS_BOARD
          Based on this option board/<CONFIG_SYS_VENDOR>/<CONFIG_SYS_BOARD> will
          be used.
 
+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 692ee40bfe209f8da88bf6f5bce87c0532299f4c..edb9d25728113cea80ea5b142f621bfde5e66c45 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) \