public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2 0/9] rely on latest dtc, simplify
@ 2013-06-24 15:43 Stephen Warren
  2013-06-24 15:43 ` [U-Boot] [PATCH V2 1/9] Validate dtc is new enough Stephen Warren
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Stephen Warren @ 2013-06-24 15:43 UTC (permalink / raw)
  To: u-boot

From: Stephen Warren <swarren@nvidia.com>

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.

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 +-
 .../microblaze.dts => dts/microblaze-generic.dts}  |  0
 board/xilinx/dts/microblaze.dts                    |  1 -
 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 +++++++++++++++++
 18 files changed, 44 insertions(+), 113 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
 rename board/xilinx/{microblaze-generic/dts/microblaze.dts => dts/microblaze-generic.dts} (100%)
 delete mode 100644 board/xilinx/dts/microblaze.dts
 create mode 100755 tools/dtc-version.sh

-- 
1.8.1.5

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-07-24 12:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24 15:43 [U-Boot] [PATCH V2 0/9] rely on latest dtc, simplify Stephen Warren
2013-06-24 15:43 ` [U-Boot] [PATCH V2 1/9] Validate dtc is new enough Stephen Warren
2013-06-25  0:45   ` Simon Glass
2013-06-25 14:47     ` Stephen Warren
2013-06-25 14:58       ` Simon Glass
2013-06-25 17:22   ` Gerhard Sittig
2013-06-25 18:07     ` Stephen Warren
2013-06-24 15:43 ` [U-Boot] [PATCH V2 2/9] xilinx: move microblaze-generic .dts to standard location Stephen Warren
2013-06-24 15:43 ` [U-Boot] [PATCH V2 3/9] dts/Makefile: simplify dtc invocation Stephen Warren
2013-06-25  0:47   ` Simon Glass
2013-06-24 15:43 ` [U-Boot] [PATCH V2 4/9] dts/Makefile: unify cpp/dtc include paths Stephen Warren
2013-06-24 15:43 ` [U-Boot] [PATCH V2 5/9] dt: don't use ARCH_CPU_DTS Stephen Warren
2013-06-24 15:43 ` [U-Boot] [PATCH V2 6/9] dts/Makefile: don't define ARCH_CPU_DTS, BOARD_DTS Stephen Warren
2013-06-24 15:43 ` [U-Boot] [PATCH V2 7/9] config: don't define CONFIG_ARCH_DEVICE_TREE Stephen Warren
2013-06-24 15:43 ` [U-Boot] [PATCH V2 8/9] dts/Makefile: don't use cpp -P Stephen Warren
2013-06-24 15:43 ` [U-Boot] [PATCH V2 9/9] dts/Makefile: pass -undef -D__DTS__ to cpp Stephen Warren
2013-06-24 20:35 ` [U-Boot] [PATCH V2 0/9] rely on latest dtc, simplify Tom Rini
2013-07-24  0:31 ` Stephen Warren
2013-07-24 12:41   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox