From 6c2b7fe2281bdce940dc25aec8705a94a9a2b2c5 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Mon, 17 Oct 2022 11:43:34 +0900 Subject: [PATCH] tizen: amlogic: move CONFIG_TIZEN into Kconfig Move CONFIG_TIZEN into Kconfig. When new config is added, it has to be in Kconfig. Change-Id: Idaef847edc2bb87907d80dfdd16d622a0c5c27b6 Signed-off-by: Jaehoon Chung --- arch/arm/mach-meson/Kconfig | 10 ++++++++++ include/samsung/tizen_amlogic.h | 2 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index 66d15ba..bfa3f8b 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -95,26 +95,36 @@ config SYS_CONFIG_NAME Based on this option include/configs/.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. diff --git a/include/samsung/tizen_amlogic.h b/include/samsung/tizen_amlogic.h index 692ee40..edb9d25 100644 --- a/include/samsung/tizen_amlogic.h +++ b/include/samsung/tizen_amlogic.h @@ -181,8 +181,6 @@ "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) \ -- 2.7.4