From e516d2ddfb72e2088ae81e723df1c1e7537d3bfa Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Mon, 2 Nov 2020 08:43:07 +0900 Subject: [PATCH] ARM: meson: Kconfig: Add Tizen specific configuration Add Tizen Specific configuratoin. - Enable tizen configuration to distinguish which board is used. Change-Id: I09329b59cb7c2c47f72198a4bebde6ee511ffc7b Signed-off-by: Jaehoon Chung --- arch/arm/mach-meson/Kconfig | 12 ++++++++++++ configs/khadas-vim3_defconfig | 1 + configs/odroid-n2_defconfig | 1 + 3 files changed, 14 insertions(+) diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index 513a33dae2..7c62e37190 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -87,4 +87,16 @@ config SYS_CONFIG_NAME Based on this option include/configs/.h header will be used for board configuration. +config TIZEN_KHADAS_VIM3 + bool "KHADAS VIM3 for 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" + help + When boot on Tizen Platform, enable this configuration. + If you want to use mainline boot, disable this. + endif diff --git a/configs/khadas-vim3_defconfig b/configs/khadas-vim3_defconfig index 71ec9d706f..291684f893 100644 --- a/configs/khadas-vim3_defconfig +++ b/configs/khadas-vim3_defconfig @@ -6,6 +6,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x2000 CONFIG_DM_GPIO=y CONFIG_MESON_G12A=y +CONFIG_TIZEN_KHADAS_VIM3=y CONFIG_DEBUG_UART_BASE=0xff803000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_IDENT_STRING=" khadas-vim3" diff --git a/configs/odroid-n2_defconfig b/configs/odroid-n2_defconfig index 973ee39692..8b487d19a6 100644 --- a/configs/odroid-n2_defconfig +++ b/configs/odroid-n2_defconfig @@ -6,6 +6,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_ENV_SIZE=0x2000 CONFIG_DM_GPIO=y CONFIG_MESON_G12A=y +CONFIG_TIZEN_ODROID_N2=y CONFIG_DEBUG_UART_BASE=0xff803000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_IDENT_STRING=" odroid-n2" -- 2.34.1