rockchip: rk3399: Add Nanopi M4 2GB board support
[platform/kernel/u-boot.git] / tools / binman / etype / powerpc_mpc85xx_bootpg_resetvec.py
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
7 from entry import Entry
8 from blob import Entry_blob
9
10 class Entry_powerpc_mpc85xx_bootpg_resetvec(Entry_blob):
11     """PowerPC mpc85xx bootpg + resetvec code for U-Boot
12
13     Properties / Entry arguments:
14         - filename: Filename of u-boot-br.bin (default 'u-boot-br.bin')
15
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'.
19     """
20
21     def __init__(self, section, etype, node):
22         Entry_blob.__init__(self, section, etype, node)
23
24     def GetDefaultFilename(self):
25         return 'u-boot-br.bin'