powerpc_mpc85xx_bootpg_resetvec.py 766 B

123456789101112131415161718192021222324
  1. # SPDX-License-Identifier: GPL-2.0+
  2. # Copyright 2018 NXP
  3. #
  4. # Entry-type module for the PowerPC mpc85xx bootpg and resetvec code for U-Boot
  5. #
  6. from binman.etype.blob import Entry_blob
  7. class Entry_powerpc_mpc85xx_bootpg_resetvec(Entry_blob):
  8. """PowerPC mpc85xx bootpg + resetvec code for U-Boot
  9. Properties / Entry arguments:
  10. - filename: Filename of u-boot-br.bin (default 'u-boot-br.bin')
  11. This entry is valid for PowerPC mpc85xx cpus. This entry holds
  12. 'bootpg + resetvec' code for PowerPC mpc85xx CPUs which needs to be
  13. placed at offset 'RESET_VECTOR_ADDRESS - 0xffc'.
  14. """
  15. def __init__(self, section, etype, node):
  16. super().__init__(section, etype, node)
  17. def GetDefaultFilename(self):
  18. return 'u-boot-br.bin'