]> git.ipfire.org Git - people/ms/u-boot.git/blame - tools/binman/etype/u_boot_spl.py
binman: Support accessing binman tables at run time
[people/ms/u-boot.git] / tools / binman / etype / u_boot_spl.py
CommitLineData
4f44304b
SG
1# Copyright (c) 2016 Google, Inc
2# Written by Simon Glass <sjg@chromium.org>
3#
4# SPDX-License-Identifier: GPL-2.0+
5#
6# Entry-type module for spl/u-boot-spl.bin
7#
8
19790632
SG
9import elf
10
4f44304b
SG
11from entry import Entry
12from blob import Entry_blob
13
14class Entry_u_boot_spl(Entry_blob):
15 def __init__(self, image, etype, node):
16 Entry_blob.__init__(self, image, etype, node)
19790632 17 self.elf_fname = 'spl/u-boot-spl'
4f44304b
SG
18
19 def GetDefaultFilename(self):
20 return 'spl/u-boot-spl.bin'
19790632
SG
21
22 def WriteSymbols(self, image):
23 elf.LookupAndWriteSymbols(self.elf_fname, self, image)