arch: arm: Refactor and cleanup nRF52 series arch code

In preparation for the upcoming nRF52840 support, this patch refactors
the nRF52 series support code to allow for future members of the IC
family to be added, while keeping everything that is common together.

JIRA: ZEP-1418

Change-Id: I4200064ca888d72ba0b8629ce94e4ea6384099ad
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Carles Cufi 2016-12-07 15:10:51 +01:00 committed by Kumar Gala
commit c5d2c4a65d
6 changed files with 79 additions and 86 deletions

View file

@ -35,10 +35,6 @@ config SRAM_BASE_ADDRESS
config FLASH_BASE_ADDRESS
default 0x00000000
config NUM_IRQS
int
default 39
config NUM_IRQ_PRIO_BITS
int
default 3