Skip to contentSkip to conversation

nds32: Remove the architecture

PATCH In review Tom Rini 2 participants 6 messages Apr 6, 2022 – Apr 25, 2022 1 message not in the archive

Subsystems (5)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 nds32: Remove the architecture

As removal of nds32 has been ack'd for the Linux kernel, remove support here as well.

---
 .azure-pipelines.yml                       |   6 +-
 MAINTAINERS                                |   6 -
 README                                     |  22 +-
 arch/Kconfig                               |  11 +-
 arch/nds32/Kconfig                         |  46 --
 arch/nds32/Makefile                        |   6 -
 arch/nds32/config.mk                       |  18 -
 arch/nds32/cpu/n1213/Makefile              |  13 -
 arch/nds32/cpu/n1213/ae3xx/Makefile        |  16 -
 arch/nds32/cpu/n1213/ae3xx/cpu.c           |  46 --
 arch/nds32/cpu/n1213/ae3xx/lowlevel_init.S | 147 ------
 arch/nds32/cpu/n1213/ae3xx/timer.c         |  15 -
 arch/nds32/cpu/n1213/ae3xx/watchdog.S      |  16 -
 arch/nds32/cpu/n1213/ag101/Makefile        |  16 -
 arch/nds32/cpu/n1213/ag101/cpu.c           |  63 ---
 arch/nds32/cpu/n1213/ag101/lowlevel_init.S | 317 -------------
 arch/nds32/cpu/n1213/ag101/timer.c         | 197 --------
 arch/nds32/cpu/n1213/ag101/watchdog.S      |  32 --
 arch/nds32/cpu/n1213/start.S               | 502 ---------------------
 arch/nds32/cpu/n1213/u-boot.lds            |  58 ---
 arch/nds32/dts/Makefile                    |  15 -
 arch/nds32/dts/ae3xx.dts                   | 103 -----
 arch/nds32/dts/ag101p.dts                  |  72 ---
 arch/nds32/include/asm/arch-ae3xx/ae3xx.h  |  51 ---
 arch/nds32/include/asm/arch-ag101/ag101.h  |  88 ----
 arch/nds32/include/asm/arch-ag102/ag102.h  |  80 ----
 arch/nds32/include/asm/bitops.h            | 194 --------
 arch/nds32/include/asm/bootm.h             |  60 ---
 arch/nds32/include/asm/byteorder.h         |  36 --
 arch/nds32/include/asm/cache.h             |  63 ---
 arch/nds32/include/asm/config.h            |  11 -
 arch/nds32/include/asm/dma-mapping.h       |  22 -
 arch/nds32/include/asm/global_data.h       |  35 --
 arch/nds32/include/asm/io.h                | 457 -------------------
 arch/nds32/include/asm/linkage.h           |  11 -
 arch/nds32/include/asm/mach-types.h        |  30 --
 arch/nds32/include/asm/macro.h             |  79 ----
 arch/nds32/include/asm/posix_types.h       |  88 ----
 arch/nds32/include/asm/processor.h         |  25 -
 arch/nds32/include/asm/ptrace.h            |  90 ----
 arch/nds32/include/asm/sections.h          |  11 -
 arch/nds32/include/asm/setup.h             | 189 --------
 arch/nds32/include/asm/spl.h               |   0
 arch/nds32/include/asm/string.h            |  57 ---
 arch/nds32/include/asm/system.h            |  71 ---
 arch/nds32/include/asm/types.h             |  34 --
 arch/nds32/include/asm/u-boot-nds32.h      |  30 --
 arch/nds32/include/asm/u-boot.h            |  29 --
 arch/nds32/include/asm/unaligned.h         |   1 -
 arch/nds32/lib/Makefile                    |  13 -
 arch/nds32/lib/asm-offsets.c               |  82 ----
 arch/nds32/lib/boot.c                      |  17 -
 arch/nds32/lib/bootm.c                     | 248 ----------
 arch/nds32/lib/cache.c                     | 268 -----------
 arch/nds32/lib/interrupts.c                | 118 -----
 board/AndesTech/adp-ae3xx/Kconfig          |  18 -
 board/AndesTech/adp-ae3xx/MAINTAINERS      |   6 -
 board/AndesTech/adp-ae3xx/Makefile         |   6 -
 board/AndesTech/adp-ae3xx/adp-ae3xx.c      |  79 ----
 board/AndesTech/adp-ag101p/Kconfig         |  18 -
 board/AndesTech/adp-ag101p/MAINTAINERS     |   6 -
 board/AndesTech/adp-ag101p/Makefile        |   7 -
 board/AndesTech/adp-ag101p/adp-ag101p.c    |  86 ----
 common/board_f.c                           |   2 +-
 common/board_r.c                           |   5 +-
 configs/adp-ae3xx_defconfig                |  59 ---
 configs/adp-ag101p_defconfig               |  48 --
 doc/README.standalone                      |   1 -
 doc/README.watchdog                        |   6 -
 doc/arch/index.rst                         |   1 -
 doc/arch/nds32.rst                         | 101 -----
 doc/develop/global_data.rst                |   2 -
 doc/git-mailrc                             |   4 +-
 drivers/timer/Kconfig                      |   6 -
 drivers/timer/Makefile                     |   2 -
 drivers/timer/ag101p_timer.c               | 117 -----
 drivers/timer/atcpit100_timer.c            | 112 -----
 drivers/watchdog/Makefile                  |   1 -
 drivers/watchdog/ftwdt010_wdt.c            |  92 ----
 examples/standalone/nds32.lds              |  39 --
 examples/standalone/stubs.c                |  13 -
 include/configs/adp-ae3xx.h                | 186 --------
 include/configs/adp-ag101p.h               | 299 ------------
 lib/Kconfig                                |   2 +-
 lib/fdtdec.c                               |   7 -
 tools/buildman/README                      |   7 +-
 tools/buildman/bsettings.py                |   1 -
 tools/buildman/builder.py                  |   1 -
 tools/docker/Dockerfile                    |   2 -
 89 files changed, 15 insertions(+), 5658 deletions(-)
 delete mode 100644 arch/nds32/Kconfig
 delete mode 100644 arch/nds32/Makefile
 delete mode 100644 arch/nds32/config.mk
 delete mode 100644 arch/nds32/cpu/n1213/Makefile
 delete mode 100644 arch/nds32/cpu/n1213/ae3xx/Makefile
 delete mode 100644 arch/nds32/cpu/n1213/ae3xx/cpu.c
 delete mode 100644 arch/nds32/cpu/n1213/ae3xx/lowlevel_init.S
 delete mode 100644 arch/nds32/cpu/n1213/ae3xx/timer.c
 delete mode 100644 arch/nds32/cpu/n1213/ae3xx/watchdog.S
 delete mode 100644 arch/nds32/cpu/n1213/ag101/Makefile
 delete mode 100644 arch/nds32/cpu/n1213/ag101/cpu.c
 delete mode 100644 arch/nds32/cpu/n1213/ag101/lowlevel_init.S
 delete mode 100644 arch/nds32/cpu/n1213/ag101/timer.c
 delete mode 100644 arch/nds32/cpu/n1213/ag101/watchdog.S
 delete mode 100644 arch/nds32/cpu/n1213/start.S
 delete mode 100644 arch/nds32/cpu/n1213/u-boot.lds
 delete mode 100644 arch/nds32/dts/Makefile
 delete mode 100644 arch/nds32/dts/ae3xx.dts
 delete mode 100644 arch/nds32/dts/ag101p.dts
 delete mode 100644 arch/nds32/include/asm/arch-ae3xx/ae3xx.h
 delete mode 100644 arch/nds32/include/asm/arch-ag101/ag101.h
 delete mode 100644 arch/nds32/include/asm/arch-ag102/ag102.h
 delete mode 100644 arch/nds32/include/asm/bitops.h
 delete mode 100644 arch/nds32/include/asm/bootm.h
 delete mode 100644 arch/nds32/include/asm/byteorder.h
 delete mode 100644 arch/nds32/include/asm/cache.h
 delete mode 100644 arch/nds32/include/asm/config.h
 delete mode 100644 arch/nds32/include/asm/dma-mapping.h
 delete mode 100644 arch/nds32/include/asm/global_data.h
 delete mode 100644 arch/nds32/include/asm/io.h
 delete mode 100644 arch/nds32/include/asm/linkage.h
 delete mode 100644 arch/nds32/include/asm/mach-types.h
 delete mode 100644 arch/nds32/include/asm/macro.h
 delete mode 100644 arch/nds32/include/asm/posix_types.h
 delete mode 100644 arch/nds32/include/asm/processor.h
 delete mode 100644 arch/nds32/include/asm/ptrace.h
 delete mode 100644 arch/nds32/include/asm/sections.h
 delete mode 100644 arch/nds32/include/asm/setup.h
 delete mode 100644 arch/nds32/include/asm/spl.h
 delete mode 100644 arch/nds32/include/asm/string.h
 delete mode 100644 arch/nds32/include/asm/system.h
 delete mode 100644 arch/nds32/include/asm/types.h
 delete mode 100644 arch/nds32/include/asm/u-boot-nds32.h
 delete mode 100644 arch/nds32/include/asm/u-boot.h
 delete mode 100644 arch/nds32/include/asm/unaligned.h
 delete mode 100644 arch/nds32/lib/Makefile
 delete mode 100644 arch/nds32/lib/asm-offsets.c
 delete mode 100644 arch/nds32/lib/boot.c
 delete mode 100644 arch/nds32/lib/bootm.c
 delete mode 100644 arch/nds32/lib/cache.c
 delete mode 100644 arch/nds32/lib/interrupts.c
 delete mode 100644 board/AndesTech/adp-ae3xx/Kconfig
 delete mode 100644 board/AndesTech/adp-ae3xx/MAINTAINERS
 delete mode 100644 board/AndesTech/adp-ae3xx/Makefile
 delete mode 100644 board/AndesTech/adp-ae3xx/adp-ae3xx.c
 delete mode 100644 board/AndesTech/adp-ag101p/Kconfig
 delete mode 100644 board/AndesTech/adp-ag101p/MAINTAINERS
 delete mode 100644 board/AndesTech/adp-ag101p/Makefile
 delete mode 100644 board/AndesTech/adp-ag101p/adp-ag101p.c
 delete mode 100644 configs/adp-ae3xx_defconfig
 delete mode 100644 configs/adp-ag101p_defconfig
 delete mode 100644 doc/arch/nds32.rst
 delete mode 100644 drivers/timer/ag101p_timer.c
 delete mode 100644 drivers/timer/atcpit100_timer.c
 delete mode 100644 drivers/watchdog/ftwdt010_wdt.c
 delete mode 100644 examples/standalone/nds32.lds
 delete mode 100644 include/configs/adp-ae3xx.h
 delete mode 100644 include/configs/adp-ag101p.h
