[U-Boot] [PATCH V2 REPOST 0/9] rely on latest dtc, simplify
Stephen Warren
swarren at wwwdotorg.org
Wed Jul 24 19:09:15 CEST 2013
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
--
1.7.10.4
More information about the U-Boot
mailing list