1# SPDX-License-Identifier: GPL-2.0+ 2# Copyright 2021 Google LLC 3# Written by Simon Glass <sjg@chromium.org> 4# 5# Entry-type module for U-Boot binary 6# 7 8from binman.etype.blob_phase import Entry_blob_phase 9 10class Entry_u_boot_expanded(Entry_blob_phase): 11 """U-Boot flat binary broken out into its component parts 12 13 This is a section containing the U-Boot binary and a devicetree. Using this 14 entry type automatically creates this section, with the following entries 15 in it: 16 17 u-boot-nodtb 18 u-boot-dtb 19 20 Having the devicetree separate allows binman to update it in the final 21 image, so that the entries positions are provided to the running U-Boot. 22 """ 23 def __init__(self, section, etype, node): 24 super().__init__(section, etype, node, 'u-boot', 'u-boot-dtb', False) 25