OpenOCD
non_cfi.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2007 by Dominic Rath *
5  * Dominic.Rath@gmx.de *
6  ***************************************************************************/
7 
8 #ifndef OPENOCD_FLASH_NOR_NON_CFI_H
9 #define OPENOCD_FLASH_NOR_NON_CFI_H
10 
11 struct non_cfi {
12  uint16_t mfr;
13  uint16_t id;
14  uint16_t pri_id;
15  uint32_t dev_size;
16  uint16_t interface_desc;
19  uint32_t erase_region_info[6];
21 };
22 
23 void cfi_fixup_non_cfi(struct flash_bank *bank);
24 
25 #endif /* OPENOCD_FLASH_NOR_NON_CFI_H */
uint8_t bank
Definition: esirisc.c:135
void cfi_fixup_non_cfi(struct flash_bank *bank)
Definition: non_cfi.c:458
Provides details of a flash bank, available either on-chip or through a major interface.
Definition: nor/core.h:75
uint16_t interface_desc
Definition: non_cfi.h:16
uint16_t pri_id
Definition: non_cfi.h:14
uint32_t dev_size
Definition: non_cfi.h:15
uint16_t mfr
Definition: non_cfi.h:12
uint8_t status_poll_mask
Definition: non_cfi.h:20
uint16_t id
Definition: non_cfi.h:13
uint8_t num_erase_regions
Definition: non_cfi.h:18
uint32_t erase_region_info[6]
Definition: non_cfi.h:19
uint16_t max_buf_write_size
Definition: non_cfi.h:17