powerpc_mpc85xx_bootpg_resetvec.py 786 B

12345678910111213141516171819202122232425
  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 entry import Entry
  7. from blob import Entry_blob
  8. class Entry_powerpc_mpc85xx_bootpg_resetvec(Entry_blob):
  9. """PowerPC mpc85xx bootpg + resetvec code for U-Boot
  10. Properties / Entry arguments:
  11. - filename: Filename of u-boot-br.bin (default 'u-boot-br.bin')
  12. This enrty is valid for PowerPC mpc85xx cpus. This entry holds
  13. 'bootpg + resetvec' code for PowerPC mpc85xx CPUs which needs to be
  14. placed at offset 'RESET_VECTOR_ADDRESS - 0xffc'.
  15. """
  16. def __init__(self, section, etype, node):
  17. Entry_blob.__init__(self, section, etype, node)
  18. def GetDefaultFilename(self):
  19. return 'u-boot-br.bin'