[PATCH v2 0/2] Remove NIOS2 and openrisc architectures

Sascha Hauer s.hauer at pengutronix.de
Wed Feb 24 03:48:38 EST 2021


I am sending this once again, I forgot to add some hunks last time.

Sascha

Sascha Hauer (2):
  nios2: Remove architecture
  openrisc: Remove architecture

 Documentation/boards/openrisc.rst             |  57 --
 Documentation/user/barebox.rst                |   2 -
 arch/nios2/Kconfig                            |  29 -
 arch/nios2/Makefile                           |  27 -
 arch/nios2/boards/generic/Makefile            |   2 -
 arch/nios2/boards/generic/config.h            |  63 --
 .../boards/generic/defaultenv-generic/config  |  20 -
 arch/nios2/boards/generic/generic.c           |  77 ---
 arch/nios2/boards/generic/nios_sopc.h         | 406 ------------
 arch/nios2/configs/generic_defconfig          |  32 -
 arch/nios2/cpu/.gitignore                     |   1 -
 arch/nios2/cpu/Makefile                       |   5 -
 arch/nios2/cpu/barebox.lds.S                  | 114 ----
 arch/nios2/cpu/cpu.c                          |  36 --
 arch/nios2/cpu/exceptions.S                   | 144 -----
 arch/nios2/cpu/start.S                        | 158 -----
 arch/nios2/cpu/traps.c                        |  36 --
 arch/nios2/include/asm/bitops.h               |  35 --
 arch/nios2/include/asm/bitsperlong.h          |   1 -
 arch/nios2/include/asm/byteorder.h            |   1 -
 arch/nios2/include/asm/cache.h                |  21 -
 arch/nios2/include/asm/common.h               |   4 -
 arch/nios2/include/asm/dma-mapping.h          |  48 --
 arch/nios2/include/asm/dma.h                  |   8 -
 arch/nios2/include/asm/early_printf.h         |  10 -
 arch/nios2/include/asm/elf.h                  | 165 -----
 arch/nios2/include/asm/io.h                   |  51 --
 arch/nios2/include/asm/mmu.h                  |   6 -
 arch/nios2/include/asm/nios2-io.h             | 175 ------
 arch/nios2/include/asm/nios2.h                |  56 --
 arch/nios2/include/asm/opcodes.h              | 124 ----
 arch/nios2/include/asm/posix_types.h          |   1 -
 arch/nios2/include/asm/ptrace.h               |  26 -
 arch/nios2/include/asm/sections.h             |   1 -
 arch/nios2/include/asm/spi.h                  |  22 -
 arch/nios2/include/asm/string.h               |  40 --
 arch/nios2/include/asm/swab.h                 |   4 -
 arch/nios2/include/asm/system.h               |  57 --
 arch/nios2/include/asm/types.h                |   6 -
 arch/nios2/include/asm/unaligned.h            |  15 -
 arch/nios2/lib/Makefile                       |   7 -
 arch/nios2/lib/asm-offsets.c                  |  22 -
 arch/nios2/lib/board.c                        |  29 -
 arch/nios2/lib/bootm.c                        |  80 ---
 arch/nios2/lib/cache.c                        |  77 ---
 arch/nios2/lib/clock.c                        |  53 --
 arch/nios2/lib/early_printf.c                 |  49 --
 arch/nios2/lib/libgcc.c                       | 524 ----------------
 arch/nios2/lib/longlong.h                     | 253 --------
 arch/openrisc/Kconfig                         |  29 -
 arch/openrisc/Makefile                        |  30 -
 arch/openrisc/boards/generic/Makefile         |   1 -
 arch/openrisc/boards/generic/config.h         |  24 -
 arch/openrisc/boards/generic/env/config       |  19 -
 arch/openrisc/boards/generic/generic.c        |  10 -
 arch/openrisc/configs/generic_defconfig       |  35 --
 arch/openrisc/cpu/.gitignore                  |   1 -
 arch/openrisc/cpu/Makefile                    |   5 -
 arch/openrisc/cpu/barebox.lds.S               |  78 ---
 arch/openrisc/cpu/cache.c                     | 151 -----
 arch/openrisc/cpu/cpu.c                       |  38 --
 arch/openrisc/cpu/exceptions.c                |  84 ---
 arch/openrisc/cpu/start.S                     | 358 -----------
 arch/openrisc/dts/Makefile                    |   5 -
 arch/openrisc/dts/or1ksim.dts                 |  51 --
 arch/openrisc/include/asm/bitops.h            |  35 --
 arch/openrisc/include/asm/bitops/ffs.h        |  26 -
 arch/openrisc/include/asm/bitops/fls.h        |  26 -
 arch/openrisc/include/asm/bitsperlong.h       |   1 -
 arch/openrisc/include/asm/byteorder.h         |   1 -
 arch/openrisc/include/asm/cache.h             |  43 --
 arch/openrisc/include/asm/common.h            |   4 -
 arch/openrisc/include/asm/dma.h               |  13 -
 arch/openrisc/include/asm/elf.h               | 107 ----
 arch/openrisc/include/asm/io.h                |  24 -
 arch/openrisc/include/asm/mmu.h               |   6 -
 arch/openrisc/include/asm/openrisc_exc.h      |  37 --
 arch/openrisc/include/asm/posix_types.h       |   1 -
 arch/openrisc/include/asm/ptrace.h            | 131 ----
 arch/openrisc/include/asm/sections.h          |   1 -
 arch/openrisc/include/asm/spr-defs.h          | 578 -----------------
 arch/openrisc/include/asm/string.h            |   4 -
 arch/openrisc/include/asm/swab.h              |   4 -
 arch/openrisc/include/asm/system.h            |  35 --
 arch/openrisc/include/asm/types.h             |  21 -
 arch/openrisc/include/asm/unaligned.h         |  51 --
 arch/openrisc/lib/Makefile                    |   8 -
 arch/openrisc/lib/ashldi3.S                   |  41 --
 arch/openrisc/lib/ashrdi3.S                   |  55 --
 arch/openrisc/lib/asm-offsets.c               |  18 -
 arch/openrisc/lib/board.c                     |  31 -
 arch/openrisc/lib/clock.c                     |  41 --
 arch/openrisc/lib/cpuinfo.c                   | 200 ------
 arch/openrisc/lib/dtb.c                       |  35 --
 arch/openrisc/lib/lshrdi3.S                   |  41 --
 arch/openrisc/lib/muldi3.S                    |  58 --
 drivers/net/Kconfig                           |   9 -
 drivers/net/Makefile                          |   1 -
 drivers/net/ethoc.c                           | 580 ------------------
 drivers/of/Kconfig                            |   2 +-
 100 files changed, 1 insertion(+), 6367 deletions(-)
 delete mode 100644 Documentation/boards/openrisc.rst
 delete mode 100644 arch/nios2/Kconfig
 delete mode 100644 arch/nios2/Makefile
 delete mode 100644 arch/nios2/boards/generic/Makefile
 delete mode 100644 arch/nios2/boards/generic/config.h
 delete mode 100644 arch/nios2/boards/generic/defaultenv-generic/config
 delete mode 100644 arch/nios2/boards/generic/generic.c
 delete mode 100644 arch/nios2/boards/generic/nios_sopc.h
 delete mode 100644 arch/nios2/configs/generic_defconfig
 delete mode 100644 arch/nios2/cpu/.gitignore
 delete mode 100644 arch/nios2/cpu/Makefile
 delete mode 100644 arch/nios2/cpu/barebox.lds.S
 delete mode 100644 arch/nios2/cpu/cpu.c
 delete mode 100644 arch/nios2/cpu/exceptions.S
 delete mode 100644 arch/nios2/cpu/start.S
 delete mode 100644 arch/nios2/cpu/traps.c
 delete mode 100644 arch/nios2/include/asm/bitops.h
 delete mode 100644 arch/nios2/include/asm/bitsperlong.h
 delete mode 100644 arch/nios2/include/asm/byteorder.h
 delete mode 100644 arch/nios2/include/asm/cache.h
 delete mode 100644 arch/nios2/include/asm/common.h
 delete mode 100644 arch/nios2/include/asm/dma-mapping.h
 delete mode 100644 arch/nios2/include/asm/dma.h
 delete mode 100644 arch/nios2/include/asm/early_printf.h
 delete mode 100644 arch/nios2/include/asm/elf.h
 delete mode 100644 arch/nios2/include/asm/io.h
 delete mode 100644 arch/nios2/include/asm/mmu.h
 delete mode 100644 arch/nios2/include/asm/nios2-io.h
 delete mode 100644 arch/nios2/include/asm/nios2.h
 delete mode 100644 arch/nios2/include/asm/opcodes.h
 delete mode 100644 arch/nios2/include/asm/posix_types.h
 delete mode 100644 arch/nios2/include/asm/ptrace.h
 delete mode 100644 arch/nios2/include/asm/sections.h
 delete mode 100644 arch/nios2/include/asm/spi.h
 delete mode 100644 arch/nios2/include/asm/string.h
 delete mode 100644 arch/nios2/include/asm/swab.h
 delete mode 100644 arch/nios2/include/asm/system.h
 delete mode 100644 arch/nios2/include/asm/types.h
 delete mode 100644 arch/nios2/include/asm/unaligned.h
 delete mode 100644 arch/nios2/lib/Makefile
 delete mode 100644 arch/nios2/lib/asm-offsets.c
 delete mode 100644 arch/nios2/lib/board.c
 delete mode 100644 arch/nios2/lib/bootm.c
 delete mode 100644 arch/nios2/lib/cache.c
 delete mode 100644 arch/nios2/lib/clock.c
 delete mode 100644 arch/nios2/lib/early_printf.c
 delete mode 100644 arch/nios2/lib/libgcc.c
 delete mode 100644 arch/nios2/lib/longlong.h
 delete mode 100644 arch/openrisc/Kconfig
 delete mode 100644 arch/openrisc/Makefile
 delete mode 100644 arch/openrisc/boards/generic/Makefile
 delete mode 100644 arch/openrisc/boards/generic/config.h
 delete mode 100644 arch/openrisc/boards/generic/env/config
 delete mode 100644 arch/openrisc/boards/generic/generic.c
 delete mode 100644 arch/openrisc/configs/generic_defconfig
 delete mode 100644 arch/openrisc/cpu/.gitignore
 delete mode 100644 arch/openrisc/cpu/Makefile
 delete mode 100644 arch/openrisc/cpu/barebox.lds.S
 delete mode 100644 arch/openrisc/cpu/cache.c
 delete mode 100644 arch/openrisc/cpu/cpu.c
 delete mode 100644 arch/openrisc/cpu/exceptions.c
 delete mode 100644 arch/openrisc/cpu/start.S
 delete mode 100644 arch/openrisc/dts/Makefile
 delete mode 100644 arch/openrisc/dts/or1ksim.dts
 delete mode 100644 arch/openrisc/include/asm/bitops.h
 delete mode 100644 arch/openrisc/include/asm/bitops/ffs.h
 delete mode 100644 arch/openrisc/include/asm/bitops/fls.h
 delete mode 100644 arch/openrisc/include/asm/bitsperlong.h
 delete mode 100644 arch/openrisc/include/asm/byteorder.h
 delete mode 100644 arch/openrisc/include/asm/cache.h
 delete mode 100644 arch/openrisc/include/asm/common.h
 delete mode 100644 arch/openrisc/include/asm/dma.h
 delete mode 100644 arch/openrisc/include/asm/elf.h
 delete mode 100644 arch/openrisc/include/asm/io.h
 delete mode 100644 arch/openrisc/include/asm/mmu.h
 delete mode 100644 arch/openrisc/include/asm/openrisc_exc.h
 delete mode 100644 arch/openrisc/include/asm/posix_types.h
 delete mode 100644 arch/openrisc/include/asm/ptrace.h
 delete mode 100644 arch/openrisc/include/asm/sections.h
 delete mode 100644 arch/openrisc/include/asm/spr-defs.h
 delete mode 100644 arch/openrisc/include/asm/string.h
 delete mode 100644 arch/openrisc/include/asm/swab.h
 delete mode 100644 arch/openrisc/include/asm/system.h
 delete mode 100644 arch/openrisc/include/asm/types.h
 delete mode 100644 arch/openrisc/include/asm/unaligned.h
 delete mode 100644 arch/openrisc/lib/Makefile
 delete mode 100644 arch/openrisc/lib/ashldi3.S
 delete mode 100644 arch/openrisc/lib/ashrdi3.S
 delete mode 100644 arch/openrisc/lib/asm-offsets.c
 delete mode 100644 arch/openrisc/lib/board.c
 delete mode 100644 arch/openrisc/lib/clock.c
 delete mode 100644 arch/openrisc/lib/cpuinfo.c
 delete mode 100644 arch/openrisc/lib/dtb.c
 delete mode 100644 arch/openrisc/lib/lshrdi3.S
 delete mode 100644 arch/openrisc/lib/muldi3.S
 delete mode 100644 drivers/net/ethoc.c

-- 
2.29.2




More information about the barebox mailing list