diff mbox series

[U-Boot,4/8,RESEND] binman: Add support for powerpc 'bootpg + resetvec' entry

Message ID 1534875507-2531-5-git-send-email-jagdish.gediya@nxp.com
State Superseded
Delegated to: York Sun
Headers show
Series Device Tree support for PowerPC in u-boot | expand

Commit Message

Jagdish Gediya Aug. 21, 2018, 6:18 p.m. UTC
This entry contains the powerpc boot page and resetvec sections.

Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
---
 tools/binman/etype/mpc85xx_bootpg_resetvec.py | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 tools/binman/etype/mpc85xx_bootpg_resetvec.py

Comments

Bin Meng Aug. 21, 2018, 11:58 a.m. UTC | #1
On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya <jagdish.gediya@nxp.com> wrote:
> This entry contains the powerpc boot page and resetvec sections.

Again, PowerPC Book-E or e500 would be better since other PowerPC
variants like 60x (mpc83xx) does not have boot page and resetvec
sections.

>
> Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
> ---
>  tools/binman/etype/mpc85xx_bootpg_resetvec.py | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
>  create mode 100644 tools/binman/etype/mpc85xx_bootpg_resetvec.py
>
> diff --git a/tools/binman/etype/mpc85xx_bootpg_resetvec.py b/tools/binman/etype/mpc85xx_bootpg_resetvec.py
> new file mode 100644
> index 0000000..d76fe95
> --- /dev/null
> +++ b/tools/binman/etype/mpc85xx_bootpg_resetvec.py
> @@ -0,0 +1,15 @@
> +# SPDX-License-Identifier: GPL-2.0+
> +# Copyright 2018 NXP
> +#
> +# Entry-type module for the mpc85xx bootpg and resetvec code for U-Boot
> +#
> +
> +from entry import Entry
> +from blob import Entry_blob
> +
> +class Entry_mpc85xx_bootpg_resetvec(Entry_blob):

Please adjust the name here accordingly.

> +    def __init__(self, section, etype, node):
> +        Entry_blob.__init__(self, section, etype, node)
> +
> +    def GetDefaultFilename(self):
> +        return 'u-boot-br.bin'
> --

Regards,
Bin
diff mbox series

Patch

diff --git a/tools/binman/etype/mpc85xx_bootpg_resetvec.py b/tools/binman/etype/mpc85xx_bootpg_resetvec.py
new file mode 100644
index 0000000..d76fe95
--- /dev/null
+++ b/tools/binman/etype/mpc85xx_bootpg_resetvec.py
@@ -0,0 +1,15 @@ 
+# SPDX-License-Identifier: GPL-2.0+
+# Copyright 2018 NXP
+#
+# Entry-type module for the mpc85xx bootpg and resetvec code for U-Boot
+#
+
+from entry import Entry
+from blob import Entry_blob
+
+class Entry_mpc85xx_bootpg_resetvec(Entry_blob):
+    def __init__(self, section, etype, node):
+        Entry_blob.__init__(self, section, etype, node)
+
+    def GetDefaultFilename(self):
+        return 'u-boot-br.bin'