target/cortex_m: workaround Cortex-M7 erratum 3092511
[openocd.git] / src / flash / nand / lpc3180.h
blob519be7e7fd1f640efc580b57e64ec1eb21d9a983
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /***************************************************************************
4 * Copyright (C) 2007 by Dominic Rath *
5 * Dominic.Rath@gmx.de *
6 ***************************************************************************/
8 #ifndef OPENOCD_FLASH_NAND_LPC3180_H
9 #define OPENOCD_FLASH_NAND_LPC3180_H
11 enum lpc3180_selected_controller {
12 LPC3180_NO_CONTROLLER,
13 LPC3180_MLC_CONTROLLER,
14 LPC3180_SLC_CONTROLLER,
17 struct lpc3180_nand_controller {
18 int osc_freq;
19 enum lpc3180_selected_controller selected_controller;
20 int is_bulk;
21 int sw_write_protection;
22 uint32_t sw_wp_lower_bound;
23 uint32_t sw_wp_upper_bound;
26 #endif /* OPENOCD_FLASH_NAND_LPC3180_H */