~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 74f58ba8570c3dfdf57887c29f7fea9a802df4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# SPDX-License-Identifier: GPL-2.0+
#
# Entry-type module for Rockchip TPL binary
#

from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg

class Entry_rockchip_tpl(Entry_blob_named_by_arg):
    """Rockchip TPL binary

    Properties / Entry arguments:
        - rockchip-tpl-path: Filename of file to read into the entry,
                             typically <soc>_ddr_<version>.bin

    This entry holds an external TPL binary used by some Rockchip SoCs
    instead of normal U-Boot TPL, typically to initialize DRAM.
    """
    def __init__(self, section, etype, node):
        super().__init__(section, etype, node, 'rockchip-tpl')
        self.external = True