flash: nor: lpc2000: handle lpc11xx parts with more than 96k memory 02/3802/2
authorPaul Fertser <fercerpav@gmail.com>
Wed, 5 Oct 2016 16:12:12 +0000 (19:12 +0300)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sun, 30 Oct 2016 20:37:29 +0000 (20:37 +0000)
commit4b50872ffe1375c57bc82122dc76ed0324ab91ef
tree207084bcb608b69e4f31c0cd3c67e6516b48a0e0
parenteaacb900dd3ce5257dcfec35a8032a873d141b6a
flash: nor: lpc2000: handle lpc11xx parts with more than 96k memory

Known big flash parts such as LPC11u68/e68 have a non-uniform memory
organisation, the first 24 sectors are 4k, the rest are 32k.

Change-Id: Icf515152dfc54ec0ca187561d2d63088b9640f14
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3802
Tested-by: jenkins
Reviewed-by: akaWolf
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/flash/nor/lpc2000.c