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