diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-11-17 18:01:07 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-11-17 17:01:59 +0100 |
commit | 28bbe4e98337948e814e40cebe69f7958a48e560 (patch) | |
tree | 443203be46f9da513356608ce4b152ec788ede55 /src/flash/nor/avrf.c | |
parent | 2b546fdc45d33a7b407f49b3732d1a57afa60b72 (diff) |
FLASH/NOR: Remove useless file avrf.h
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/avrf.c')
-rw-r--r-- | src/flash/nor/avrf.c | 17 |
1 files changed, 16 insertions, 1 deletions
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 <target/avrt.h> @@ -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, |