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:
Kumar Gala 2018-03-14 19:16:40 -05:00 committed by ruuddw
parent 60ec8be309
commit 311e6b9e3e
7 changed files with 1 additions and 105 deletions

View file

@ -15,6 +15,7 @@ choice
config ARC
bool "ARC architecture"
select HAS_DTS
config ARM
bool "ARM architecture"

View file

@ -172,64 +172,6 @@ source "arch/arc/core/mpu/Kconfig"
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
bool
prompt "Detect d-cache line size at runtime"

View file

@ -28,34 +28,6 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
config HARVARD
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
def_bool y
@ -244,13 +216,6 @@ endif # UART_QMSI_1
endif # UART_QMSI
if UART_CONSOLE && !HAS_DTS
config UART_CONSOLE_ON_DEV_NAME
default "UART_1"
endif
if SPI
config SPI_QMSI

View file

@ -2,5 +2,4 @@
config BOARD_ARDUINO_101_SSS
bool "Arduino 101 Sensor Sub System"
depends on SOC_QUARK_SE_C1000_SS
select HAS_DTS
select HAS_DTS_I2C

View file

@ -4,15 +4,6 @@ if BOARD_ARDUINO_101_SSS
config BOARD
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
config BMI160_GPIO_DEV_NAME

View file

@ -7,7 +7,6 @@
config BOARD_EM_STARTERKIT
bool "ARC EM Starter Kit"
depends on (SOC_EM7D || SOC_EM9D || SOC_EM11D)
select HAS_DTS
help
The DesignWare ARC EM Starter Kit board is a board
that can host up to 3 different SOC FPGA bit files.

View file

@ -2,5 +2,4 @@
config BOARD_QUARK_SE_C1000_DEVBOARD_SS
bool "Quark SE C1000 - Sensor Sub System"
depends on SOC_QUARK_SE_C1000_SS
select HAS_DTS
select HAS_DTS_I2C