kernel_optimize_test/scripts/dtc
Olof Johansson d5d332d3f7 devicetree: Move include prefixes from arch to separate directory
We use a directory under arch/$ARCH/boot/dts as an include path
that has links outside of the subtree to find dt-bindings from under
include/dt-bindings. That's been working well, but new DT architectures
haven't been adding them by default.

Recently there's been a desire to share some of the DT material between
arm and arm64, which originally caused developers to create symlinks or
relative includes between the subtrees. This isn't ideal -- it breaks
if the DT files aren't stored in the exact same hierarchy as the kernel
tree, and generally it's just icky.

As a somewhat cleaner solution we decided to add a $ARCH/ prefix link
once, and allow DTS files to reference dtsi (and dts) files in other
architectures that way.

Original approach was to create these links under each architecture,
but it lead to the problem of recursive symlinks.

As a remedy, move the include link directories out of the architecture
trees into a common location. At the same time, they can now share one
directory and one dt-bindings/ link as well.

Fixes: 4027494ae6 ('ARM: dts: add arm/arm64 include symlinks')
Reported-by: Russell King <linux@armlinux.org.uk>
Reported-by: Omar Sandoval <osandov@osandov.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Rob Herring <robh@kernel.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: linux-arch <linux-arch@vger.kernel.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
2017-05-18 23:55:48 -07:00
..
include-prefixes devicetree: Move include prefixes from arch to separate directory 2017-05-18 23:55:48 -07:00
libfdt scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
.gitignore kbuild: trivial - remove trailing empty lines 2014-06-10 00:04:06 +02:00
checks.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
data.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
dt_to_config scripts/dtc: dt_to_config - kernel config options for a devicetree 2016-07-22 14:48:16 -05:00
dtc-lexer.l scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
dtc-lexer.lex.c_shipped scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
dtc-parser.tab.c_shipped scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
dtc-parser.tab.h_shipped scripts/dtc: Update to upstream version 0931cea3ba20 2017-01-04 10:47:53 -06:00
dtc-parser.y scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
dtc.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
dtc.h scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
dtx_diff scripts/dtc: dt_to_config - kernel config options for a devicetree 2016-07-22 14:48:16 -05:00
fdtdump.c
fdtget.c
fdtput.c
flattree.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
fstree.c scripts/dtc: Update to upstream version 0931cea3ba20 2017-01-04 10:47:53 -06:00
livetree.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
Makefile
Makefile.dtc
srcpos.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
srcpos.h scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
treesource.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
update-dtc-source.sh dtc: update warning settings for new bus and node/property name checks 2017-03-29 16:49:41 -05:00
util.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
util.h scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
version_gen.h scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00