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

Bin Meng bmeng.cn at gmail.com
Tue Aug 21 11:58:38 UTC 2018


On Wed, Aug 22, 2018 at 2:18 AM, Jagdish Gediya <jagdish.gediya at 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 at 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


More information about the U-Boot mailing list