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@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 <[email protected]>
[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@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
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

