nds32: Remove the architecture
Subsystems (5)
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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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
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
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
Lines of this file are not shown. View the raw message.
arch/nds32/include/asm/u-boot-nds32.h deleted +0 -30
Lines of this file are not shown. View the raw message.
arch/nds32/include/asm/u-boot.h deleted +0 -29
Lines of this file are not shown. View the raw message.
arch/nds32/include/asm/unaligned.h deleted +0 -1
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/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
Lines of this file are not shown. View the raw message.
board/AndesTech/adp-ae3xx/MAINTAINERS deleted +0 -6
Lines of this file are not shown. View the raw message.
board/AndesTech/adp-ae3xx/Makefile deleted +0 -6
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
Lines of this file are not shown. View the raw message.
board/AndesTech/adp-ag101p/MAINTAINERS deleted +0 -6
Lines of this file are not shown. View the raw message.
board/AndesTech/adp-ag101p/Makefile deleted +0 -7
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
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/arch/nds32.rst deleted +0 -101
101 lines not on this page · 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/ftwdt010_wdt.c deleted +0 -92
92 lines not on this page · 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
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.
Quoted 5 lines · Tom Rini
As removal of nds32 has been ack'd for the Linux kernel, remove support here as well.
Cc Rick Chen <[email protected]>Signed-off-by Tom Rini <[email protected]>
Ping?
Signature · 1 line
Tom
A message that is not in the archive (sent off-list or not yet received): HK0PR03MB2994FC1EF668377F8AE8C421C1F79@HK0PR03MB2994.apcprd03.prod.outlook.com
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 architectureOn 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.
Cc Rick Chen <[email protected]>Signed-off-by Tom Rini <[email protected]>Ping?
Sorry for the late responses.
Thanks for the information.
Thanks,
Rick
Quoted 3 lines
--
Tom
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 architectureQuoted 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
Cc Rick Chen <[email protected]>Signed-off-by Tom Rini <[email protected]>Ping?
Sorry for the late responses.
Thanks for the information.
Sorry, is that an ack?
Signature · 1 line
Tom
Rick Chen
Reviewed-byQuoted 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 architectureQuoted 5 lines · Tom Rini
As removal of nds32 has been ack'd for the Linux kernel, remove support here as well.
Cc Rick Chen <[email protected]>Signed-off-by Tom Rini <[email protected]>
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
Quoted 6 lines · Tom Rini
As removal of nds32 has been ack'd for the Linux kernel, remove support here as well.
Cc Rick Chen <[email protected]>Signed-off-by Tom Rini <[email protected]>Reviewed-by Rick Chen <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom