diff options
author | Andrea Merello <andrea.merello@gmail.com> | 2017-03-01 11:32:07 +0100 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2017-10-03 11:22:18 +0100 |
commit | 10a3b24daf379162caf84fe757f849d7ba48c379 (patch) | |
tree | 6df10f4a19d337be1316603c135b78a502ad4816 /contrib | |
parent | f95f8b70fbd0f7e9c91a2d9006b1abb2dd07ebf2 (diff) |
flash: efm32: add support for EFR-familty (e.g. bluegecko)
This patch adds support for Blue Gecko and Mighty Gecko chips from
Silabs.
They have different EFM32_MSC_REGBASE and LOCK register offset.
Based on the original patch from Andreas Kemnade.
Change-Id: I166c14960ced7c880b68083badd1b31372fefabe
Cc: Andreas Kemnade <andreas@kemnade.info>
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Reviewed-on: http://openocd.zylin.com/4034
Reviewed-by: Jonas Norling <jonas.norling@cyanconnode.com>
Tested-by: jenkins
Reviewed-by: Fredrik Hederstierna <fredrik@hederstierna.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-by: chrysn <chrysn@fsfe.org>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/loaders/flash/efm32.S | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/loaders/flash/efm32.S b/contrib/loaders/flash/efm32.S index 25d63010..c5de55c2 100644 --- a/contrib/loaders/flash/efm32.S +++ b/contrib/loaders/flash/efm32.S @@ -44,11 +44,7 @@ #define EFM32_MSC_ADDRB_OFFSET 0x010 #define EFM32_MSC_WDATA_OFFSET 0x018 #define EFM32_MSC_STATUS_OFFSET 0x01c -#define EFM32_MSC_LOCK_OFFSET 0x03c - /* unlock MSC */ - ldr r6, =#0x1b71 - str r6, [r0, #EFM32_MSC_LOCK_OFFSET] /* set WREN to 1 */ movs r6, #1 str r6, [r0, #EFM32_MSC_WRITECTRL_OFFSET] |