blob: 947246867bd98aff5a5deb4521acac0cd843d7d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* Copyright 2022 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __EMUL_INCLUDE_FLASH_CHIP_H
#define __EMUL_INCLUDE_FLASH_CHIP_H
#define CONFIG_RO_STORAGE_OFF 0x0
#define CONFIG_RW_STORAGE_OFF 0x0
#define CONFIG_FLASH_WRITE_SIZE 0x1 /* minimum write size */
#define CONFIG_FLASH_WRITE_IDEAL_SIZE 256 /* one page size for write */
#define CONFIG_FLASH_ERASE_SIZE 0x10000
#define CONFIG_FLASH_BANK_SIZE CONFIG_FLASH_ERASE_SIZE
#endif /* __EMUL_INCLUDE_FLASH_CHIP_H */
|