arch: refactor the SAM0 SoC fixups into a SoC-level file.

This prepares the way for the Trinket M0.

Signed-off-by: Michael Hope <mlhx@google.com>
This commit is contained in:
Michael Hope 2018-02-21 19:28:51 +01:00 committed by Kumar Gala
commit 2e7146b7a6
2 changed files with 7 additions and 6 deletions

View file

@ -1,6 +0,0 @@
/* SoC level DTS fixup file */
#define FLASH_DEV_BASE_ADDRESS ATMEL_SAM0_NVMCTRL_41004000_BASE_ADDRESS_0
#define FLASH_DEV_NAME ATMEL_SAM0_NVMCTRL_41004000_LABEL
/* End of SoC Level DTS fixup file */

View file

@ -1,3 +1,8 @@
/* SoC level DTS fixup file */
#define FLASH_DEV_BASE_ADDRESS ATMEL_SAM0_NVMCTRL_41004000_BASE_ADDRESS_0
#define FLASH_DEV_NAME ATMEL_SAM0_NVMCTRL_41004000_LABEL
#define CONFIG_GPIO_SAM0_PORTA_LABEL ATMEL_SAM0_GPIO_41004400_LABEL
#define CONFIG_GPIO_SAM0_PORTA_BASE_ADDRESS ATMEL_SAM0_GPIO_41004400_BASE_ADDRESS
@ -52,3 +57,5 @@
#define CONFIG_PINMUX_SAM0_B_LABEL ATMEL_SAM0_PINMUX_41004480_LABEL
#define CONFIG_NUM_IRQ_PRIO_BITS ARM_V6M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
/* End of SoC Level DTS fixup file */