summaryrefslogtreecommitdiff
path: root/chip/g/flash_info.h
blob: 443b64e031295956f040749a983fd1ac4c6e6936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright 2016 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.
 */
#ifndef __EC_CHIP_G_FLASH_INFO_H
#define __EC_CHIP_G_FLASH_INFO_H

void flash_info_write_enable(void);
void flash_info_write_disable(void);
int flash_info_physical_write(int byte_offset, int num_bytes, const char *data);

#endif  /* ! __EC_CHIP_G_FLASH_INFO_H */