cros_ec_rw.py 762 B

12345678910111213141516171819202122
  1. # SPDX-License-Identifier: GPL-2.0+
  2. # Copyright (c) 2018 Google, Inc
  3. # Written by Simon Glass <sjg@chromium.org>
  4. #
  5. # Entry-type module for a Chromium OS EC image (read-write section)
  6. #
  7. from blob_named_by_arg import Entry_blob_named_by_arg
  8. class Entry_cros_ec_rw(Entry_blob_named_by_arg):
  9. """A blob entry which contains a Chromium OS read-write EC image
  10. Properties / Entry arguments:
  11. - cros-ec-rw-path: Filename containing the EC image
  12. This entry holds a Chromium OS EC (embedded controller) image, for use in
  13. updating the EC on startup via software sync.
  14. """
  15. def __init__(self, section, etype, node):
  16. Entry_blob_named_by_arg.__init__(self, section, etype, node,
  17. 'cros-ec-rw')