From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 3 Aug 2020 10:39:53 -0400 Subject: [PATCH 1/2] IPQ40xx: Add DRAM detection & FDT fixup In-Reply-To: <20200803115220.342329-1-robert.marko@sartura.hr> References: <20200803115220.342329-1-robert.marko@sartura.hr> Message-ID: <20200803143953.GR6965@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Aug 03, 2020 at 01:52:19PM +0200, Robert Marko wrote: > Fixup the Linux FDT with the detection of onboard DRAM as > provided by SBL (Secondary boot loader) by reading > the shared-memory region. > > Imported from Snapdragon target. > > Signed-off-by: Robert Marko > Cc: Luka Perkov > --- > arch/arm/mach-ipq40xx/Makefile | 1 + > arch/arm/mach-ipq40xx/dram.c | 99 +++++++++++++++++++++++ > arch/arm/mach-ipq40xx/include/mach/dram.h | 12 +++ > 3 files changed, 112 insertions(+) > create mode 100644 arch/arm/mach-ipq40xx/dram.c > create mode 100644 arch/arm/mach-ipq40xx/include/mach/dram.h Is this as-is? If so, we need to figure out something or another to make sharing the code, rather than copying, possible. How are these both grouped in the kernel? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: