From: Rob Clark <robdclark@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/5] Makefile: also build fdt for snapdragon
Date: Fri, 21 Jul 2017 15:10:10 -0400 [thread overview]
Message-ID: <20170721191014.8161-2-robdclark@gmail.com> (raw)
In-Reply-To: <20170721191014.8161-1-robdclark@gmail.com>
Snapdragon is a bit of a funny case, where we want to build the fdt to
pass to lk, which loads us, but otherwise want to treat it as OF_BOARD,
since lk will patch the fdt (for example, to insert simple-framebuffer
node).
Signed-off-by: Rob Clark <robdclark@gmail.com>
---
Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Makefile b/Makefile
index 452596485d..0749cdfc5d 100644
--- a/Makefile
+++ b/Makefile
@@ -780,6 +780,12 @@ ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.img
endif
ALL-$(CONFIG_TPL) += tpl/u-boot-tpl.bin
ALL-$(CONFIG_OF_SEPARATE) += u-boot.dtb
+# Snapdragon devices, where lk/aboot loads u-boot is kind of a special
+# case, because lk loads the fdt which is embedded (along with u-boot)
+# in a boot.img. But it also does some fdt fixups. So generally we
+# want to treat it like CONFIG_OF_BOARD=y, except that we also want
+# to build the dtb's
+ALL-$(CONFIG_ARCH_SNAPDRAGON) += u-boot.dtb
ifeq ($(CONFIG_SPL_FRAMEWORK),y)
ALL-$(CONFIG_OF_SEPARATE) += u-boot-dtb.img
endif
--
2.13.0
next prev parent reply other threads:[~2017-07-21 19:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-21 19:10 [U-Boot] [PATCH 0/5] dragonboard 410c patches Rob Clark
2017-07-21 19:10 ` Rob Clark [this message]
2017-07-21 22:18 ` [U-Boot] [PATCH 1/5] Makefile: also build fdt for snapdragon Tom Rini
2017-07-21 22:57 ` Rob Clark
2017-07-24 13:41 ` Tom Rini
2017-07-21 19:10 ` [U-Boot] [PATCH 2/5] db410c: use fdt passed from lk Rob Clark
2017-07-21 19:10 ` [U-Boot] [PATCH 3/5] db410c: add reserved-memory node to dts Rob Clark
2017-07-21 19:10 ` [U-Boot] [PATCH 4/5] db410c: on aarch64 the fdtfile is in per-vendor subdirectory Rob Clark
2017-07-21 19:10 ` [U-Boot] [PATCH 5/5] db410c: config updates Rob Clark
2017-07-21 22:20 ` Tom Rini
2017-07-21 23:08 ` Rob Clark
2017-07-24 13:46 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170721191014.8161-2-robdclark@gmail.com \
--to=robdclark@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox