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
;
17
uint16_t
max_buf_write_size
;
18
uint8_t
num_erase_regions
;
19
uint32_t
erase_region_info
[6];
20
uint8_t
status_poll_mask
;
21
};
22
23
void
cfi_fixup_non_cfi
(
struct
flash_bank
*
bank
);
24
25
#endif
/* OPENOCD_FLASH_NOR_NON_CFI_H */
bank
uint8_t bank
Definition:
esirisc.c:135
cfi_fixup_non_cfi
void cfi_fixup_non_cfi(struct flash_bank *bank)
Definition:
non_cfi.c:458
flash_bank
Provides details of a flash bank, available either on-chip or through a major interface.
Definition:
nor/core.h:75
non_cfi
Definition:
non_cfi.h:11
non_cfi::interface_desc
uint16_t interface_desc
Definition:
non_cfi.h:16
non_cfi::pri_id
uint16_t pri_id
Definition:
non_cfi.h:14
non_cfi::dev_size
uint32_t dev_size
Definition:
non_cfi.h:15
non_cfi::mfr
uint16_t mfr
Definition:
non_cfi.h:12
non_cfi::status_poll_mask
uint8_t status_poll_mask
Definition:
non_cfi.h:20
non_cfi::id
uint16_t id
Definition:
non_cfi.h:13
non_cfi::num_erase_regions
uint8_t num_erase_regions
Definition:
non_cfi.h:18
non_cfi::erase_region_info
uint32_t erase_region_info[6]
Definition:
non_cfi.h:19
non_cfi::max_buf_write_size
uint16_t max_buf_write_size
Definition:
non_cfi.h:17
src
flash
nor
non_cfi.h
Generated by
1.9.1