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>
Wed, 4 Nov 2020 03:19:49 +0000 (12: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 513a33d..7c62e37 100644 (file)
@@ -87,4 +87,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 71ec9d7..291684f 100644 (file)
@@ -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"
index 973ee39..8b487d1 100644 (file)
@@ -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"