Skip to content

Commit 5fe84d5

Browse files
committed
arch: nios2: remove arch
Remove architecture and dependencies. Remove altera HAL supporting nios2 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 7e47227 commit 5fe84d5

File tree

83 files changed

+17
-3673
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+17
-3673
lines changed

.ruff-excludes.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,6 @@ exclude = [
16851685
"./scripts/west_commands/runners/mdb.py",
16861686
"./scripts/west_commands/runners/misc.py",
16871687
"./scripts/west_commands/runners/native.py",
1688-
"./scripts/west_commands/runners/nios2.py",
16891688
"./scripts/west_commands/runners/nrf_common.py",
16901689
"./scripts/west_commands/runners/nrfjprog.py",
16911690
"./scripts/west_commands/runners/nrfutil.py",

MAINTAINERS.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3157,16 +3157,6 @@ Networking:
31573157
tests:
31583158
- net.http
31593159

3160-
NIOS-2 arch:
3161-
status: maintained
3162-
maintainers:
3163-
- nashif
3164-
files:
3165-
- arch/nios2/
3166-
- include/zephyr/arch/nios2/
3167-
labels:
3168-
- "area: NIOS2"
3169-
31703160
nRF BSIM:
31713161
status: maintained
31723162
maintainers:
@@ -4944,15 +4934,6 @@ West:
49444934
labels:
49454935
- "platform: ADI"
49464936

4947-
"West project: hal_altera":
4948-
status: odd fixes
4949-
collaborators:
4950-
- nashif
4951-
files:
4952-
- modules/Kconfig.altera
4953-
labels:
4954-
- "platform: Altera"
4955-
49564937
"West project: hal_ambiq":
49574938
status: odd fixes
49584939
collaborators:

arch/Kconfig

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,6 @@ config X86
104104
help
105105
x86 architecture
106106

107-
config NIOS2
108-
bool
109-
select ARCH_IS_SET
110-
select ATOMIC_OPERATIONS_C
111-
imply XIP
112-
select ARCH_HAS_TIMING_FUNCTIONS
113-
help
114-
Nios II Gen 2 architecture
115-
116107
config RISCV
117108
bool
118109
select ARCH_IS_SET
@@ -237,7 +228,7 @@ config SRAM_BASE_ADDRESS
237228
/chosen/zephyr,sram in devicetree. The user should generally avoid
238229
changing it via menuconfig or in configuration files.
239230

240-
if ARC || ARM || ARM64 || NIOS2 || X86 || RISCV || RX
231+
if ARC || ARM || ARM64 || X86 || RISCV || RX
241232

242233
# Workaround for not being able to have commas in macro arguments
243234
DT_CHOSEN_Z_FLASH := zephyr,flash
@@ -260,7 +251,7 @@ config FLASH_BASE_ADDRESS
260251
normally set by the board's defconfig file and the user should generally
261252
avoid modifying it via the menu configuration.
262253

263-
endif # ARM || ARM64 || ARC || NIOS2 || X86 || RISCV || RX
254+
endif # ARM || ARM64 || ARC || X86 || RISCV || RX
264255

265256
if ARCH_HAS_TRUSTED_EXECUTION
266257

arch/archs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ archs:
77
path: arm64
88
- name: mips
99
path: mips
10-
- name: nios2
11-
path: nios2
1210
- name: posix
1311
path: posix
1412
- name: riscv

arch/nios2/CMakeLists.txt

Lines changed: 0 additions & 37 deletions
This file was deleted.

arch/nios2/Kconfig

Lines changed: 0 additions & 96 deletions
This file was deleted.

arch/nios2/core/CMakeLists.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

arch/nios2/core/cache.c

Lines changed: 0 additions & 92 deletions
This file was deleted.

arch/nios2/core/cpu_idle.c

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)