u_boot_tpl_dtb_with_ucode.py 834 B

12345678910111213141516171819202122232425262728
  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. import control
  8. from entry import Entry
  9. from u_boot_dtb_with_ucode import Entry_u_boot_dtb_with_ucode
  10. import tools
  11. class Entry_u_boot_tpl_dtb_with_ucode(Entry_u_boot_dtb_with_ucode):
  12. """U-Boot TPL with embedded microcode pointer
  13. This is used when TPL must set up the microcode for U-Boot.
  14. See Entry_u_boot_ucode for full details of the entries involved in this
  15. process.
  16. """
  17. def __init__(self, section, etype, node):
  18. Entry_u_boot_dtb_with_ucode.__init__(self, section, etype, node)
  19. def GetDefaultFilename(self):
  20. return 'tpl/u-boot-tpl.dtb'
  21. def GetFdtEtype(self):
  22. return 'u-boot-tpl-dtb'