arch: arc: Use DTS for all ARC SoCs
Now that all ARC SoCs we can remove code associated with !HAS_DTS and select HAS_DTS at the architecture level. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
60ec8be309
commit
311e6b9e3e
7 changed files with 1 additions and 105 deletions
|
@ -15,6 +15,7 @@ choice
|
||||||
|
|
||||||
config ARC
|
config ARC
|
||||||
bool "ARC architecture"
|
bool "ARC architecture"
|
||||||
|
select HAS_DTS
|
||||||
|
|
||||||
config ARM
|
config ARM
|
||||||
bool "ARM architecture"
|
bool "ARM architecture"
|
||||||
|
|
|
@ -172,64 +172,6 @@ source "arch/arc/core/mpu/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
if !HAS_DTS
|
|
||||||
config ICCM_SIZE
|
|
||||||
int "ICCM Size in kB"
|
|
||||||
help
|
|
||||||
This option specifies the size of the ICCM in kB. It is normally set by
|
|
||||||
the board's defconfig file and the user should generally avoid modifying
|
|
||||||
it via the menu configuration.
|
|
||||||
|
|
||||||
config ICCM_BASE_ADDRESS
|
|
||||||
hex "ICCM Base Address"
|
|
||||||
help
|
|
||||||
This option specifies the base address of the ICCM on the board. It is
|
|
||||||
normally set by the board's defconfig file and the user should generally
|
|
||||||
avoid modifying it via the menu configuration.
|
|
||||||
|
|
||||||
config DCCM_SIZE
|
|
||||||
int "DCCM Size in kB"
|
|
||||||
help
|
|
||||||
This option specifies the size of the DCCM in kB. It is normally set by
|
|
||||||
the board's defconfig file and the user should generally avoid modifying
|
|
||||||
it via the menu configuration.
|
|
||||||
|
|
||||||
config DCCM_BASE_ADDRESS
|
|
||||||
hex "DCCM Base Address"
|
|
||||||
help
|
|
||||||
This option specifies the base address of the DCCM on the board. It is
|
|
||||||
normally set by the board's defconfig file and the user should generally
|
|
||||||
avoid modifying it via the menu configuration.
|
|
||||||
|
|
||||||
config SRAM_SIZE
|
|
||||||
int "SRAM Size in kB"
|
|
||||||
help
|
|
||||||
This option specifies the size of the SRAM in kB. It is normally set by
|
|
||||||
the board's defconfig file and the user should generally avoid modifying
|
|
||||||
it via the menu configuration.
|
|
||||||
|
|
||||||
config SRAM_BASE_ADDRESS
|
|
||||||
hex "SRAM Base Address"
|
|
||||||
help
|
|
||||||
This option specifies the base address of the SRAM on the board. It is
|
|
||||||
normally set by the board's defconfig file and the user should generally
|
|
||||||
avoid modifying it via the menu configuration.
|
|
||||||
|
|
||||||
config FLASH_SIZE
|
|
||||||
int "Flash Size in kB"
|
|
||||||
help
|
|
||||||
This option specifies the size of the flash in kB. It is normally set by
|
|
||||||
the board's defconfig file and the user should generally avoid modifying
|
|
||||||
it via the menu configuration.
|
|
||||||
|
|
||||||
config FLASH_BASE_ADDRESS
|
|
||||||
hex "Flash Base Address"
|
|
||||||
help
|
|
||||||
This option specifies the base address of the flash on the board. It is
|
|
||||||
normally set by the board's defconfig file and the user should generally
|
|
||||||
avoid modifying it via the menu configuration.
|
|
||||||
endif
|
|
||||||
|
|
||||||
config CACHE_LINE_SIZE_DETECT
|
config CACHE_LINE_SIZE_DETECT
|
||||||
bool
|
bool
|
||||||
prompt "Detect d-cache line size at runtime"
|
prompt "Detect d-cache line size at runtime"
|
||||||
|
|
|
@ -28,34 +28,6 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
|
||||||
config HARVARD
|
config HARVARD
|
||||||
def_bool n
|
def_bool n
|
||||||
|
|
||||||
if !HAS_DTS
|
|
||||||
config FLASH_BASE_ADDRESS
|
|
||||||
default 0x40000000
|
|
||||||
|
|
||||||
config FLASH_SIZE
|
|
||||||
default 152
|
|
||||||
|
|
||||||
config SRAM_BASE_ADDRESS
|
|
||||||
default 0x4000 if NSIM
|
|
||||||
default 0xa8000400
|
|
||||||
|
|
||||||
config SRAM_SIZE
|
|
||||||
default 16 if NSIM
|
|
||||||
default 27
|
|
||||||
|
|
||||||
config ICCM_BASE_ADDRESS
|
|
||||||
default 0xFFFFFFFF
|
|
||||||
|
|
||||||
config ICCM_SIZE
|
|
||||||
default 0
|
|
||||||
|
|
||||||
config DCCM_BASE_ADDRESS
|
|
||||||
default 0x80000000
|
|
||||||
|
|
||||||
config DCCM_SIZE
|
|
||||||
default 8
|
|
||||||
endif
|
|
||||||
|
|
||||||
config QMSI
|
config QMSI
|
||||||
def_bool y
|
def_bool y
|
||||||
|
|
||||||
|
@ -244,13 +216,6 @@ endif # UART_QMSI_1
|
||||||
|
|
||||||
endif # UART_QMSI
|
endif # UART_QMSI
|
||||||
|
|
||||||
if UART_CONSOLE && !HAS_DTS
|
|
||||||
|
|
||||||
config UART_CONSOLE_ON_DEV_NAME
|
|
||||||
default "UART_1"
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
if SPI
|
if SPI
|
||||||
|
|
||||||
config SPI_QMSI
|
config SPI_QMSI
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
config BOARD_ARDUINO_101_SSS
|
config BOARD_ARDUINO_101_SSS
|
||||||
bool "Arduino 101 Sensor Sub System"
|
bool "Arduino 101 Sensor Sub System"
|
||||||
depends on SOC_QUARK_SE_C1000_SS
|
depends on SOC_QUARK_SE_C1000_SS
|
||||||
select HAS_DTS
|
|
||||||
select HAS_DTS_I2C
|
select HAS_DTS_I2C
|
||||||
|
|
|
@ -4,15 +4,6 @@ if BOARD_ARDUINO_101_SSS
|
||||||
config BOARD
|
config BOARD
|
||||||
default "arduino_101_sss"
|
default "arduino_101_sss"
|
||||||
|
|
||||||
if !HAS_DTS
|
|
||||||
config FLASH_SIZE
|
|
||||||
default 128
|
|
||||||
|
|
||||||
|
|
||||||
config FLASH_BASE_ADDRESS
|
|
||||||
default 0x40034000
|
|
||||||
endif
|
|
||||||
|
|
||||||
if GPIO_QMSI && BMI160 && BMI160_TRIGGER
|
if GPIO_QMSI && BMI160 && BMI160_TRIGGER
|
||||||
|
|
||||||
config BMI160_GPIO_DEV_NAME
|
config BMI160_GPIO_DEV_NAME
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
config BOARD_EM_STARTERKIT
|
config BOARD_EM_STARTERKIT
|
||||||
bool "ARC EM Starter Kit"
|
bool "ARC EM Starter Kit"
|
||||||
depends on (SOC_EM7D || SOC_EM9D || SOC_EM11D)
|
depends on (SOC_EM7D || SOC_EM9D || SOC_EM11D)
|
||||||
select HAS_DTS
|
|
||||||
help
|
help
|
||||||
The DesignWare ARC EM Starter Kit board is a board
|
The DesignWare ARC EM Starter Kit board is a board
|
||||||
that can host up to 3 different SOC FPGA bit files.
|
that can host up to 3 different SOC FPGA bit files.
|
||||||
|
|
|
@ -2,5 +2,4 @@
|
||||||
config BOARD_QUARK_SE_C1000_DEVBOARD_SS
|
config BOARD_QUARK_SE_C1000_DEVBOARD_SS
|
||||||
bool "Quark SE C1000 - Sensor Sub System"
|
bool "Quark SE C1000 - Sensor Sub System"
|
||||||
depends on SOC_QUARK_SE_C1000_SS
|
depends on SOC_QUARK_SE_C1000_SS
|
||||||
select HAS_DTS
|
|
||||||
select HAS_DTS_I2C
|
select HAS_DTS_I2C
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue