u_boot_tpl_dtb_with_ucode.py 769 B

12345678910111213141516171819202122232425
  1. # SPDX-License-Identifier: GPL-2.0+
  2. # Copyright (c) 2016 Google, Inc
  3. # Written by Simon Glass <sjg@chromium.org>
  4. #
  5. # Entry-type module for U-Boot device tree with the microcode removed
  6. #
  7. from binman.etype.u_boot_dtb_with_ucode import Entry_u_boot_dtb_with_ucode
  8. class Entry_u_boot_tpl_dtb_with_ucode(Entry_u_boot_dtb_with_ucode):
  9. """U-Boot TPL with embedded microcode pointer
  10. This is used when TPL must set up the microcode for U-Boot.
  11. See Entry_u_boot_ucode for full details of the entries involved in this
  12. process.
  13. """
  14. def __init__(self, section, etype, node):
  15. super().__init__(section, etype, node)
  16. def GetDefaultFilename(self):
  17. return 'tpl/u-boot-tpl.dtb'
  18. def GetFdtEtype(self):
  19. return 'u-boot-tpl-dtb'