meson: add TIZEN_AMLOGIC_USE_VENDOR_KERNEL config
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 9 Dec 2020 09:21:44 +0000 (18:21 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 28 Oct 2024 11:28:34 +0000 (20:28 +0900)
Add TIZEN_AMLOGIC_USE_VENDOR_KERNEL config.
It's more claar than just using CONFIG_TIZEN.
If someone wants to use mainline kernel, just disable it.

Enable CONFIG_TIZEN_AMLOGIC_USE_VENDOR_KERNEL.
- odroid-{c4,n2}_defconfig
- khadas-{vim3,vim3l}_defconfig
Tizen is using each board's vendor kernel.

Change-Id: I2a11e3e08e58ced7ef286487044a1616ac3ac8f4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/mach-meson/Kconfig
arch/arm/mach-meson/board-g12a.c

index c3b5d3de0905a2c3943f7d12f9e94ef3ff90f618..8b5a50816e4b8f3dba244cd18469eefd0b9ef911 100644 (file)
@@ -117,4 +117,8 @@ config TIZEN_ODROID_C4
         When boot on Tizen Platform, enable this configuration.
         If you want to use mainline boot, disable this.
 
+config TIZEN_AMLOGIC_USE_VENDOR_KERNEL
+       bool "Use vendor kernel about Amlogic SoCs for Tizen"
+       help
+        Enable this configuration if use Vendor Linux Kernel.
 endif
index f8bf23e098fb93fe44eead0e6cc616c2738663f6..84db9c425b4759a0765bb2b8c748467820a6c0f4 100644 (file)
@@ -29,7 +29,7 @@ int meson_get_boot_device(void)
  */
 void meson_init_reserved_memory(void *fdt)
 {
-#ifndef CONFIG_TIZEN
+#ifndef CONFIG_TIZEN_AMLOGIC_USE_VENDOR_KERNEL
        u64 bl31_size, bl31_start;
        u64 bl32_size, bl32_start;
        u32 reg;