From 01fa91bd5bbcdb2dda4cc869da9d8fc782774a3c Mon Sep 17 00:00:00 2001 From: Neha Malcom Francis Date: Mon, 6 Jan 2025 14:37:07 +0530 Subject: arm: mach-k3: Set NR_DRAM_BANKS to 2 Set CONFIG_NR_DRAM_BANKS to 2 as we have two banks described in the memory/ node for lower and higher addressible DDR regions. This allows use of FDT functions from fdt_support.c to set up and fix up the memory/ node correctly. Signed-off-by: Neha Malcom Francis Signed-off-by: Santhosh Kumar K --- arch/arm/mach-k3/Kconfig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch') diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig index f3f42b39213..a3ac490f677 100644 --- a/arch/arm/mach-k3/Kconfig +++ b/arch/arm/mach-k3/Kconfig @@ -156,6 +156,9 @@ config K3_X509_SWRV help SWRV for X509 certificate used for boot images +config NR_DRAM_BANKS + default 2 + if CPU_V7R source "arch/arm/mach-k3/r5/Kconfig" endif -- cgit v1.3.1