From 28bbe4e98337948e814e40cebe69f7958a48e560 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Wed, 17 Nov 2010 18:01:07 +0800 Subject: FLASH/NOR: Remove useless file avrf.h Signed-off-by: Antonio Borneo --- src/flash/nor/avrf.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/flash/nor/avrf.c') diff --git a/src/flash/nor/avrf.c b/src/flash/nor/avrf.c index 4dc7c239..5a2482e4 100644 --- a/src/flash/nor/avrf.c +++ b/src/flash/nor/avrf.c @@ -22,7 +22,6 @@ #endif #include "imp.h" -#include "avrf.h" #include @@ -50,6 +49,22 @@ #define AVR_JTAG_REG_ProgrammingCommand_Len 15 #define AVR_JTAG_REG_FlashDataByte_Len 16 +struct avrf_type +{ + char name[15]; + uint16_t chip_id; + int flash_page_size; + int flash_page_num; + int eeprom_page_size; + int eeprom_page_num; +}; + +struct avrf_flash_bank +{ + int ppage_size; + int probed; +}; + static struct avrf_type avft_chips_info[] = { /* name, chip_id, flash_page_size, flash_page_num, -- cgit v1.2.3