Skip to content

Commit

Permalink
arch/arm: define flash/SRAM base addresses per SoC
Browse files Browse the repository at this point in the history
This removes the default flash and SRAM base addresses from the ARM core
Kconfig file. Each individual SoC/processors Kconfig has to define them.
This is in preparation to support Atmel SAM3 family processors as they
have different base addresses.

Change-Id: I97ea9b43386d1e286ee692f583c97cfbb5399b0f
Signed-off-by: Daniel Leung <[email protected]>
  • Loading branch information
dcpleung authored and nashif committed Feb 6, 2016
1 parent d205c0f commit e55bf6c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/core/cortex_m/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ config SRAM_SIZE

config SRAM_BASE_ADDRESS
hex "SRAM Base Address"
default 0x20000000
help
This option specifies the base address of the SRAM on the platform. It is
normally set by the platform's defconfig file and the user should generally
Expand All @@ -121,7 +120,6 @@ config FLASH_SIZE

config FLASH_BASE_ADDRESS
hex "Flash Base Address"
default 0x00000000
help
This option specifies the base address of the flash on the platform. It is
normally set by the platform's defconfig file and the user should generally
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/soc/fsl_frdm_k64f/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ if SOC_FSL_FRDM_K64F
config SOC
default fsl_frdm_k64f

config SRAM_BASE_ADDRESS
default 0x20000000

config FLASH_BASE_ADDRESS
default 0x00000000

config NUM_IRQ_PRIO_BITS
int
default 4
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/soc/ti_lm3s6965/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ if SOC_TI_LM3S6965
config SOC
default ti_lm3s6965

config SRAM_BASE_ADDRESS
default 0x20000000

config FLASH_BASE_ADDRESS
default 0x00000000

config NUM_IRQ_PRIO_BITS
int
default 3
Expand Down

0 comments on commit e55bf6c

Please sign in to comment.