[U-Boot] [PATCH v4] ARM: am335x: Add phyCORE AM335x R2 support

Tom Rini trini at konsulko.com
Fri May 3 14:07:36 UTC 2019


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 <lusus at denx.de>
[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: <http://lists.denx.de/pipermail/u-boot/attachments/20190503/fc068bd1/attachment.sig>


More information about the U-Boot mailing list