riscv32: 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:
Anas Nashif 2018-09-03 16:38:52 -05:00
commit 279cc2e448
43 changed files with 5 additions and 6 deletions

View file

@ -1,4 +1,3 @@
add_subdirectory(soc)
add_subdirectory(core)
set_property(GLOBAL PROPERTY PROPERTY_OUTPUT_FORMAT elf32-littleriscv)

View file

@ -7,7 +7,7 @@
choice
prompt "RISCV32 configuration selection"
depends on RISCV32
source "arch/riscv32/soc/*/Kconfig.soc"
source "soc/riscv32/*/Kconfig.soc"
endchoice
menu "RISCV32 Options"
@ -15,7 +15,7 @@ menu "RISCV32 Options"
# Include these first so that any properties (e.g. defaults) below can be
# overriden (by defining symbols in multiple locations)
source "arch/riscv32/soc/*/Kconfig"
source "soc/riscv32/*/Kconfig"
config ARCH
string

View file

@ -22,4 +22,4 @@ config RISCV_HAS_PLIC
Does the SOC provide support for a Platform Level Interrupt Controller
source "arch/riscv32/soc/riscv-privilege/*/Kconfig.soc"
source "soc/riscv32/riscv-privilege/*/Kconfig.soc"

View file

@ -4,4 +4,4 @@
#
# SPDX-License-Identifier: Apache-2.0
#
source "arch/riscv32/soc/riscv-privilege/*/Kconfig.defconfig.series"
source "soc/riscv32/riscv-privilege/*/Kconfig.defconfig.series"

View file

@ -5,4 +5,4 @@
# SPDX-License-Identifier: Apache-2.0
#
source "arch/riscv32/soc/riscv-privilege/*/Kconfig.series"
source "soc/riscv32/riscv-privilege/*/Kconfig.series"