X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnand%2Farm_io.h;h=30099cfc85c19bd04615e3127657d2ced817723f;hb=refs%2Fchanges%2F88%2F3488%2F3;hp=d3504f434d7a5a62d4b962ca1030ba9684d86fc9;hpb=da3bcb392e852214b0dda878f6161c8f1e8d15f3;p=openocd.git diff --git a/src/flash/nand/arm_io.h b/src/flash/nand/arm_io.h index d3504f434d..30099cfc85 100644 --- a/src/flash/nand/arm_io.h +++ b/src/flash/nand/arm_io.h @@ -12,23 +12,18 @@ * GNU General Public License for more details. * * 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. + * along with this program. If not, see . */ #ifndef __ARM_NANDIO_H #define __ARM_NANDIO_H -#include -#include - /** * Available operational states the arm_nand_data struct can be in. */ enum arm_nand_op { - ARM_NAND_NONE, /**< No operation performed. */ - ARM_NAND_READ, /**< Read operation performed. */ - ARM_NAND_WRITE, /**< Write operation performed. */ + ARM_NAND_NONE, /**< No operation performed. */ + ARM_NAND_READ, /**< Read operation performed. */ + ARM_NAND_WRITE, /**< Write operation performed. */ }; /** @@ -40,7 +35,7 @@ struct arm_nand_data { struct target *target; /** The copy area holds code loop and data for I/O operations. */ - struct working_area *copy_area; + struct working_area *copy_area; /** The chunk size is the page size or ECC chunk. */ unsigned chunk_size; @@ -57,4 +52,4 @@ struct arm_nand_data { int arm_nandwrite(struct arm_nand_data *nand, uint8_t *data, int size); int arm_nandread(struct arm_nand_data *nand, uint8_t *data, uint32_t size); -#endif /* __ARM_NANDIO_H */ +#endif /* __ARM_NANDIO_H */