[PATCH 2/5] brppt1: Fix SPL boot stage

Tom Rini trini at konsulko.com
Thu Sep 15 23:54:08 CEST 2022


On Thu, Aug 25, 2022 at 08:54:01AM +0200, Bernhard Messerklinger wrote:

> Commit 6337d53fdf45 ("arm: dts: sync am33xx with Linux 5.9-rc7") syncs
> the am335x device tree with the latest linux kernel am335x device tree.
> That causes problems with device tree in SPL stage.
> To fix the issues CONFIG_SPL_OF_TRANSLATE must be set to handle the
> synced bus addresses correctly.
> A custom U-Boot device tree is also needed since the SPL build removes
> bus properties from bus nodes which are not explicitly marked with the
> u-boot,dm-spl or u-boot,dm-pre-reloc flag. Therefore all parent buses of
> the in the SPL needed devices must be marked with u-boot,dm-pre-reloc.
> Also since there is no driver for "ti,sysc" compatible property in SPL
> the buses marked with this compatible string must also be marked with
> compatible = "simple-bus" to make the underlying devices visible in
> SPL. Otherwise the matching device drivers aren't found and the uclass
> drivers are dropped.
> 
> Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger at br-automation.com>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220915/084cd52b/attachment.sig>


More information about the U-Boot mailing list