.azure-pipelines.yml +3 -3
index 314d27718926..9e4c41d780c1 100644
@@ -428,10 +428,10 @@ stages:
       vmImage: $(ubuntu_vm)
     strategy:
       # Use almost the same target division in .travis.yml, only merged
-      # 4 small build jobs (arc/microblaze/nds32/xtensa) into one.
+      # 3 small build jobs (arc/microblaze/xtensa) into one.
       matrix:
-        arc_microblaze_nds32_xtensa:
-          BUILDMAN: "arc microblaze nds32 xtensa"
+        arc_microblaze_xtensa:
+          BUILDMAN: "arc microblaze xtensa"
         arm11_arm7_arm920t_arm946es:
           BUILDMAN: "arm11 arm7 arm920t arm946es"
         arm926ejs:
MAINTAINERS +0 -6
index 0fc034f01fcb..452dd93ac289 100644
@@ -1022,12 +1022,6 @@ S:	Orphaned (Since 2018-07)
 T:	git https://source.denx.de/u-boot/custodians/u-boot-nand-flash.git
 F:	drivers/mtd/nand/raw/
 
-NDS32
-M:	Rick Chen <[email protected]>
-S:	Maintained
-T:	git https://source.denx.de/u-boot/custodians/u-boot-nds32.git
-F:	arch/nds32/
-
 NETWORK
 M:	Joe Hershberger <[email protected]>
 M:	Ramon Fried <[email protected]>
