.gitignore: remove cross-compile *-libtool
[fw/openocd] / src / flash / nor / non_cfi.h
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 */