From 695c4edb42c1c7ee963ac635b83da11973ae9145 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 6cba2c40dd..ebff5168ac 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -88,4 +88,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 575219ba35..18f1a0d822 100644 --- a/configs/khadas-vim3_defconfig +++ b/configs/khadas-vim3_defconfig @@ -7,6 +7,7 @@ CONFIG_ENV_SIZE=0x2000 CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="meson-g12b-a311d-khadas-vim3" 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 67cac3137b..40a17b6be5 100644 --- a/configs/odroid-n2_defconfig +++ b/configs/odroid-n2_defconfig @@ -7,6 +7,7 @@ CONFIG_ENV_SIZE=0x2000 CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="meson-g12b-odroid-n2" CONFIG_MESON_G12A=y +CONFIG_TIZEN_ODROID_N2=y CONFIG_DEBUG_UART_BASE=0xff803000 CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_IDENT_STRING=" odroid-n2/n2-plus" -- 2.34.1