lm3s: fix flash_lm3s_seek() end position.
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 26 May 2010 13:36:32 +0000 (13:36 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 26 May 2010 13:36:32 +0000 (13:36 +0000)
commit7b5a8ebc799a5d9486db4c2d89670b7ac7a236b4
tree773a2821b9236c8dca5032e2b5db2ca69c255dfc
parent3d527e7aacadd146a7b3a06eb491194ed39f0c85
lm3s: fix flash_lm3s_seek() end position.

The current position of the flash is stored internally using the
absolute memory address, so KSM_SEEK_END should sum the flash base
address (FLASH_BASE) to the flash size.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3838 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/cpu/cortex-m3/drv/flash_lm3s.c