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 
8 #include <stdint.h>
9 
10 #define _STUB_IMPLEMENTATION_
11 
12 #include <stdlib.h>
13 
14 #include "vboot_api.h"
15 
VbExRegionRead(VbCommonParams * cparams,enum vb_firmware_region region,uint32_t offset,uint32_t size,void * buf)16 VbError_t VbExRegionRead(VbCommonParams *cparams,
17 			 enum vb_firmware_region region, uint32_t offset,
18 			 uint32_t size, void *buf)
19 {
20 	return VBERROR_SUCCESS;
21 }
22