[PATCH] arm/tegra: Add device-tree support for TrimSlice board
Stephen Warren
swarren at nvidia.com
Tue Oct 25 00:10:21 EDT 2011
Marc Dietrich wrote at Monday, October 24, 2011 3:28 PM:
> On Monday 24 October 2011 12:01:07 Stephen Warren wrote:
> > * Add device-tree file for TrimSlice
> > * Add that to the list of .dts files to build
> > * Update board-dt.c to recognize TrimSlice board name
> >
> > Signed-off-by: Stephen Warren <swarren at nvidia.com>
> > ---
> > arch/arm/boot/dts/tegra-trimslice.dts | 38
> > +++++++++++++++++++++++++++++++++ arch/arm/mach-tegra/Makefile.boot |
> > 1 +
> > arch/arm/mach-tegra/board-dt.c | 3 ++
> > 3 files changed, 42 insertions(+), 0 deletions(-)
> > create mode 100644 arch/arm/boot/dts/tegra-trimslice.dts
>
> doesn't this also require to add something like
>
> obj-${CONFIG_MACH_TEGRA_DT} += board-trimslice-pinmux.o
>
> to the Makefile?
Yes, definitely. I've fixed this up locally; I hope to repost soon.
> And how is the binary device tree generated? I cannot find the proper CONFIG so
> that Makefile.boot is executed.
make dtbs
(this relies on having built dtc, which happens only by "make" not e.g.
"make zImage" IIRC)
--
nvpublic
More information about the linux-arm-kernel
mailing list