From 4cc359794420dbe0aedba38bde0ee4d871cdb354 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Wed, 17 Nov 2010 21:00:25 +0800 Subject: FLASH/NOR: Remove useless file lpc288x.h Signed-off-by: Antonio Borneo --- src/flash/nor/lpc288x.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/flash/nor/lpc288x.c') diff --git a/src/flash/nor/lpc288x.c b/src/flash/nor/lpc288x.c index b6d207e..d8cecc0 100644 --- a/src/flash/nor/lpc288x.c +++ b/src/flash/nor/lpc288x.c @@ -32,7 +32,6 @@ #endif #include "imp.h" -#include "lpc288x.h" #include @@ -85,6 +84,19 @@ /* F_CLK_TIME */ #define FCT_CLK_DIV_MASK 0x0FFF +struct lpc288x_flash_bank +{ + uint32_t working_area; + uint32_t working_area_size; + + /* chip id register */ + uint32_t cidr; + char * target_name; + uint32_t cclk; + + uint32_t sector_size_break; +}; + static uint32_t lpc288x_wait_status_busy(struct flash_bank *bank, int timeout); static void lpc288x_load_timer(int erase, struct target *target); static void lpc288x_set_flash_clk(struct flash_bank *bank); -- cgit v1.1