From 34629d255a62d1b4526a401780e28585873c19cc Mon Sep 17 00:00:00 2001 From: Jiafei Pan Date: Wed, 17 Apr 2024 16:57:56 +0800 Subject: [PATCH] board: ls1046ardb: fix defconfig overlay This patch is to fix issue #71473. The commit 0be0d2175bdbb660f510a6056794569b2527d348 revert some change introduced by hwmv2 which allows defconfig can be overlay, so revert back defconfig to be full configure files which includes all items used by the board variants. Signed-off-by: Jiafei Pan --- .../ls1046ardb_ls1046a_smp_4cores_defconfig | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/boards/nxp/ls1046ardb/ls1046ardb_ls1046a_smp_4cores_defconfig b/boards/nxp/ls1046ardb/ls1046ardb_ls1046a_smp_4cores_defconfig index 8ae910c3a70..08e3206a3b8 100644 --- a/boards/nxp/ls1046ardb/ls1046ardb_ls1046a_smp_4cores_defconfig +++ b/boards/nxp/ls1046ardb/ls1046ardb_ls1046a_smp_4cores_defconfig @@ -9,6 +9,17 @@ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=25000000 # Zephyr Kernel Configuration CONFIG_XIP=n CONFIG_AARCH64_IMAGE_HEADER=y +CONFIG_MAX_THREAD_BYTES=5 +CONFIG_MAX_XLAT_TABLES=10 + +# SMP support +CONFIG_SMP=y +CONFIG_MP_MAX_NUM_CPUS=4 +CONFIG_CACHE_MANAGEMENT=y +CONFIG_ARMV8_A_NS=y + +# PSCI is supported +CONFIG_PM_CPU_OPS=y # Serial Drivers CONFIG_SERIAL=y @@ -17,6 +28,3 @@ CONFIG_UART_INTERRUPT_DRIVEN=y # Enable Console CONFIG_CONSOLE=y CONFIG_UART_CONSOLE=y - -# SMP support -CONFIG_MP_MAX_NUM_CPUS=4