README +2 -20
index f31fcd73f196..6cdc89b44085 100644
@@ -134,7 +134,6 @@ Directory Hierarchy:
   /m68k			Files generic to m68k architecture
   /microblaze		Files generic to microblaze architecture
   /mips			Files generic to MIPS architecture
-  /nds32		Files generic to NDS32 architecture
   /nios2		Files generic to Altera NIOS2 architecture
   /powerpc		Files generic to PowerPC architecture
   /riscv		Files generic to RISC-V architecture
@@ -2726,8 +2725,8 @@ details; basically, the header defines the following image properties:
   LynxOS, pSOS, QNX, RTEMS, INTEGRITY;
   Currently supported: Linux, NetBSD, VxWorks, QNX, RTEMS, INTEGRITY).
 * Target CPU Architecture (Provisions for Alpha, ARM, Intel x86,
-  IA64, MIPS, NDS32, Nios II, PowerPC, IBM S390, SuperH, Sparc, Sparc 64 Bit;
-  Currently supported: ARM, Intel x86, MIPS, NDS32, Nios II, PowerPC).
+  IA64, MIPS, Nios II, PowerPC, IBM S390, SuperH, Sparc, Sparc 64 Bit;
+  Currently supported: ARM, Intel x86, MIPS, Nios II, PowerPC).
 * Compression Type (uncompressed, gzip, bzip2)
 * Load Address
 * Entry Point
@@ -3439,23 +3438,6 @@ On Nios II, the ABI is documented here:
     Note: on Nios II, we give "-G0" option to gcc and don't use gp
     to access small data sections, so gp is free.
 
-On NDS32, the following registers are used:
-
-	R0-R1:	argument/return
-	R2-R5:	argument
-	R15:	temporary register for assembler
-	R16:	trampoline register
-	R28:	frame pointer (FP)
-	R29:	global pointer (GP)
-	R30:	link register (LP)
-	R31:	stack pointer (SP)
-	PC:	program counter (PC)
-
-    ==> U-Boot will use R10 to hold a pointer to the global data
-
-NOTE: DECLARE_GLOBAL_DATA_PTR must be used with file-global scope,
-or current versions of GCC may "optimize" the code too much.
-
 On RISC-V, the following registers are used:
 
 	x0: hard-wired zero (zero)
arch/Kconfig +3 -8
index 156567ed167d..409c9c6e6024 100644
@@ -1,5 +1,5 @@
 config ARCH_MAP_SYSMEM
