From ab5f98edcd3e8810c15d378d3244238d9d8f8d0e Mon Sep 17 00:00:00 2001 From: richard vegh Date: Tue, 16 Mar 2010 10:46:41 +0100 Subject: lpc3180: LPC3180(LPC3250) SLC driver implemented MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Until this time only basic SLC functionality exists when you want to use SLC to access external nand flash. Basic functionality can be selected with command: lpc3180 select 0 slc It is anyway very slow to write/read to/from nand flash. With the new command, SLC speed improved about 20 times, and hardware ECC info also read/written from/to nand flash OOB area: lpc3180 select 0 slc bulk Speed improvement achieved by using working are in SRAM of the LPC3250 chip and controlling DMA controller to interact between SRAM and SLC peripheral. Here are the patches, and if they are ok than take them. Tested with hitex LPC3250 usb stick. Signed-off-by: Øyvind Harboe --- src/flash/nand/lpc3180.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/flash/nand/lpc3180.h') diff --git a/src/flash/nand/lpc3180.h b/src/flash/nand/lpc3180.h index 0891cedf..88280f32 100644 --- a/src/flash/nand/lpc3180.h +++ b/src/flash/nand/lpc3180.h @@ -32,6 +32,7 @@ struct lpc3180_nand_controller struct target *target; int osc_freq; enum lpc3180_selected_controller selected_controller; + int is_bulk; int sw_write_protection; uint32_t sw_wp_lower_bound; uint32_t sw_wp_upper_bound; -- cgit v1.2.3