arc: move soc to top-level dir soc/
Move the SoC outside of the architecture tree and put them at the same level as boards and architectures allowing both SoCs and boards to be maintained outside the tree. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
70d819b405
commit
f183444682
38 changed files with 10 additions and 11 deletions
|
@ -10,5 +10,4 @@ zephyr_cc_option(-fno-delete-null-pointer-checks)
|
|||
|
||||
zephyr_cc_option_ifdef (CONFIG_LTO -flto)
|
||||
|
||||
add_subdirectory(soc/${SOC_PATH})
|
||||
add_subdirectory(core)
|
||||
|
|
|
@ -10,7 +10,7 @@ choice
|
|||
prompt "ARC SoC Selection"
|
||||
depends on ARC
|
||||
|
||||
source "arch/arc/soc/*/Kconfig.soc"
|
||||
source "soc/arc/*/Kconfig.soc"
|
||||
endchoice
|
||||
|
||||
|
||||
|
@ -19,7 +19,7 @@ menu "ARC Options"
|
|||
|
||||
# Include these first so that any properties (e.g. defaults) below can be
|
||||
# overriden (by defining symbols in multiple locations)
|
||||
source "arch/arc/soc/*/Kconfig"
|
||||
source "soc/arc/*/Kconfig"
|
||||
|
||||
config ARCH
|
||||
default "arc"
|
||||
|
|
|
@ -33,12 +33,12 @@ The default SoC for this board supported in Zephyr is the EM9D.
|
|||
This configuration is a Harvard Architecture, with a separate
|
||||
instruction bus and data bus. Instruction memory is called ICCM
|
||||
and data memory is called DCCM. The configuration file for EM9D
|
||||
is found in :file:`arch/arc/soc/snps_emsk/Kconfig.defconfig.em9d`.
|
||||
is found in :file:`soc/arc/snps_emsk/Kconfig.defconfig.em9d`.
|
||||
|
||||
If you have a larger program, you can select the EM7D or EM11D, which gives
|
||||
access to 128KB DRAM with i-cache and d-cache. The configuration file for EM7D
|
||||
is found in :file:`arch/arc/soc/snps_emsk/Kconfig.defconfig.em7d` and EM11D is
|
||||
found in :file:`arch/arc/soc/snps_emsk/Kconfig.defconfig.em11d`.
|
||||
is found in :file:`soc/arc/snps_emsk/Kconfig.defconfig.em7d` and EM11D is
|
||||
found in :file:`soc/arc/snps_emsk/Kconfig.defconfig.em11d`.
|
||||
|
||||
|
||||
Hardware
|
||||
|
|
|
@ -11,8 +11,8 @@ config SOC
|
|||
string
|
||||
default "snps_emsk"
|
||||
|
||||
source "arch/arc/soc/snps_emsk/Kconfig.defconfig.em7d"
|
||||
source "arch/arc/soc/snps_emsk/Kconfig.defconfig.em11d"
|
||||
source "arch/arc/soc/snps_emsk/Kconfig.defconfig.em9d"
|
||||
source "soc/arc/snps_emsk/Kconfig.defconfig.em7d"
|
||||
source "soc/arc/snps_emsk/Kconfig.defconfig.em11d"
|
||||
source "soc/arc/snps_emsk/Kconfig.defconfig.em9d"
|
||||
|
||||
endif #SOC_EMSK
|
|
@ -14,7 +14,7 @@ config UART_CONSOLE_ON_DEV_NAME
|
|||
string
|
||||
default "UART_0"
|
||||
|
||||
source "arch/arc/soc/snps_nsim/Kconfig.defconfig.em"
|
||||
source "arch/arc/soc/snps_nsim/Kconfig.defconfig.sem"
|
||||
source "soc/arc/snps_nsim/Kconfig.defconfig.em"
|
||||
source "soc/arc/snps_nsim/Kconfig.defconfig.sem"
|
||||
|
||||
endif #SOC_NSIM
|
Loading…
Add table
Add a link
Reference in a new issue