flash/nor/nrf5: remove useless page padding and UICR autoerase 19/4819/3
authorTomas Vanek <vanekt@fbl.cz>
Sat, 22 Dec 2018 23:39:34 +0000 (00:39 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Tue, 26 Nov 2019 07:19:25 +0000 (07:19 +0000)
commit006d8e5444a67c8f569dcbd30add975d46635e38
tree1fda37340dddecc271ae94ce3eee8d8cf2eaf830
parentbe365730732231e0733353834b56f405a8219f2a
flash/nor/nrf5: remove useless page padding and UICR autoerase

nRF5 flash controller can write a word at a time. Ask flash
infrastructure to handle alignment and padding.

Fix mixing of offset and address in nrf5_ll_flash_write()
- the original code worked just because NRF5_FLASH_BASE is 0

Change-Id: Ibe8bdf899a1764cf4117b2deda1a4618eeb16697
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4819
Tested-by: jenkins
src/flash/nor/nrf5.c