-	depends on SANDBOX || NDS32
+	depends on SANDBOX
 	def_bool y
 
 config CREATE_ARCH_SYMLINK
@@ -86,10 +86,6 @@ config MIPS
 	select HAVE_PRIVATE_LIBGCC
 	select SUPPORT_OF_CONTROL
 
-config NDS32
-	bool "NDS32 architecture"
-	select SUPPORT_OF_CONTROL
-
 config NIOS2
 	bool "Nios II architecture"
 	select CPU
@@ -380,7 +376,7 @@ config SYS_IMMR
 
 config SKIP_LOWLEVEL_INIT
 	bool "Skip the calls to certain low level initialization functions"
-	depends on ARM || NDS32 || MIPS || RISCV
+	depends on ARM || MIPS || RISCV
 	help
 	  If enabled, then certain low level initializations (like setting up
 	  the memory controller) are omitted and/or U-Boot does not relocate
@@ -391,7 +387,7 @@ config SKIP_LOWLEVEL_INIT
 
 config SPL_SKIP_LOWLEVEL_INIT
 	bool "Skip the calls to certain low level initialization functions"
-	depends on SPL && (ARM || NDS32 || MIPS || RISCV)
+	depends on SPL && (ARM || MIPS || RISCV)
 	help
 	  If enabled, then certain low level initializations (like setting up
 	  the memory controller) are omitted and/or U-Boot does not relocate
@@ -440,7 +436,6 @@ source "arch/arm/Kconfig"
 source "arch/m68k/Kconfig"
 source "arch/microblaze/Kconfig"
 source "arch/mips/Kconfig"
-source "arch/nds32/Kconfig"
 source "arch/nios2/Kconfig"
 source "arch/powerpc/Kconfig"
 source "arch/sandbox/Kconfig"
arch/nds32/Kconfig deleted +0 -46

46 lines not on this page · raw message

arch/nds32/Makefile deleted +0 -6
deleted file mode 100644
index e9980e85fd11..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-
-head-y := arch/nds32/cpu/$(CPU)/start.o
-
-libs-y += arch/nds32/cpu/$(CPU)/
-libs-y += arch/nds32/lib/
arch/nds32/config.mk deleted +0 -18
deleted file mode 100644
index c82dd69c6c30..000000000000
@@ -1,18 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000-2002
-# Wolfgang Denk, DENX Software Engineering, [email protected].
-#
-# (C) Copyright 2011
-# Shawn Lin, Andes Technology Corporation <[email protected]>
-# Macpaul Lin, Andes Technology Corporation <[email protected]>
-#
-
-CONFIG_STANDALONE_LOAD_ADDR = 0x300000
-LDFLAGS_STANDALONE	+= -T $(srctree)/examples/standalone/nds32.lds
-
-PLATFORM_RELFLAGS	+= -fno-common -mrelax -mno-ext-fpu-dp -mfloat-abi=soft
-PLATFORM_RELFLAGS	+= -gdwarf-2
-PLATFORM_CPPFLAGS	+= -D__nds32__ -ffixed-10 -fpie -mcmodel=large
-
-LDFLAGS_u-boot		= --gc-sections --relax -pie --mabi=AABI
arch/nds32/cpu/n1213/Makefile deleted +0 -13
deleted file mode 100644
index 0b8ce7b1804b..000000000000
@@ -1,13 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, [email protected].
-#
-# Copyright (C) 2011 Andes Technology Corporation
-# Shawn Lin, Andes Technology Corporation <[email protected]>
-# Macpaul Lin, Andes Technology Corporation <[email protected]>
-
-extra-y	= start.o
-
-obj-$(if $(filter ag101,$(SOC)),y) += ag101/
-obj-$(if $(filter ae3xx,$(SOC)),y) += ae3xx/
arch/nds32/cpu/n1213/ae3xx/Makefile deleted +0 -16
deleted file mode 100644
index 721a9ffafa39..000000000000
@@ -1,16 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2009
-# Marvell Semiconductor <www.marvell.com>
-# Written-by: Prafulla Wadaskar <[email protected]>
-#
-# Copyright (C) 2011 Andes Technology Corporation
-# Shawn Lin, Andes Technology Corporation <[email protected]>
-# Macpaul Lin, Andes Technology Corporation <[email protected]>
-
-obj-y	:= cpu.o timer.o
-obj-y	+= lowlevel_init.o
-
-ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
-obj-y	+= watchdog.o
-endif
arch/nds32/cpu/n1213/ae3xx/cpu.c deleted +0 -46

46 lines not on this page · raw message

arch/nds32/cpu/n1213/ae3xx/lowlevel_init.S deleted +0 -147

147 lines not on this page · raw message

arch/nds32/cpu/n1213/ae3xx/timer.c deleted +0 -15
deleted file mode 100644
index 23cc7675fdc0..000000000000
@@ -1,15 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2009 Faraday Technology
- * Po-Yu Chuang <[email protected]>
- *
- * Copyright (C) 2011 Andes Technology Corporation
- * Shawn Lin, Andes Technology Corporation <[email protected]>
- * Macpaul Lin, Andes Technology Corporation <[email protected]>
- */
-#ifndef CONFIG_TIMER
-#include <common.h>
-#include <asm/io.h>
-#include <faraday/fttmr010.h>
-#error "AE3XX timer only support DM flow"
-#endif /* CONFIG_TIMER */
arch/nds32/cpu/n1213/ae3xx/watchdog.S deleted +0 -16
deleted file mode 100644
index e46bcfbbebe4..000000000000
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2011 Andes Technology Corporation
- * Macpaul Lin, Andes Technology Corporation <[email protected]>
- */
-
-#include <asm/arch-ag101/ag101.h>
-#include <linux/linkage.h>
-
-.text
-
-#ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
-ENTRY(turnoff_watchdog)
-#error "AE3XX not support wdt yet"
-ENDPROC(turnoff_watchdog)
-#endif
arch/nds32/cpu/n1213/ag101/Makefile deleted +0 -16
deleted file mode 100644
index 721a9ffafa39..000000000000
@@ -1,16 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2009
-# Marvell Semiconductor <www.marvell.com>
-# Written-by: Prafulla Wadaskar <[email protected]>
-#
-# Copyright (C) 2011 Andes Technology Corporation
-# Shawn Lin, Andes Technology Corporation <[email protected]>
-# Macpaul Lin, Andes Technology Corporation <[email protected]>
-
-obj-y	:= cpu.o timer.o
-obj-y	+= lowlevel_init.o
-
-ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
-obj-y	+= watchdog.o
-endif
arch/nds32/cpu/n1213/ag101/cpu.c deleted +0 -63

63 lines not on this page · raw message

arch/nds32/cpu/n1213/ag101/lowlevel_init.S deleted +0 -317

317 lines not on this page · raw message

arch/nds32/cpu/n1213/ag101/timer.c deleted +0 -197

197 lines not on this page · raw message

arch/nds32/cpu/n1213/ag101/watchdog.S deleted +0 -32
deleted file mode 100644
index 8e7399d0df72..000000000000
@@ -1,32 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2011 Andes Technology Corporation
- * Macpaul Lin, Andes Technology Corporation <[email protected]>
- */
-
-#include <asm/arch-ag101/ag101.h>
-#include <linux/linkage.h>
-
-.text
-
-#ifndef CONFIG_SKIP_TRUNOFF_WATCHDOG
-ENTRY(turnoff_watchdog)
-
-#define WD_CR		0xC
-#define WD_ENABLE	0x1
-
-	! Turn off the watchdog, according to Faraday FTWDT010 spec
-	li	$p0, (CONFIG_FTWDT010_BASE+WD_CR)	! Get the addr of WD CR
-	lwi	$p1, [$p0]				! Get the config of WD
-	andi	$p1, $p1, 0x1f				! Wipe out useless bits
-	li	$r0, ~WD_ENABLE
-	and	$p1, $p1, $r0				! Set WD disable
-	sw	$p1, [$p0]				! Write back to WD CR
-
-	! Disable Interrupts by clear GIE in $PSW reg
-	setgie.d
-
-	ret
-
-ENDPROC(turnoff_watchdog)
-#endif
arch/nds32/cpu/n1213/start.S deleted +0 -502

502 lines not on this page · raw message

arch/nds32/cpu/n1213/u-boot.lds deleted +0 -58

58 lines not on this page · raw message

arch/nds32/dts/Makefile deleted +0 -15
deleted file mode 100644
index 5a09e3b45b39..000000000000
@@ -1,15 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-
-dtb-$(CONFIG_TARGET_ADP_AG101P) += ag101p.dtb
-dtb-$(CONFIG_TARGET_ADP_AE3XX) += ae3xx.dtb
-include $(srctree)/scripts/Makefile.dts
-
-targets += $(dtb-y)
-
-DTC_FLAGS += -R 4 -p 0x1000
-
-PHONY += dtbs
-dtbs: $(addprefix $(obj)/, $(dtb-y))
-	@:
-
-clean-files := *.dtb
arch/nds32/dts/ae3xx.dts deleted +0 -103

103 lines not on this page · raw message

arch/nds32/dts/ag101p.dts deleted +0 -72

72 lines not on this page · raw message

arch/nds32/include/asm/arch-ae3xx/ae3xx.h deleted +0 -51

51 lines not on this page · raw message

arch/nds32/include/asm/arch-ag101/ag101.h deleted +0 -88

88 lines not on this page · raw message

arch/nds32/include/asm/arch-ag102/ag102.h deleted +0 -80

80 lines not on this page · raw message

arch/nds32/include/asm/bitops.h deleted +0 -194

194 lines not on this page · raw message

arch/nds32/include/asm/bootm.h deleted +0 -60

60 lines not on this page · raw message

arch/nds32/include/asm/byteorder.h deleted +0 -36
deleted file mode 100644
index 39fd9eddf07f..000000000000
@@ -1,36 +0,0 @@
-/*
- *  linux/include/asm-arm/byteorder.h
- *
- * Copyright (C) 2011 Andes Technology Corporation
- * Shawn Lin, Andes Technology Corporation <[email protected]>
- * Macpaul Lin, Andes Technology Corporation <[email protected]>
- *
- * ARM Endian-ness.  In little endian mode, the data bus is connected such
- * that byte accesses appear as:
- *  0 = d0...d7, 1 = d8...d15, 2 = d16...d23, 3 = d24...d31
- * and word accesses (data or instruction) appear as:
- *  d0...d31
- *
- * When in big endian mode, byte accesses appear as:
- *  0 = d24...d31, 1 = d16...d23, 2 = d8...d15, 3 = d0...d7
- * and word accesses (data or instruction) appear as:
- *  d0...d31
- */
-
-#ifndef __ASM_NDS_BYTEORDER_H
-#define __ASM_NDS_BYTEORDER_H
-
-#include <asm/types.h>
-
-#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
-#  define __BYTEORDER_HAS_U64__
-#  define __SWAB_64_THRU_32__
-#endif
-
-#ifdef __NDSEB__
-#include <linux/byteorder/big_endian.h>
-#else
-#include <linux/byteorder/little_endian.h>
-#endif
-
-#endif
arch/nds32/include/asm/cache.h deleted +0 -63

63 lines not on this page · raw message

arch/nds32/include/asm/config.h deleted +0 -11
deleted file mode 100644
index 6c1cbce7ef51..000000000000
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2011 Andes Technology Corporation
- * Copyright (C) 2010 Shawn Lin ([email protected])
- * Copyright (C) 2011 Macpaul Lin ([email protected])
- */
-
-#ifndef _ASM_CONFIG_H_
-#define _ASM_CONFIG_H_
-
-#endif
arch/nds32/include/asm/dma-mapping.h deleted +0 -22
deleted file mode 100644
index f8668f1fe5db..000000000000
@@ -1,22 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2013 Andes Technology Corporation
- * Ken Kuo, Andes Technology Corporation <[email protected]>
- */
-#ifndef __ASM_NDS_DMA_MAPPING_H
-#define __ASM_NDS_DMA_MAPPING_H
-
-#include <common.h>
-#include <asm/cache.h>
-#include <cpu_func.h>
-#include <linux/dma-direction.h>
-#include <linux/types.h>
-#include <malloc.h>
-
-static void *dma_alloc_coherent(size_t len, unsigned long *handle)
-{
-	*handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len);
-	return (void *)*handle;
-}
-
-#endif /* __ASM_NDS_DMA_MAPPING_H */
arch/nds32/include/asm/global_data.h deleted +0 -35
deleted file mode 100644
index 297481beaaef..000000000000
@@ -1,35 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * (C) Copyright 2002
- * Wolfgang Denk, DENX Software Engineering, [email protected].
- *
- * Copyright (C) 2011 Andes Technology Corporation
- * Shawn Lin, Andes Technology Corporation <[email protected]>
- * Macpaul Lin, Andes Technology Corporation <[email protected]>
- */
-
-/**************************************************************
- * CAUTION:
- *   - do not implement for NDS32 Arch yet.
- *   - so far no one uses the macros defined in this head file.
- **************************************************************/
-
-#ifndef	__ASM_GBL_DATA_H
-#define __ASM_GBL_DATA_H
-
-#include <config.h>
-
-/* Architecture-specific global data */
-struct arch_global_data {
-};
-
-#include <asm-generic/global_data.h>
-
-#ifdef CONFIG_GLOBAL_DATA_NOT_REG10
-extern volatile gd_t g_gd;
-#define DECLARE_GLOBAL_DATA_PTR		static volatile gd_t *gd = &g_gd
-#else
-#define DECLARE_GLOBAL_DATA_PTR		register volatile gd_t *gd asm ("$r10")
-#endif
-
-#endif /* __ASM_GBL_DATA_H */
arch/nds32/include/asm/io.h deleted +0 -457

457 lines not on this page · raw message

arch/nds32/include/asm/linkage.h deleted +0 -11
deleted file mode 100644
index 0c8822b7d4d1..000000000000
@@ -1,11 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * U-Boot - linkage.h
- *
- * Copyright (c) 2005-2007 Analog Devices Inc.
- */
-
-#ifndef __ASM_LINKAGE_H
-#define __ASM_LINKAGE_H
-
-#endif
arch/nds32/include/asm/mach-types.h deleted +0 -30
deleted file mode 100644
index 99904f9ed551..000000000000
@@ -1,30 +0,0 @@
-/*
- * This was automagically generated from arch/nds/tools/mach-types!
- * Do NOT edit
- */
-
-#ifndef __ASM_NDS32_MACH_TYPE_H
-#define __ASM_NDS32_MACH_TYPE_H
-
-#ifndef __ASSEMBLY__
-/* The type of machine we're running on */
-extern unsigned int __machine_arch_type;
-#endif
-
-/* see arch/arm/kernel/arch.c for a description of these */
-#define MACH_TYPE_ADPAG101P            1
-#define MACH_TYPE_ADPAE3XX	2
-
-#ifdef CONFIG_ARCH_ADPAG101P
-# ifdef machine_arch_type
-#  undef machine_arch_type
-#  define machine_arch_type	__machine_arch_type
-# else
-#  define machine_arch_type	MACH_TYPE_ADPAG101P
-# endif
-# define machine_is_adpag101p()	(machine_arch_type == MACH_TYPE_ADPAG101P)
-#else
-# define machine_is_adpag101p()	(1)
-#endif
-
-#endif /* __ASM_NDS32_MACH_TYPE_H */
arch/nds32/include/asm/macro.h deleted +0 -79

