summaryrefslogtreecommitdiff
path: root/firmware/stub/vboot_api_stub_region.c
blob: f462fe4ecd94bfdef997bf013ad50ee2dfd6bd1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * Stub implementations of region API function.
 */

#include <stdint.h>
#include <stdlib.h>

#include "vboot_api.h"

VbError_t VbExRegionRead(VbCommonParams *cparams,
			 enum vb_firmware_region region, uint32_t offset,
			 uint32_t size, void *buf)
{
	return VBERROR_SUCCESS;
}