vboot_api_stub_region.c 455 B

12345678910111213141516171819
  1. /* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
  2. * Use of this source code is governed by a BSD-style license that can be
  3. * found in the LICENSE file.
  4. *
  5. * Stub implementations of region API function.
  6. */
  7. #include <stdint.h>
  8. #include <stdlib.h>
  9. #include "vboot_api.h"
  10. VbError_t VbExRegionRead(VbCommonParams *cparams,
  11. enum vb_firmware_region region, uint32_t offset,
  12. uint32_t size, void *buf)
  13. {
  14. return VBERROR_SUCCESS;
  15. }