efm32: correct erase address if bank->base != 0 40/4440/2
authorAndreas Kemnade <andreas@kemnade.info>
Sun, 4 Mar 2018 08:07:23 +0000 (09:07 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Sun, 18 Nov 2018 08:22:18 +0000 (08:22 +0000)
commite406f2b0dce0b7c6974ca715700f445e2580a36d
treef2d7228645357d6787c10b94c2e97fc1d4941ab6
parent5b350bf05c7f9e092ae030e0ace9e63114224ddb
efm32: correct erase address if bank->base != 0

Prepare for additional flash banks not located at address 0

Change-Id: I60b78c917f94fa52bf24df9e3315536f776eec84
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Reviewed-on: http://openocd.zylin.com/4440
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/efm32.c