X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnand%2Flpc32xx.h;h=0cac27c3e826a738d0fdfd433500917881939ae7;hp=fd87245947887f157a870006aaf60bf4c778ed12;hb=fab0dcd7e6cb8cfbf63cb41f0978902371d30205;hpb=3f4b9e334b867a16c35b1c6d9a1f9aefd35fd91b diff --git a/src/flash/nand/lpc32xx.h b/src/flash/nand/lpc32xx.h index fd87245947..0cac27c3e8 100644 --- a/src/flash/nand/lpc32xx.h +++ b/src/flash/nand/lpc32xx.h @@ -17,18 +17,17 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ + #ifndef LPC32xx_NAND_CONTROLLER_H #define LPC32xx_NAND_CONTROLLER_H -enum lpc32xx_selected_controller -{ +enum lpc32xx_selected_controller { LPC32xx_NO_CONTROLLER, LPC32xx_MLC_CONTROLLER, LPC32xx_SLC_CONTROLLER, }; -struct lpc32xx_nand_controller -{ +struct lpc32xx_nand_controller { int osc_freq; enum lpc32xx_selected_controller selected_controller; int sw_write_protection; @@ -36,4 +35,4 @@ struct lpc32xx_nand_controller uint32_t sw_wp_upper_bound; }; -#endif /*LPC32xx_NAND_CONTROLLER_H */ +#endif /*LPC32xx_NAND_CONTROLLER_H */