All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagdish Gediya <jagdish.gediya@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 7/8] powerpc: dts: Add u-boot.dtsi to use binman for MPC85xx boards
Date: Tue, 28 Aug 2018 20:19:42 +0530	[thread overview]
Message-ID: <1535467783-1017-8-git-send-email-jagdish.gediya@nxp.com> (raw)
In-Reply-To: <1535467783-1017-1-git-send-email-jagdish.gediya@nxp.com>

Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
---
Changes for v2:
	- Remove mpc85xx-u-boot.dtsi
	- Update u-boot.dtsi to use CONFIG_MPC85XX_HAVE_RESET_VECTOR

 arch/powerpc/dts/u-boot.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 arch/powerpc/dts/u-boot.dtsi

diff --git a/arch/powerpc/dts/u-boot.dtsi b/arch/powerpc/dts/u-boot.dtsi
new file mode 100644
index 0000000..163e657
--- /dev/null
+++ b/arch/powerpc/dts/u-boot.dtsi
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2018 NXP
+ */
+
+#include <config.h>
+
+/ {
+	binman {
+		filename = "u-boot-with-dtb.bin";
+		skip-at-start = <CONFIG_SYS_TEXT_BASE>;
+		sort-by-pos;
+		pad-byte = <0xff>;
+		size = <CONFIG_SYS_MONITOR_LEN>;
+
+		u-boot-with-ucode-ptr {
+			offset = <CONFIG_SYS_TEXT_BASE>;
+			optional-ucode;
+		};
+
+		u-boot-dtb-with-ucode {
+#ifdef CONFIG_MPC85xx
+			align = <256>;
+#endif
+		};
+#ifdef CONFIG_MPC85XX_HAVE_RESET_VECTOR
+		powerpc-mpc85xx-bootpg-resetvec {
+			offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>;
+		};
+#endif
+	};
+};
-- 
2.7.4

  parent reply	other threads:[~2018-08-28 14:49 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-28 14:49 [U-Boot] [PATCH v2 0/8] Device tree support for Powerpc in u-boot Jagdish Gediya
2018-08-28 14:49 ` [U-Boot] [PATCH v2 1/8] powerpc/dts: Define '_end' symbol in mpc85xx u-boot lds files Jagdish Gediya
2018-08-28  9:16   ` Bin Meng
2018-08-28 10:50     ` Jagdish Gediya
2018-08-28 13:21       ` Bin Meng
2018-08-28 14:49 ` [U-Boot] [PATCH v2 2/8] powerpc/dts: Makefile changes to clean and build dts Jagdish Gediya
2018-08-28  9:16   ` Bin Meng
2018-08-30  0:28   ` Simon Glass
2018-08-28 14:49 ` [U-Boot] [PATCH v2 3/8] binman: Add a new "skip-at-start" property in Section class Jagdish Gediya
2018-08-28  9:16   ` Bin Meng
2018-08-30  2:51   ` Simon Glass
2018-08-31  5:22     ` Jagdish Gediya
2018-09-01 21:45       ` Simon Glass
2018-08-28 14:49 ` [U-Boot] [PATCH v2 4/8] binman: Add support for Powerpc mpc85xx 'bootpg + resetvec' entry Jagdish Gediya
2018-08-28  9:16   ` Bin Meng
2018-08-28 14:49 ` [U-Boot] [PATCH v2 5/8] powerpc: mpc85xx: Select BINMAN by default Jagdish Gediya
2018-08-28  9:16   ` Bin Meng
2018-08-28 14:49 ` [U-Boot] [PATCH v2 6/8] powerpc: mpc85xx: Use binman to embed dtb inside u-boot Jagdish Gediya
2018-08-28  9:16   ` Bin Meng
2018-08-31  6:16     ` Jagdish Gediya
2018-08-28 14:49 ` Jagdish Gediya [this message]
2018-08-28  9:16   ` [U-Boot] [PATCH v2 7/8] powerpc: dts: Add u-boot.dtsi to use binman for MPC85xx boards Bin Meng
2018-08-28 14:49 ` [U-Boot] [PATCH v2 8/8] powerpc: dts: Enable device tree support for T2080QDS Jagdish Gediya
2018-08-28  9:16   ` Bin Meng

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=1535467783-1017-8-git-send-email-jagdish.gediya@nxp.com \
    --to=jagdish.gediya@nxp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.