soc: riscv32: Move rv32m1 flash memory definitions to dts
Moves the flash memory definitions from Kconfig to device tree for the rv32m1 ri5cy and zero-riscy cores. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
cf1be5a3c5
commit
15baad9419
7 changed files with 75 additions and 15 deletions
|
@ -29,8 +29,8 @@
|
|||
#define ROMABLE_REGION ROM
|
||||
#define RAMABLE_REGION RAM
|
||||
|
||||
#define ROM_BASE CONFIG_RISCV32_RV32M1_ROM_BASE_ADDR
|
||||
#define ROM_SIZE CONFIG_RISCV32_RV32M1_ROM_SIZE
|
||||
#define ROM_BASE DT_FLASH_BASE_ADDRESS
|
||||
#define ROM_SIZE KB(DT_FLASH_SIZE)
|
||||
#define RAM_BASE DT_SRAM_BASE_ADDRESS
|
||||
#define RAM_SIZE KB(DT_SRAM_SIZE)
|
||||
#define VECTOR_BASE CONFIG_RISCV32_RV32M1_VECTOR_BASE_ADDR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue