Skip to content

Commit 0f36dce

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 bbb0991 commit 0f36dce

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
@@ -3142,16 +3142,6 @@ Networking:
31423142
tests:
31433143
- net.http
31443144

3145-
NIOS-2 arch:
3146-
status: maintained
3147-
maintainers:
3148-
- nashif
3149-
files:
3150-
- arch/nios2/
3151-
- include/zephyr/arch/nios2/
3152-
labels:
3153-
- "area: NIOS2"
3154-
31553145
nRF BSIM:
31563146
status: maintained
31573147
maintainers:
@@ -4926,15 +4916,6 @@ West:
49264916
labels:
49274917
- "platform: ADI"
49284918

4929-
"West project: hal_altera":
4930-
status: odd fixes
4931-
collaborators:
4932-
- nashif
4933-
files:
4934-
- modules/Kconfig.altera
4935-
labels:
4936-
- "platform: Altera"
4937-
49384919
"West project: hal_ambiq":
49394920
status: odd fixes
49404921
collaborators:

arch/Kconfig

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

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

239-
if ARC || ARM || ARM64 || NIOS2 || X86 || RISCV || RX
230+
if ARC || ARM || ARM64 || X86 || RISCV || RX
240231

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

262-
endif # ARM || ARM64 || ARC || NIOS2 || X86 || RISCV || RX
253+
endif # ARM || ARM64 || ARC || X86 || RISCV || RX
263254

264255
if ARCH_HAS_TRUSTED_EXECUTION
265256

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)