Browse Source

soc: nios2f-zephyr: Port to HWMv2

Ports the nios2f-zephyr SoC configuration to hardware model version 2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
pull/69687/head
Jamie McCrae 2 years ago
parent
commit
c381edcb73
  1. 2
      soc/v2/altera/zephyr_nios2f/CMakeLists.txt
  2. 4
      soc/v2/altera/zephyr_nios2f/Kconfig
  3. 8
      soc/v2/altera/zephyr_nios2f/Kconfig.defconfig
  4. 8
      soc/v2/altera/zephyr_nios2f/Kconfig.soc
  5. 0
      soc/v2/altera/zephyr_nios2f/cpu/README
  6. 0
      soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.qpf
  7. 0
      soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.qsf
  8. 0
      soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.qsys
  9. 0
      soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.sof
  10. 0
      soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.sopcinfo
  11. 0
      soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da_top.v
  12. 0
      soc/v2/altera/zephyr_nios2f/cpu/ghrd_timing.sdc
  13. 0
      soc/v2/altera/zephyr_nios2f/include/layout.h
  14. 0
      soc/v2/altera/zephyr_nios2f/include/linker.h
  15. 0
      soc/v2/altera/zephyr_nios2f/include/system.h
  16. 0
      soc/v2/altera/zephyr_nios2f/linker.ld
  17. 0
      soc/v2/altera/zephyr_nios2f/soc.h
  18. 2
      soc/v2/altera/zephyr_nios2f/soc.yml

2
soc/nios2/nios2f-zephyr/CMakeLists.txt → soc/v2/altera/zephyr_nios2f/CMakeLists.txt

@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
zephyr_include_directories(include)
zephyr_include_directories(.)
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/linker.ld CACHE INTERNAL "")

4
soc/nios2/nios2f-zephyr/Kconfig.soc → soc/v2/altera/zephyr_nios2f/Kconfig

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config SOC_NIOS2F_ZEPHYR
bool "Nios IIf - Zephyr Golden Configuration"
config SOC_ZEPHYR_NIOS2F
select NIOS2
select HAS_MUL_INSTRUCTION
select HAS_DIV_INSTRUCTION

8
soc/nios2/nios2f-zephyr/Kconfig.defconfig → soc/v2/altera/zephyr_nios2f/Kconfig.defconfig

@ -1,9 +1,7 @@ @@ -1,9 +1,7 @@
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
if SOC_NIOS2F_ZEPHYR
config SOC
default "nios2f-zephyr"
if SOC_ZEPHYR_NIOS2F
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 50000000
@ -23,4 +21,4 @@ config ALTERA_AVALON_MSGDMA @@ -23,4 +21,4 @@ config ALTERA_AVALON_MSGDMA
def_bool y
depends on DMA_NIOS2_MSGDMA
endif # SOC_NIOS2F_ZEPHYR
endif # SOC_ZEPHYR_NIOS2F

8
soc/v2/altera/zephyr_nios2f/Kconfig.soc

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config SOC_ZEPHYR_NIOS2F
bool
config SOC
default "zephyr_nios2f" if SOC_ZEPHYR_NIOS2F

0
soc/nios2/nios2f-zephyr/cpu/README → soc/v2/altera/zephyr_nios2f/cpu/README

0
soc/nios2/nios2f-zephyr/cpu/ghrd_10m50da.qpf → soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.qpf

0
soc/nios2/nios2f-zephyr/cpu/ghrd_10m50da.qsf → soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.qsf

0
soc/nios2/nios2f-zephyr/cpu/ghrd_10m50da.qsys → soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.qsys

0
soc/nios2/nios2f-zephyr/cpu/ghrd_10m50da.sof → soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.sof

0
soc/nios2/nios2f-zephyr/cpu/ghrd_10m50da.sopcinfo → soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da.sopcinfo

0
soc/nios2/nios2f-zephyr/cpu/ghrd_10m50da_top.v → soc/v2/altera/zephyr_nios2f/cpu/ghrd_10m50da_top.v

0
soc/nios2/nios2f-zephyr/cpu/ghrd_timing.sdc → soc/v2/altera/zephyr_nios2f/cpu/ghrd_timing.sdc

0
soc/nios2/nios2f-zephyr/include/layout.h → soc/v2/altera/zephyr_nios2f/include/layout.h

0
soc/nios2/nios2f-zephyr/include/linker.h → soc/v2/altera/zephyr_nios2f/include/linker.h

0
soc/nios2/nios2f-zephyr/include/system.h → soc/v2/altera/zephyr_nios2f/include/system.h

0
soc/nios2/nios2f-zephyr/linker.ld → soc/v2/altera/zephyr_nios2f/linker.ld

0
soc/nios2/nios2f-zephyr/soc.h → soc/v2/altera/zephyr_nios2f/soc.h

2
soc/v2/altera/zephyr_nios2f/soc.yml

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
socs:
- name: zephyr_nios2f
Loading…
Cancel
Save