ipdbg: fix double free of virtual-ir data
[openocd.git] / src / flash / nand / lpc32xx.h
blobf399142a9ff33bb48beefec3358ffd99676cf78b
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_LPC32XX_H
9 #define OPENOCD_FLASH_NAND_LPC32XX_H
11 enum lpc32xx_selected_controller {
12 LPC32XX_NO_CONTROLLER,
13 LPC32XX_MLC_CONTROLLER,
14 LPC32XX_SLC_CONTROLLER,
17 struct lpc32xx_nand_controller {
18 int osc_freq;
19 enum lpc32xx_selected_controller selected_controller;
20 int sw_write_protection;
21 uint32_t sw_wp_lower_bound;
22 uint32_t sw_wp_upper_bound;
25 #endif /* OPENOCD_FLASH_NAND_LPC32XX_H */