60 lines not on this page · raw message

arch/nds32/include/asm/posix_types.h deleted +0 -88

88 lines not on this page · raw message

arch/nds32/include/asm/processor.h deleted +0 -25
deleted file mode 100644
index e5d186cc55ef..000000000000

Lines of this file are not shown. View the raw message.

arch/nds32/include/asm/ptrace.h deleted +0 -90

90 lines not on this page · raw message

arch/nds32/include/asm/sections.h deleted +0 -11
deleted file mode 100644
index aba9d9741921..000000000000

Lines of this file are not shown. View the raw message.

arch/nds32/include/asm/setup.h deleted +0 -189

189 lines not on this page · raw message

arch/nds32/include/asm/spl.h deleted +0 -0
deleted file mode 100644
index e69de29bb2d1..000000000000
arch/nds32/include/asm/string.h deleted +0 -57

57 lines not on this page · raw message

arch/nds32/include/asm/system.h deleted +0 -71

71 lines not on this page · raw message

arch/nds32/include/asm/types.h deleted +0 -34
deleted file mode 100644
index d2444da9b605..000000000000

Lines of this file are not shown. View the raw message.

arch/nds32/include/asm/u-boot-nds32.h deleted +0 -30
deleted file mode 100644
index f086f34729f6..000000000000

Lines of this file are not shown. View the raw message.

arch/nds32/include/asm/u-boot.h deleted +0 -29
deleted file mode 100644
index 7b6e905f2acb..000000000000

Lines of this file are not shown. View the raw message.

arch/nds32/include/asm/unaligned.h deleted +0 -1
deleted file mode 100644
index 6cecbbb2111f..000000000000

Lines of this file are not shown. View the raw message.

arch/nds32/lib/Makefile deleted +0 -13
deleted file mode 100644
index 501f26f1c37e..000000000000

Lines of this file are not shown. View the raw message.

arch/nds32/lib/asm-offsets.c deleted +0 -82

82 lines not on this page · raw message

arch/nds32/lib/boot.c deleted +0 -17
deleted file mode 100644
index da2fd36a16c4..000000000000

Lines of this file are not shown. View the raw message.

arch/nds32/lib/bootm.c deleted +0 -248

248 lines not on this page · raw message

arch/nds32/lib/cache.c deleted +0 -268

268 lines not on this page · raw message

arch/nds32/lib/interrupts.c deleted +0 -118

118 lines not on this page · raw message

board/AndesTech/adp-ae3xx/Kconfig deleted +0 -18
deleted file mode 100644
index 8ec69d611a3b..000000000000

Lines of this file are not shown. View the raw message.

board/AndesTech/adp-ae3xx/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 02e5a19c9d88..000000000000

Lines of this file are not shown. View the raw message.

board/AndesTech/adp-ae3xx/Makefile deleted +0 -6
deleted file mode 100644
index 8c889d1003d2..000000000000

Lines of this file are not shown. View the raw message.

board/AndesTech/adp-ae3xx/adp-ae3xx.c deleted +0 -79

79 lines not on this page · raw message

board/AndesTech/adp-ag101p/Kconfig deleted +0 -18
deleted file mode 100644
index 5e8aa22c448a..000000000000

Lines of this file are not shown. View the raw message.

board/AndesTech/adp-ag101p/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 9a2c7a3c161f..000000000000

Lines of this file are not shown. View the raw message.

board/AndesTech/adp-ag101p/Makefile deleted +0 -7
deleted file mode 100644
index 5398f7ed0978..000000000000

Lines of this file are not shown. View the raw message.

board/AndesTech/adp-ag101p/adp-ag101p.c deleted +0 -86

86 lines not on this page · raw message

common/board_f.c +1 -1
index 5b655ad6efe4..aa75d90d01ba 100644

Lines of this file are not shown. View the raw message.

common/board_r.c +2 -3
index 8dc87ed2be4c..76a7822c505e 100644

Lines of this file are not shown. View the raw message.

configs/adp-ae3xx_defconfig deleted +0 -59

59 lines not on this page · raw message

configs/adp-ag101p_defconfig deleted +0 -48

48 lines not on this page · raw message

