X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=inline;f=src%2Fflash%2Fnand%2Flpc3180.h;h=4d162fc8cb7a1ffb8aec47763781834ffc510787;hb=8eb7df07b32dc3a0aaf9ebde4bd5eb7bad49cc80;hp=0891cedf7c470da16909655994dd1cd6dd922d0a;hpb=e1ec02bb055fa356b058dddc0a15710e0fdc9870;p=openocd diff --git a/src/flash/nand/lpc3180.h b/src/flash/nand/lpc3180.h index 0891cedf..4d162fc8 100644 --- a/src/flash/nand/lpc3180.h +++ b/src/flash/nand/lpc3180.h @@ -15,26 +15,25 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ + #ifndef LPC3180_NAND_CONTROLLER_H #define LPC3180_NAND_CONTROLLER_H -enum lpc3180_selected_controller -{ +enum lpc3180_selected_controller { LPC3180_NO_CONTROLLER, LPC3180_MLC_CONTROLLER, LPC3180_SLC_CONTROLLER, }; -struct lpc3180_nand_controller -{ - struct target *target; +struct lpc3180_nand_controller { int osc_freq; enum lpc3180_selected_controller selected_controller; + int is_bulk; int sw_write_protection; uint32_t sw_wp_lower_bound; uint32_t sw_wp_upper_bound; }; -#endif /*LPC3180_NAND_CONTROLLER_H */ +#endif /*LPC3180_NAND_CONTROLLER_H */