[PATCH v2 7/8] dts: meson-gxbb: Switch to using upstream DT

Tom Rini trini at konsulko.com
Fri Dec 22 13:31:33 CET 2023


On Fri, Dec 22, 2023 at 11:42:07AM +0530, Sumit Garg wrote:

> Although there were still some variations in board DTS files based on
> meson-gxbb SoC but I think those were minor differences from upstream
> and shouldn't impact boot on these devices.
> 
> So switch to upstream DT via mirroring amlogic/ directory from
> devicetree-rebasing/src/arm64/amlogic/ directory. And thereby directly
> building DTB from there including *-u-boot.dtsi files from
> arch/$(ARCH)/dts/ directory.
> 
> Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
> Signed-off-by: Sumit Garg <sumit.garg at linaro.org>
> ---
>  configs/nanopi-k2_defconfig           | 3 ++-
>  configs/odroid-c2_defconfig           | 3 ++-
>  configs/p200_defconfig                | 3 ++-
>  configs/p201_defconfig                | 3 ++-
>  configs/videostrong-kii-pro_defconfig | 3 ++-
>  configs/wetek-hub_defconfig           | 3 ++-
>  configs/wetek-play2_defconfig         | 3 ++-
>  dts/arch/arm64/Makefile               | 9 +++++++++
>  dts/arch/arm64/amlogic                | 1 +
>  9 files changed, 24 insertions(+), 7 deletions(-)
>  create mode 120000 dts/arch/arm64/amlogic

Do we need all of the Makefile portions of this? One of the things that
works today is that trees listed in ONFIG_DEFAULT_DEVICE_TREE (and a few
other variables) will be automatically built. We might just need the new
Makefiles to just have:
include $(srctree)/scripts/Makefile.dts
and then the trees a given config will need will be built.

-- 
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-custodians/attachments/20231222/2827ca90/attachment.sig>


More information about the U-Boot-Custodians mailing list