doc/README.standalone +0 -1
index 874ca2f7c66a..3306c300cf92 100644

Lines of this file are not shown. View the raw message.

doc/README.watchdog +0 -6
index f23c923910a6..c50dc79e15e5 100644

Lines of this file are not shown. View the raw message.

doc/arch/index.rst +0 -1
index 369d8eeb6d1c..792d9182c31a 100644

Lines of this file are not shown. View the raw message.

doc/arch/nds32.rst deleted +0 -101

101 lines not on this page · raw message

doc/develop/global_data.rst +0 -2
index 230ebcd86044..2ac893de4913 100644

Lines of this file are not shown. View the raw message.

doc/git-mailrc +1 -3
index 410be387bedc..63c2f6e7daa6 100644

Lines of this file are not shown. View the raw message.

drivers/timer/Kconfig +0 -6
index 8fad59b81aa6..672746a18164 100644

Lines of this file are not shown. View the raw message.

drivers/timer/Makefile +0 -2
index 58da6c1e8464..17f9f1d04414 100644

Lines of this file are not shown. View the raw message.

drivers/timer/ag101p_timer.c deleted +0 -117

117 lines not on this page · raw message

drivers/timer/atcpit100_timer.c deleted +0 -112

112 lines not on this page · raw message

drivers/watchdog/Makefile +0 -1
index a35bd559f51b..b9c2d9507ef6 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/ftwdt010_wdt.c deleted +0 -92

92 lines not on this page · raw message

examples/standalone/nds32.lds deleted +0 -39
deleted file mode 100644
index 5a04f43c9a68..000000000000

Lines of this file are not shown. View the raw message.

examples/standalone/stubs.c +0 -13
index 5fb460454f23..ce05f41b0ce9 100644

Lines of this file are not shown. View the raw message.

include/configs/adp-ae3xx.h deleted +0 -186

186 lines not on this page · raw message

include/configs/adp-ag101p.h deleted +0 -299

299 lines not on this page · raw message

lib/Kconfig +1 -1
index effe7353656d..858be14f0915 100644

Lines of this file are not shown. View the raw message.

lib/fdtdec.c +0 -7
index 87aa677a4a91..e418a0dc9a9e 100644

Lines of this file are not shown. View the raw message.

tools/buildman/README +2 -5
index bafb3b065ce0..49438cb909dc 100644

Lines of this file are not shown. View the raw message.

tools/buildman/bsettings.py +0 -1
index e634bbb279b3..35bb2c1d03a2 100644

Lines of this file are not shown. View the raw message.

tools/buildman/builder.py +0 -1
index ecbfa3e361e0..aa2ffe16f6c3 100644

Lines of this file are not shown. View the raw message.

tools/docker/Dockerfile +0 -2
index c51e34301374..bbdc6557c2a2 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

Part of the diff is not shown here. View the raw message.

A message that is not in the archive (sent off-list or not yet received): HK0PR03MB2994FC1EF668377F8AE8C421C1F79@HK0PR03MB2994.apcprd03.prod.outlook.com

#3 lore raw

Hi, Tom,

Quoted 7 lines

From: Tom Rini <[email protected]>
Sent: Wednesday, April 20, 2022 2:43 AM
To: [email protected]; Rick Jian-Zhi Chen(陳建志) <[email protected]>
Subject: Re: [PATCH] nds32: Remove the architecture

On Wed, Apr 06, 2022 at 09:21:25AM -0400, Tom Rini wrote:

Quoted 7 lines
Quoted 5 lines

As removal of nds32 has been ack'd for the Linux kernel, remove support here as well.

Ping?

Sorry for the late responses.

Thanks for the information.

Thanks,
Rick

Quoted 3 lines

--
Tom

author
#4 lore raw
Quoted 12 lines · Rick Chen

Hi, Tom,

Quoted 10 lines

From: Tom Rini <[email protected]>
Sent: Wednesday, April 20, 2022 2:43 AM
To: [email protected]; Rick Jian-Zhi Chen(陳建志) <[email protected]>
Subject: Re: [PATCH] nds32: Remove the architecture

Quoted 3 lines · Tom Rini

As removal of nds32 has been ack'd for the Linux kernel, remove support here as well.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Ping?

Sorry for the late responses.

Thanks for the information.

Sorry, is that an ack?

Signature · 1 line
Tom
Reviewed-by
#5 lore raw
Quoted 16 lines · Rick Chen
Quoted 15 lines

Hi, Tom,

Quoted 13 lines

From: Tom Rini <[email protected]>
Sent: Wednesday, April 20, 2022 2:43 AM
To: [email protected]; Rick Jian-Zhi Chen(陳建志) <[email protected]>
Subject: Re: [PATCH] nds32: Remove the architecture

Quoted 5 lines · Tom Rini

As removal of nds32 has been ack'd for the Linux kernel, remove support here as well.

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

Ping?

Sorry for the late responses.

Thanks for the information.

Sorry, is that an ack?

Sorry, I forgot the signature here.

Quoted 2 lines

--
Tom