Skip to content

rely on latest dtc, simplify

Stephen Warren u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/29 patches 0 repliesNew
  2. v2 posting 1/29 patches 0 repliesSuperseded
  3. v10 of 8 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Validate dtc is new enoughMakefile config.mk tools/dtc-version.sh+28 -10 replies
1/9Validate dtc is new enough+0 -03 replies
2/9xilinx: move microblaze-generic .dts to standard locationboard/xilinx/dts/microblaze-generic.dts board/xilinx/dts/microblaze.dts board/xilinx/microblaze-generic/dts/microblaze.dts +1 more+8 -90 replies
3/9dts/Makefile: simplify dtc invocation.gitignore dts/Makefile+3 -70 replies
4/9dts/Makefile: unify cpp/dtc include pathsdts/Makefile+9 -20 replies
5/9dt: don't use ARCH_CPU_DTSboard/chromebook-x86/dts/link.dts board/samsung/dts/exynos5250-smdk5250.dts board/samsung/dts/exynos5250-snow.dts+3 -30 replies
6/9dts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTSdts/Makefile+0 -70 replies
7/9config: don't define CONFIG_ARCH_DEVICE_TREEarch/arm/cpu/armv7/tegra114/config.mk arch/arm/cpu/armv7/tegra20/config.mk arch/arm/cpu/armv7/tegra30/config.mk +4 more+1 -920 replies
8/9dts/Makefile: don't use cpp -Pdts/Makefile+1 -10 replies
9/9dts/Makefile: pass -undef -D__DTS__ to cppdts/Makefile+1 -10 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchSimon GlassMichal Simek
1/9A-b
1/9A-b
2/9A-b A-b
3/9A-b
4/9A-b
5/9A-b
6/9A-b
7/9A-b
8/9A-b
9/9A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH V2 REPOST 0/9] rely on latest dtc, simplify

This is a series of patches which simplifies the rules to build *.dts in U-Boot by relying on features in the latest dtc. The include rules are made more consistent between cpp (when processing *.dts) and dtc. The cpp flags are made more consistent with the way the kernel processes *.dts to allow better portability of *.dts between the two.

I'm sending V2 now that dtc-1.4.0 has been tagged/released, and hence there's a version number that patch 1/9 "Validate dtc is new enough" can check for. I'll leave it up to you whether this series is applicable for the current or next release.

This repost of V2 also picks up various Acked-by's that I've received

Stephen Warren (9):
Validate dtc is new enough
xilinx: move microblaze-generic .dts to standard location dts/Makefile: simplify dtc invocation dts/Makefile: unify cpp/dtc include paths
dt: don't use ARCH_CPU_DTS
dts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTS
config: don't define CONFIG_ARCH_DEVICE_TREE dts/Makefile: don't use cpp -P
dts/Makefile: pass -undef -D__DTS__ to cpp

 .gitignore                                         |    1 +
 Makefile                                           |    8 +++++-
 arch/arm/cpu/armv7/tegra114/config.mk              |   19 --------------
 arch/arm/cpu/armv7/tegra20/config.mk               |   26 --------------------
 arch/arm/cpu/armv7/tegra30/config.mk               |   19 --------------
 arch/microblaze/config.mk                          |    2 --
 arch/x86/cpu/coreboot/config.mk                    |   23 -----------------
 board/chromebook-x86/dts/link.dts                  |    2 +-
 board/samsung/dts/exynos5250-smdk5250.dts          |    2 +-
 board/samsung/dts/exynos5250-snow.dts              |    2 +-
 board/xilinx/dts/microblaze-generic.dts            |    7 ++++++
 board/xilinx/dts/microblaze.dts                    |    1 -
 board/xilinx/microblaze-generic/dts/microblaze.dts |    7 ------
 config.mk                                          |    1 +
 doc/README.fdt-control                             |    3 +--
 dts/Makefile                                       |   25 ++++++++-----------
 include/configs/exynos5250-dt.h                    |    1 -
 include/configs/microblaze-generic.h               |    2 +-
 tools/dtc-version.sh                               |   20 +++++++++++++++
 19 files changed, 51 insertions(+), 120 deletions(-)
 delete mode 100644 arch/arm/cpu/armv7/tegra114/config.mk
 delete mode 100644 arch/arm/cpu/armv7/tegra20/config.mk
 delete mode 100644 arch/arm/cpu/armv7/tegra30/config.mk
 delete mode 100644 arch/x86/cpu/coreboot/config.mk
 create mode 100644 board/xilinx/dts/microblaze-generic.dts
 delete mode 100644 board/xilinx/dts/microblaze.dts
 delete mode 100644 board/xilinx/microblaze-generic/dts/microblaze.dts
 create mode 100755 tools/dtc-version.sh
Signature · 1 line
1.7.10.4