ARM: meson: Kconfig: Add Tizen specific configuration
authorJaehoon Chung <jh80.chung@samsung.com>
Sun, 1 Nov 2020 23:43:07 +0000 (08:43 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 04:19:24 +0000 (13:19 +0900)
Add Tizen Specific configuratoin.
- Enable tizen configuration to distinguish which board is used.

Change-Id: I09329b59cb7c2c47f72198a4bebde6ee511ffc7b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/mach-meson/Kconfig
configs/khadas-vim3_defconfig
configs/odroid-n2_defconfig

index 669ca09..31a5a5e 100644 (file)
@@ -95,4 +95,16 @@ config SYS_CONFIG_NAME
          Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.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
index d611124..44def03 100644 (file)
@@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="meson-g12b-a311d-khadas-vim3"
 CONFIG_OF_LIBFDT_OVERLAY=y
 CONFIG_DM_RESET=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"
index 60c4199..bd143e4 100644 (file)
@@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="meson-g12b-odroid-n2"
 CONFIG_OF_LIBFDT_OVERLAY=y
 CONFIG_DM_RESET=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/n2-plus"