blob: fae622c24b5547880207cd09d70e5b3c4725b7f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
* 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);
int flash_physical_info_read_word(int byte_offset, uint32_t *dst);
#endif /* ! __EC_CHIP_G_FLASH_INFO_H */
|