From: Tom Rini Date: Fri, 3 May 2019 10:07:36 -0400 Subject: [U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support In-Reply-To: <20190503112802.1646-1-lusus@denx.de> References: <20190503112802.1646-1-lusus@denx.de> Message-ID: <20190503140736.GV31207@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 Fri, May 03, 2019 at 01:28:02PM +0200, Niel Fourie wrote: > Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec > phyBOARD-Wega AM335x. > > CPU : AM335X-GP rev 2.1 > Model: Phytec AM335x phyBOARD-WEGA > DRAM: 256 MiB > NAND: 256 MiB > MMC: OMAP SD/MMC: 0 > eth0: ethernet at 4a100000 > > Working: > - Eth0 > - i2C > - MMC/SD > - NAND > - UART > - USB (host) > > Device trees were taken from Linux mainline: > commit 37624b58542fb9f2 ("Linux 5.1-rc7") > > Signed-off-by: Niel Fourie [snip] > diff --git a/arch/arm/dts/am33xx-u-boot.dtsi b/arch/arm/dts/am33xx-u-boot.dtsi > index 78f5e2c4d3..a58734e441 100644 > --- a/arch/arm/dts/am33xx-u-boot.dtsi > +++ b/arch/arm/dts/am33xx-u-boot.dtsi > @@ -6,6 +6,17 @@ > > / { > ocp { > + u-boot,dm-spl; > u-boot,dm-pre-reloc; First off, this is wrong. In the code (see drivers/core/ofnode.c and drivers/core/util.c) everywhere we check for u-boot,dm-spl we've already checked for u-boot,dm-pre-reloc and returned true. So all of these kind of changes above need to be fixed. > }; > + > + memory at 80000000 { > + u-boot,dm-spl; > + u-boot,dm-pre-reloc; > + }; > +}; > + > +&scm { > + u-boot,dm-spl; > + u-boot,dm-pre-reloc; > }; Second, where are you seeing that we need these nodes to be moved to be available earlier? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: