u_boot_spl_nodtb.py 974 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-nodtb.bin'
  6. #
  7. from entry import Entry
  8. from blob import Entry_blob
  9. class Entry_u_boot_spl_nodtb(Entry_blob):
  10. """SPL binary without device tree appended
  11. Properties / Entry arguments:
  12. - filename: Filename of spl/u-boot-spl-nodtb.bin (default
  13. 'spl/u-boot-spl-nodtb.bin')
  14. This is the U-Boot SPL binary, It does not include a device tree blob at
  15. the end of it so may not be able to work without it, assuming SPL needs
  16. a device tree to operation on your platform. You can add a u_boot_spl_dtb
  17. entry after this one, or use a u_boot_spl entry instead (which contains
  18. both SPL and the device tree).
  19. """
  20. def __init__(self, section, etype, node):
  21. Entry_blob.__init__(self, section, etype, node)
  22. def GetDefaultFilename(self):
  23. return 'spl/u-boot-spl-nodtb.bin'