From 5e58c6a33fd9dcfbf9219254d7a2b5fe42b36823 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Wed, 9 Dec 2020 18:21:44 +0900 Subject: [PATCH] meson: add TIZEN_AMLOGIC_USE_VENDOR_KERNEL config 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 --- arch/arm/mach-meson/Kconfig | 4 ++++ arch/arm/mach-meson/board-g12a.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig index 66d15ba..367dbdb 100644 --- a/arch/arm/mach-meson/Kconfig +++ b/arch/arm/mach-meson/Kconfig @@ -119,4 +119,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 diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c index 85b5c1d..ab59cf8 100644 --- a/arch/arm/mach-meson/board-g12a.c +++ b/arch/arm/mach-meson/board-g12a.c @@ -30,7 +30,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; -- 2.7.4