Skip to contentSkip to conversation

ARM: remove non-generic boards

PATCH Superseded Masahiro Yamada 5 participants 23 messages Feb 10, 2015 – Feb 12, 2015

Subsystems (7)

v2 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v2 cover ARM: remove non-generic boards

Based on Tom's announce mail
(http://lists.denx.de/pipermail/u-boot/2015-February/203606.html),
let's start removing non-generic ARM boards.

No conversion patches have been posted for these boards.

Changes in v2:
- Do not remove armada100 boards because Ajay will send a patch to convert them.

Masahiro Yamada (10):
ARM: remove mx31ads board support
ARM: mx31: remove imx31_phycore board
ARM: remove jadecpu board support
ARM: remove zmx25 board support
ARM: remove devkit3250 board support
ARM: remove dkb board support
ARM: remove cm4008 and cm41xx board support
ARM: remove a320evb board support
ARM: remove tnetv107x board support
ARM: davinci: remove hawkboard support

 arch/arm/Kconfig                               |  50 ---
 arch/arm/cpu/arm1176/Makefile                  |   1 -
 arch/arm/cpu/arm1176/start.S                   |  22 -
 arch/arm/cpu/arm1176/tnetv107x/Makefile        |   6 -
 arch/arm/cpu/arm1176/tnetv107x/aemif.c         |  78 ----
 arch/arm/cpu/arm1176/tnetv107x/clock.c         | 432 ------------------
 arch/arm/cpu/arm1176/tnetv107x/init.c          |  22 -
 arch/arm/cpu/arm1176/tnetv107x/lowlevel_init.S |  10 -
 arch/arm/cpu/arm1176/tnetv107x/mux.c           | 319 -------------
 arch/arm/cpu/arm1176/tnetv107x/timer.c         |  93 ----
 arch/arm/cpu/arm920t/Makefile                  |   2 -
 arch/arm/cpu/arm920t/a320/Makefile             |   9 -
 arch/arm/cpu/arm920t/a320/reset.S              |  10 -
 arch/arm/cpu/arm920t/a320/timer.c              | 118 -----
 arch/arm/cpu/arm920t/ks8695/Makefile           |   9 -
 arch/arm/cpu/arm920t/ks8695/lowlevel_init.S    | 189 --------
 arch/arm/cpu/arm920t/ks8695/timer.c            |  77 ----
 arch/arm/cpu/arm926ejs/Makefile                |   3 -
 arch/arm/cpu/arm926ejs/davinci/Kconfig         |   4 -
 arch/arm/cpu/arm926ejs/lpc32xx/Makefile        |   8 -
 arch/arm/cpu/arm926ejs/lpc32xx/clk.c           | 104 -----
 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c           |  57 ---
 arch/arm/cpu/arm926ejs/lpc32xx/devices.c       |  39 --
 arch/arm/cpu/arm926ejs/lpc32xx/timer.c         |  82 ----
 arch/arm/cpu/arm926ejs/mb86r0x/Makefile        |   8 -
 arch/arm/cpu/arm926ejs/mb86r0x/clock.c         |  27 --
 arch/arm/cpu/arm926ejs/mb86r0x/reset.c         |  24 -
 arch/arm/cpu/arm926ejs/mb86r0x/timer.c         | 115 -----
 arch/arm/cpu/arm926ejs/pantheon/Makefile       |   9 -
 arch/arm/cpu/arm926ejs/pantheon/cpu.c          |  85 ----
 arch/arm/cpu/arm926ejs/pantheon/dram.c         | 117 -----
 arch/arm/cpu/arm926ejs/pantheon/timer.c        | 201 ---------
 arch/arm/include/asm/arch-a320/a320.h          |  22 -
 arch/arm/include/asm/arch-ks8695/platform.h    | 294 ------------
 arch/arm/include/asm/arch-lpc32xx/clk.h        | 157 -------
 arch/arm/include/asm/arch-lpc32xx/config.h     |  59 ---
 arch/arm/include/asm/arch-lpc32xx/cpu.h        |  51 ---
 arch/arm/include/asm/arch-lpc32xx/emc.h        |  79 ----
 arch/arm/include/asm/arch-lpc32xx/sys_proto.h  |  12 -
 arch/arm/include/asm/arch-lpc32xx/timer.h      |  61 ---
 arch/arm/include/asm/arch-lpc32xx/uart.h       | 101 -----
 arch/arm/include/asm/arch-lpc32xx/wdt.h        |  38 --
 arch/arm/include/asm/arch-mb86r0x/hardware.h   |  15 -
 arch/arm/include/asm/arch-mb86r0x/mb86r0x.h    | 599 -------------------------
 arch/arm/include/asm/arch-pantheon/config.h    |  53 ---
 arch/arm/include/asm/arch-pantheon/cpu.h       |  77 ----
 arch/arm/include/asm/arch-pantheon/gpio.h      |   0
 arch/arm/include/asm/arch-pantheon/mfp.h       |  39 --
 arch/arm/include/asm/arch-pantheon/pantheon.h  |  38 --
 arch/arm/include/asm/arch-tnetv107x/clock.h    |  53 ---
 arch/arm/include/asm/arch-tnetv107x/hardware.h | 160 -------
 arch/arm/include/asm/arch-tnetv107x/mux.h      | 291 ------------
 arch/arm/lib/asm-offsets.c                     |  46 --
 board/Marvell/dkb/Kconfig                      |  15 -
 board/Marvell/dkb/MAINTAINERS                  |   6 -
 board/Marvell/dkb/Makefile                     |   9 -
 board/Marvell/dkb/dkb.c                        |  85 ----
 board/cm4008/Kconfig                           |  12 -
 board/cm4008/MAINTAINERS                       |   6 -
 board/cm4008/Makefile                          |   8 -
 board/cm4008/cm4008.c                          |  88 ----
 board/cm4008/config.mk                         |   1 -
 board/cm4008/flash.c                           | 395 ----------------
 board/cm41xx/Kconfig                           |  12 -
 board/cm41xx/MAINTAINERS                       |   6 -
 board/cm41xx/Makefile                          |   8 -
 board/cm41xx/cm41xx.c                          |  88 ----
 board/cm41xx/config.mk                         |   1 -
 board/cm41xx/flash.c                           | 395 ----------------
 board/davinci/da8xxevm/Kconfig                 |  13 -
 board/davinci/da8xxevm/MAINTAINERS             |   8 -
 board/davinci/da8xxevm/Makefile                |   1 -
 board/davinci/da8xxevm/README.hawkboard        |  92 ----
 board/davinci/da8xxevm/hawkboard-ais-nand.cfg  |   4 -
 board/davinci/da8xxevm/hawkboard.c             | 120 -----
 board/davinci/da8xxevm/u-boot-spl-hawk.lds     |  69 ---
 board/faraday/a320evb/Kconfig                  |  15 -
 board/faraday/a320evb/MAINTAINERS              |   6 -
 board/faraday/a320evb/Makefile                 |   9 -
 board/faraday/a320evb/a320evb.c                |  59 ---
 board/faraday/a320evb/lowlevel_init.S          | 106 -----
 board/freescale/mx31ads/Kconfig                |  15 -
 board/freescale/mx31ads/MAINTAINERS            |   6 -
 board/freescale/mx31ads/Makefile               |   8 -
 board/freescale/mx31ads/lowlevel_init.S        | 268 -----------
 board/freescale/mx31ads/mx31ads.c              | 114 -----
 board/freescale/mx31ads/u-boot.lds             | 110 -----
 board/imx31_phycore/Kconfig                    |  12 -
 board/imx31_phycore/MAINTAINERS                |  11 -
 board/imx31_phycore/Makefile                   |   9 -
 board/imx31_phycore/imx31_phycore.c            | 153 -------
 board/imx31_phycore/lowlevel_init.S            |  88 ----
 board/syteco/jadecpu/Kconfig                   |  15 -
 board/syteco/jadecpu/MAINTAINERS               |   6 -
 board/syteco/jadecpu/Makefile                  |  13 -
 board/syteco/jadecpu/jadecpu.c                 | 160 -------
 board/syteco/jadecpu/lowlevel_init.S           | 249 ----------
 board/syteco/zmx25/Kconfig                     |  15 -
 board/syteco/zmx25/MAINTAINERS                 |   6 -
 board/syteco/zmx25/Makefile                    |   9 -
 board/syteco/zmx25/lowlevel_init.S             |  97 ----
 board/syteco/zmx25/zmx25.c                     | 174 -------
 board/ti/tnetv107xevm/Kconfig                  |  15 -
 board/ti/tnetv107xevm/MAINTAINERS              |   6 -
 board/ti/tnetv107xevm/Makefile                 |   5 -
 board/ti/tnetv107xevm/config.mk                |   5 -
 board/ti/tnetv107xevm/sdb_board.c              | 134 ------
 board/timll/devkit3250/Kconfig                 |  15 -
 board/timll/devkit3250/MAINTAINERS             |   6 -
 board/timll/devkit3250/Makefile                |   8 -
 board/timll/devkit3250/devkit3250.c            |  52 ---
 configs/a320evb_defconfig                      |   2 -
 configs/cm4008_defconfig                       |   2 -
 configs/cm41xx_defconfig                       |   2 -
 configs/devkit3250_defconfig                   |   2 -
 configs/dkb_defconfig                          |   2 -
 configs/hawkboard_defconfig                    |   4 -
 configs/hawkboard_uart_defconfig               |   5 -
 configs/imx31_phycore_defconfig                |   2 -
 configs/imx31_phycore_eet_defconfig            |   3 -
 configs/jadecpu_defconfig                      |   2 -
 configs/mx31ads_defconfig                      |   2 -
 configs/tnetv107x_evm_defconfig                |   2 -
 configs/zmx25_defconfig                        |   2 -
 doc/README.scrapyard                           |  45 +-
 drivers/net/Makefile                           |   1 -
 drivers/net/ks8695eth.c                        | 229 ----------
 drivers/serial/Makefile                        |   2 -
 drivers/serial/lpc32xx_hsuart.c                |  89 ----
 drivers/serial/serial.c                        |   4 -
 drivers/serial/serial_ks8695.c                 | 121 -----
 drivers/video/Makefile                         |   1 -
 drivers/video/mb86r0xgdc.c                     | 168 -------
 drivers/watchdog/Makefile                      |   1 -
 drivers/watchdog/tnetv107x_wdt.c               | 165 -------
 include/configs/a320evb.h                      | 211 ---------
 include/configs/cm4008.h                       | 104 -----
 include/configs/cm41xx.h                       | 104 -----
 include/configs/devkit3250.h                   | 101 -----
 include/configs/dkb.h                          |  51 ---
 include/configs/hawkboard.h                    | 220 ---------
 include/configs/imx31_phycore.h                | 202 ---------
 include/configs/jadecpu.h                      | 273 -----------
 include/configs/mx31ads.h                      | 188 --------
 include/configs/tnetv107x_evm.h                | 139 ------
 include/configs/zmx25.h                        | 162 -------
 include/netdev.h                               |   1 -
 include/serial.h                               |   4 +-
 148 files changed, 29 insertions(+), 10585 deletions(-)
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/Makefile
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/aemif.c
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/clock.c
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/init.c
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/lowlevel_init.S
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/mux.c
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/timer.c
 delete mode 100644 arch/arm/cpu/arm920t/a320/Makefile
 delete mode 100644 arch/arm/cpu/arm920t/a320/reset.S
 delete mode 100644 arch/arm/cpu/arm920t/a320/timer.c
 delete mode 100644 arch/arm/cpu/arm920t/ks8695/Makefile
 delete mode 100644 arch/arm/cpu/arm920t/ks8695/lowlevel_init.S
 delete mode 100644 arch/arm/cpu/arm920t/ks8695/timer.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/Makefile
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/clk.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/devices.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/timer.c
 delete mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/Makefile
 delete mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/clock.c
 delete mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/reset.c
 delete mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/timer.c
 delete mode 100644 arch/arm/cpu/arm926ejs/pantheon/Makefile
 delete mode 100644 arch/arm/cpu/arm926ejs/pantheon/cpu.c
 delete mode 100644 arch/arm/cpu/arm926ejs/pantheon/dram.c
 delete mode 100644 arch/arm/cpu/arm926ejs/pantheon/timer.c
 delete mode 100644 arch/arm/include/asm/arch-a320/a320.h
 delete mode 100644 arch/arm/include/asm/arch-ks8695/platform.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/clk.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/config.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/cpu.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/emc.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/sys_proto.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/timer.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/uart.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/wdt.h
 delete mode 100644 arch/arm/include/asm/arch-mb86r0x/hardware.h
 delete mode 100644 arch/arm/include/asm/arch-mb86r0x/mb86r0x.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/config.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/cpu.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/gpio.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/mfp.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/pantheon.h
 delete mode 100644 arch/arm/include/asm/arch-tnetv107x/clock.h
 delete mode 100644 arch/arm/include/asm/arch-tnetv107x/hardware.h
 delete mode 100644 arch/arm/include/asm/arch-tnetv107x/mux.h
 delete mode 100644 board/Marvell/dkb/Kconfig
 delete mode 100644 board/Marvell/dkb/MAINTAINERS
 delete mode 100644 board/Marvell/dkb/Makefile
 delete mode 100644 board/Marvell/dkb/dkb.c
 delete mode 100644 board/cm4008/Kconfig
 delete mode 100644 board/cm4008/MAINTAINERS
 delete mode 100644 board/cm4008/Makefile
 delete mode 100644 board/cm4008/cm4008.c
 delete mode 100644 board/cm4008/config.mk
 delete mode 100644 board/cm4008/flash.c
 delete mode 100644 board/cm41xx/Kconfig
 delete mode 100644 board/cm41xx/MAINTAINERS
 delete mode 100644 board/cm41xx/Makefile
 delete mode 100644 board/cm41xx/cm41xx.c
 delete mode 100644 board/cm41xx/config.mk
 delete mode 100644 board/cm41xx/flash.c
 delete mode 100644 board/davinci/da8xxevm/README.hawkboard
 delete mode 100644 board/davinci/da8xxevm/hawkboard-ais-nand.cfg
 delete mode 100644 board/davinci/da8xxevm/hawkboard.c
 delete mode 100644 board/davinci/da8xxevm/u-boot-spl-hawk.lds
 delete mode 100644 board/faraday/a320evb/Kconfig
 delete mode 100644 board/faraday/a320evb/MAINTAINERS
 delete mode 100644 board/faraday/a320evb/Makefile
 delete mode 100644 board/faraday/a320evb/a320evb.c
 delete mode 100644 board/faraday/a320evb/lowlevel_init.S
 delete mode 100644 board/freescale/mx31ads/Kconfig
 delete mode 100644 board/freescale/mx31ads/MAINTAINERS
 delete mode 100644 board/freescale/mx31ads/Makefile
 delete mode 100644 board/freescale/mx31ads/lowlevel_init.S
 delete mode 100644 board/freescale/mx31ads/mx31ads.c
 delete mode 100644 board/freescale/mx31ads/u-boot.lds
 delete mode 100644 board/imx31_phycore/Kconfig
 delete mode 100644 board/imx31_phycore/MAINTAINERS
 delete mode 100644 board/imx31_phycore/Makefile
 delete mode 100644 board/imx31_phycore/imx31_phycore.c
 delete mode 100644 board/imx31_phycore/lowlevel_init.S
 delete mode 100644 board/syteco/jadecpu/Kconfig
 delete mode 100644 board/syteco/jadecpu/MAINTAINERS
 delete mode 100644 board/syteco/jadecpu/Makefile
 delete mode 100644 board/syteco/jadecpu/jadecpu.c
 delete mode 100644 board/syteco/jadecpu/lowlevel_init.S
 delete mode 100644 board/syteco/zmx25/Kconfig
 delete mode 100644 board/syteco/zmx25/MAINTAINERS
 delete mode 100644 board/syteco/zmx25/Makefile
 delete mode 100644 board/syteco/zmx25/lowlevel_init.S
 delete mode 100644 board/syteco/zmx25/zmx25.c
 delete mode 100644 board/ti/tnetv107xevm/Kconfig
 delete mode 100644 board/ti/tnetv107xevm/MAINTAINERS
 delete mode 100644 board/ti/tnetv107xevm/Makefile
 delete mode 100644 board/ti/tnetv107xevm/config.mk
 delete mode 100644 board/ti/tnetv107xevm/sdb_board.c
 delete mode 100644 board/timll/devkit3250/Kconfig
 delete mode 100644 board/timll/devkit3250/MAINTAINERS
 delete mode 100644 board/timll/devkit3250/Makefile
 delete mode 100644 board/timll/devkit3250/devkit3250.c
 delete mode 100644 configs/a320evb_defconfig
 delete mode 100644 configs/cm4008_defconfig
 delete mode 100644 configs/cm41xx_defconfig
 delete mode 100644 configs/devkit3250_defconfig
 delete mode 100644 configs/dkb_defconfig
 delete mode 100644 configs/hawkboard_defconfig
 delete mode 100644 configs/hawkboard_uart_defconfig
 delete mode 100644 configs/imx31_phycore_defconfig
 delete mode 100644 configs/imx31_phycore_eet_defconfig
 delete mode 100644 configs/jadecpu_defconfig
 delete mode 100644 configs/mx31ads_defconfig
 delete mode 100644 configs/tnetv107x_evm_defconfig
 delete mode 100644 configs/zmx25_defconfig
 delete mode 100644 drivers/net/ks8695eth.c
 delete mode 100644 drivers/serial/lpc32xx_hsuart.c
 delete mode 100644 drivers/serial/serial_ks8695.c
 delete mode 100644 drivers/video/mb86r0xgdc.c
 delete mode 100644 drivers/watchdog/tnetv107x_wdt.c
 delete mode 100644 include/configs/a320evb.h
 delete mode 100644 include/configs/cm4008.h
 delete mode 100644 include/configs/cm41xx.h
 delete mode 100644 include/configs/devkit3250.h
 delete mode 100644 include/configs/dkb.h
 delete mode 100644 include/configs/hawkboard.h
 delete mode 100644 include/configs/imx31_phycore.h
 delete mode 100644 include/configs/jadecpu.h
 delete mode 100644 include/configs/mx31ads.h
 delete mode 100644 include/configs/tnetv107x_evm.h
 delete mode 100644 include/configs/zmx25.h
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/10 ARM: remove mx31ads board support

This is still a non-generic board.

Cc Guennadi Liakhovetski <[email protected]>
---
 arch/arm/Kconfig                        |   5 -
 board/freescale/mx31ads/Kconfig         |  15 --
 board/freescale/mx31ads/MAINTAINERS     |   6 -
 board/freescale/mx31ads/Makefile        |   8 -
 board/freescale/mx31ads/lowlevel_init.S | 268 --------------------------------
 board/freescale/mx31ads/mx31ads.c       | 114 --------------
 board/freescale/mx31ads/u-boot.lds      | 110 -------------
 configs/mx31ads_defconfig               |   2 -
 doc/README.scrapyard                    |  35 +++--
 include/configs/mx31ads.h               | 188 ----------------------
 10 files changed, 18 insertions(+), 733 deletions(-)
 delete mode 100644 board/freescale/mx31ads/Kconfig
 delete mode 100644 board/freescale/mx31ads/MAINTAINERS
 delete mode 100644 board/freescale/mx31ads/Makefile
 delete mode 100644 board/freescale/mx31ads/lowlevel_init.S
 delete mode 100644 board/freescale/mx31ads/mx31ads.c
 delete mode 100644 board/freescale/mx31ads/u-boot.lds
 delete mode 100644 configs/mx31ads_defconfig
 delete mode 100644 include/configs/mx31ads.h
arch/arm/Kconfig +0 -5
index 986b4c5..f12dac9 100644
@@ -373,10 +373,6 @@ config TARGET_QONG
 	bool "Support qong"
 	select CPU_ARM1136
 
-config TARGET_MX31ADS
-	bool "Support mx31ads"
-	select CPU_ARM1136
-
 config TARGET_MX31PDK
 	bool "Support mx31pdk"
 	select CPU_ARM1136
@@ -919,7 +915,6 @@ source "board/freescale/ls1021atwr/Kconfig"
 source "board/freescale/mx23evk/Kconfig"
 source "board/freescale/mx25pdk/Kconfig"
 source "board/freescale/mx28evk/Kconfig"
-source "board/freescale/mx31ads/Kconfig"
 source "board/freescale/mx31pdk/Kconfig"
 source "board/freescale/mx35pdk/Kconfig"
 source "board/freescale/mx51evk/Kconfig"
board/freescale/mx31ads/Kconfig deleted +0 -15
deleted file mode 100644
index eeeb6f4..0000000
@@ -1,15 +0,0 @@
-if TARGET_MX31ADS
-
-config SYS_BOARD
-	default "mx31ads"
-
-config SYS_VENDOR
-	default "freescale"
-
-config SYS_SOC
-	default "mx31"
-
-config SYS_CONFIG_NAME
-	default "mx31ads"
-
-endif
board/freescale/mx31ads/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 5f6ec26..0000000
@@ -1,6 +0,0 @@
-MX31ADS BOARD
-#M:	(resigned) Guennadi Liakhovetski <[email protected]>
-S:	Orphan (since 2013-09)
-F:	board/freescale/mx31ads/
-F:	include/configs/mx31ads.h
-F:	configs/mx31ads_defconfig
board/freescale/mx31ads/Makefile deleted +0 -8
deleted file mode 100644
index 5e1440d..0000000
@@ -1,8 +0,0 @@
-#
-# Copyright (C) 2008, Guennadi Liakhovetski <[email protected]>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= mx31ads.o
-obj-y	+= lowlevel_init.o
board/freescale/mx31ads/lowlevel_init.S deleted +0 -268

268 lines not on this page · raw message

board/freescale/mx31ads/mx31ads.c deleted +0 -114

114 lines not on this page · raw message

board/freescale/mx31ads/u-boot.lds deleted +0 -110

110 lines not on this page · raw message

configs/mx31ads_defconfig deleted +0 -2
deleted file mode 100644
index 5105a9a..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_MX31ADS=y
doc/README.scrapyard +18 -17
index 952ab87..c6f3d14 100644
@@ -12,23 +12,24 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
-icecube_5200     powerpc     mpc5xxx        -           -           Wolfgang Denk <[email protected]>
-Lite5200         powerpc     mpc5xxx        -           -
-cpci5200         powerpc     mpc5xxx        -           -           Reinhard Arlt <[email protected]>
-mecp5200         powerpc     mpc5xxx        -           -           Reinhard Arlt <[email protected]>
-pf5200           powerpc     mpc5xxx        -           -           Reinhard Arlt <[email protected]>
-PM520            powerpc     mpc5xxx        -           -           Josef Wagner <[email protected]>
-Total5200        powerpc     mpc5xxx        -           -
-CATcenter        powerpc     ppc4xx         -           -
-PPChameleonEVB   powerpc     ppc4xx         -           -           Andrea "llandre" Marson <[email protected]>
-P2020DS          powerpc     mpc85xx        -           -
-P2020COME        powerpc     mpc85xx        -           -           Ira W. Snyder <[email protected]>
-P2020RDB         powerpc     mpc85xx        -           -           Poonam Aggrwal <[email protected]>
-P2010RDB         powerpc     mpc85xx        -           -
-P1020RDB         powerpc     mpc85xx        -           -
-P1011RDB         powerpc     mpc85xx        -           -
-MPC8360EMDS      powerpc     mpc83xx        -           -           Dave Liu <[email protected]>
-MPC8360ERDK      powerpc     mpc83xx        -           -           Anton Vorontsov <[email protected]>
+mx31ads          arm         arm1136        -           -           Guennadi Liakhovetski <[email protected]>
+icecube_5200     powerpc     mpc5xxx        37b608a5    2015-01-23  Wolfgang Denk <[email protected]>
+Lite5200         powerpc     mpc5xxx        37b608a5    2015-01-23
+cpci5200         powerpc     mpc5xxx        37b608a5    2015-01-23  Reinhard Arlt <[email protected]>
+mecp5200         powerpc     mpc5xxx        37b608a5    2015-01-23  Reinhard Arlt <[email protected]>
+pf5200           powerpc     mpc5xxx        37b608a5    2015-01-23  Reinhard Arlt <[email protected]>
+PM520            powerpc     mpc5xxx        a258e732    2015-01-23  Josef Wagner <[email protected]>
+Total5200        powerpc     mpc5xxx        ad734f7d    2015-01-23
+CATcenter        powerpc     ppc4xx         5344cc1a    2015-01-23
+PPChameleonEVB   powerpc     ppc4xx         5344cc1a    2015-01-23  Andrea "llandre" Marson <[email protected]>
+P2020DS          powerpc     mpc85xx        168dcc6c    2015-01-23
+P2020COME        powerpc     mpc85xx        89123536    2015-01-23  Ira W. Snyder <[email protected]>
+P2020RDB         powerpc     mpc85xx        743d4815    2015-01-23  Poonam Aggrwal <[email protected]>
+P2010RDB         powerpc     mpc85xx        743d4815    2015-01-23
+P1020RDB         powerpc     mpc85xx        743d4815    2015-01-23
+P1011RDB         powerpc     mpc85xx        743d4815    2015-01-23
+MPC8360EMDS      powerpc     mpc83xx        8d1e3cb1    2015-01-23  Dave Liu <[email protected]>
+MPC8360ERDK      powerpc     mpc83xx        8d1e3cb1    2015-01-23  Anton Vorontsov <[email protected]>
 P3G4             powerpc     74xx_7xx       d928664f    2015-01-16  Wolfgang Denk <[email protected]>
 ZUMA             powerpc     74xx_7xx       d928664f    2015-01-16  Nye Liu <[email protected]>
 ppmc7xx          powerpc     74xx_7xx       d928664f    2015-01-16
include/configs/mx31ads.h deleted +0 -188

188 lines not on this page · raw message

Signature · 1 line
1.9.1
#2 lore raw

PATCH v2 2/10 ARM: mx31: remove imx31_phycore board

In reply to Masahiro Yamada

This is still a non-generic board.

Cc Guennadi Liakhovetski <[email protected]>

---

Changes in v2: None

 arch/arm/Kconfig                    |   5 -
 board/imx31_phycore/Kconfig         |  12 ---
 board/imx31_phycore/MAINTAINERS     |  11 --
 board/imx31_phycore/Makefile        |   9 --
 board/imx31_phycore/imx31_phycore.c | 153 ---------------------------
 board/imx31_phycore/lowlevel_init.S |  88 ----------------
 configs/imx31_phycore_defconfig     |   2 -
 configs/imx31_phycore_eet_defconfig |   3 -
 doc/README.scrapyard                |   1 +
 include/configs/imx31_phycore.h     | 202 ------------------------------------
 10 files changed, 1 insertion(+), 485 deletions(-)
 delete mode 100644 board/imx31_phycore/Kconfig
 delete mode 100644 board/imx31_phycore/MAINTAINERS
 delete mode 100644 board/imx31_phycore/Makefile
 delete mode 100644 board/imx31_phycore/imx31_phycore.c
 delete mode 100644 board/imx31_phycore/lowlevel_init.S
 delete mode 100644 configs/imx31_phycore_defconfig
 delete mode 100644 configs/imx31_phycore_eet_defconfig
 delete mode 100644 include/configs/imx31_phycore.h
arch/arm/Kconfig +0 -5
index f12dac9..d49142e 100644
@@ -365,10 +365,6 @@ config TARGET_INTEGRATORCP_CM1136
 	bool "Support integratorcp_cm1136"
 	select CPU_ARM1136
 
-config TARGET_IMX31_PHYCORE
-	bool "Support imx31_phycore"
-	select CPU_ARM1136
-
 config TARGET_QONG
 	bool "Support qong"
 	select CPU_ARM1136
@@ -934,7 +930,6 @@ source "board/gumstix/pepper/Kconfig"
 source "board/h2200/Kconfig"
 source "board/hale/tt01/Kconfig"
 source "board/icpdas/lp8x4x/Kconfig"
-source "board/imx31_phycore/Kconfig"
 source "board/isee/igep0033/Kconfig"
 source "board/jornada/Kconfig"
 source "board/karo/tx25/Kconfig"
board/imx31_phycore/Kconfig deleted +0 -12
deleted file mode 100644
index d3d2025..0000000
@@ -1,12 +0,0 @@
-if TARGET_IMX31_PHYCORE
-
-config SYS_BOARD
-	default "imx31_phycore"
-
-config SYS_SOC
-	default "mx31"
-
-config SYS_CONFIG_NAME
-	default "imx31_phycore"
-
-endif
board/imx31_phycore/MAINTAINERS deleted +0 -11
deleted file mode 100644
index 41f6cae..0000000
@@ -1,11 +0,0 @@
-IMX31_PHYCORE BOARD
-#M:	-
-S:	Maintained
-F:	board/imx31_phycore/
-F:	include/configs/imx31_phycore.h
-F:	configs/imx31_phycore_defconfig
-
-IMX31_PHYCORE_EET BOARD
-#M:	(resigned) Guennadi Liakhovetski <[email protected]>
-S:	Orphan (since 2013-09)
-F:	configs/imx31_phycore_eet_defconfig
board/imx31_phycore/Makefile deleted +0 -9
deleted file mode 100644
index e781c13..0000000
@@ -1,9 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= imx31_phycore.o
-obj-y	+= lowlevel_init.o
board/imx31_phycore/imx31_phycore.c deleted +0 -153

153 lines not on this page · raw message

board/imx31_phycore/lowlevel_init.S deleted +0 -88

88 lines not on this page · raw message

configs/imx31_phycore_defconfig deleted +0 -2
deleted file mode 100644
index 563de57..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_IMX31_PHYCORE=y
configs/imx31_phycore_eet_defconfig deleted +0 -3
deleted file mode 100644
index 9531952..0000000
@@ -1,3 +0,0 @@
-CONFIG_SYS_EXTRA_OPTIONS="IMX31_PHYCORE_EET"
-CONFIG_ARM=y
-CONFIG_TARGET_IMX31_PHYCORE=y
doc/README.scrapyard +1 -0
index c6f3d14..cd51249 100644
@@ -12,6 +12,7 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+imx31_phycore    arm         arm1136        -           -           Guennadi Liakhovetski <[email protected]>
 mx31ads          arm         arm1136        -           -           Guennadi Liakhovetski <[email protected]>
 icecube_5200     powerpc     mpc5xxx        37b608a5    2015-01-23  Wolfgang Denk <[email protected]>
 Lite5200         powerpc     mpc5xxx        37b608a5    2015-01-23
include/configs/imx31_phycore.h deleted +0 -202

202 lines not on this page · raw message

Signature · 1 line
1.9.1
#3 lore raw

PATCH v2 3/10 ARM: remove jadecpu board support

In reply to Masahiro Yamada

This is still a non-generic board.

Cc Matthias Weisser <[email protected]>

---

Changes in v2: None

 arch/arm/Kconfig                             |   5 -
 arch/arm/cpu/arm926ejs/Makefile              |   1 -
 arch/arm/cpu/arm926ejs/mb86r0x/Makefile      |   8 -
 arch/arm/cpu/arm926ejs/mb86r0x/clock.c       |  27 --
 arch/arm/cpu/arm926ejs/mb86r0x/reset.c       |  24 --
 arch/arm/cpu/arm926ejs/mb86r0x/timer.c       | 115 -----
 arch/arm/include/asm/arch-mb86r0x/hardware.h |  15 -
 arch/arm/include/asm/arch-mb86r0x/mb86r0x.h  | 599 ---------------------------
 arch/arm/lib/asm-offsets.c                   |  46 --
 board/syteco/jadecpu/Kconfig                 |  15 -
 board/syteco/jadecpu/MAINTAINERS             |   6 -
 board/syteco/jadecpu/Makefile                |  13 -
 board/syteco/jadecpu/jadecpu.c               | 160 -------
 board/syteco/jadecpu/lowlevel_init.S         | 249 -----------
 configs/jadecpu_defconfig                    |   2 -
 doc/README.scrapyard                         |   1 +
 drivers/video/Makefile                       |   1 -
 drivers/video/mb86r0xgdc.c                   | 168 --------
 include/configs/jadecpu.h                    | 273 ------------
 include/serial.h                             |   2 +-
 20 files changed, 2 insertions(+), 1728 deletions(-)
 delete mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/Makefile
 delete mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/clock.c
 delete mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/reset.c
 delete mode 100644 arch/arm/cpu/arm926ejs/mb86r0x/timer.c
 delete mode 100644 arch/arm/include/asm/arch-mb86r0x/hardware.h
 delete mode 100644 arch/arm/include/asm/arch-mb86r0x/mb86r0x.h
 delete mode 100644 board/syteco/jadecpu/Kconfig
 delete mode 100644 board/syteco/jadecpu/MAINTAINERS
 delete mode 100644 board/syteco/jadecpu/Makefile
 delete mode 100644 board/syteco/jadecpu/jadecpu.c
 delete mode 100644 board/syteco/jadecpu/lowlevel_init.S
 delete mode 100644 configs/jadecpu_defconfig
 delete mode 100644 drivers/video/mb86r0xgdc.c
 delete mode 100644 include/configs/jadecpu.h
arch/arm/Kconfig +0 -5
index d49142e..3ade156 100644
@@ -245,10 +245,6 @@ config TARGET_DEVKIT3250
 	bool "Support devkit3250"
 	select CPU_ARM926EJS
 
-config TARGET_JADECPU
-	bool "Support jadecpu"
-	select CPU_ARM926EJS
-
 config TARGET_MX25PDK
 	bool "Support mx25pdk"
 	select CPU_ARM926EJS
@@ -969,7 +965,6 @@ source "board/st-ericsson/snowball/Kconfig"
 source "board/st-ericsson/u8500/Kconfig"
 source "board/st/stv0991/Kconfig"
 source "board/sunxi/Kconfig"
-source "board/syteco/jadecpu/Kconfig"
 source "board/syteco/zmx25/Kconfig"
 source "board/taskit/stamp9g20/Kconfig"
 source "board/tbs/tbs2910/Kconfig"
arch/arm/cpu/arm926ejs/Makefile +0 -1
index adcea9f..607d29f 100644
@@ -19,7 +19,6 @@ obj-$(CONFIG_AT91FAMILY) += at91/
 obj-$(CONFIG_ARCH_DAVINCI) += davinci/
 obj-$(CONFIG_KIRKWOOD) += kirkwood/
 obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
-obj-$(CONFIG_MB86R0x) += mb86r0x/
 obj-$(CONFIG_MX25) += mx25/
 obj-$(CONFIG_MX27) += mx27/
 obj-$(if $(filter mxs,$(SOC)),y) += mxs/
arch/arm/cpu/arm926ejs/mb86r0x/Makefile deleted +0 -8
deleted file mode 100644
index 365892c..0000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	= clock.o reset.o timer.o
arch/arm/cpu/arm926ejs/mb86r0x/clock.c deleted +0 -27
deleted file mode 100644
index 1f6f66e..0000000
@@ -1,27 +0,0 @@
-/*
- * (C) Copyright 2010
- * Matthias Weisser <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/io.h>
-#include <asm/arch/hardware.h>
-
-/*
- * Get the peripheral bus frequency depending on pll pin settings
- */
-ulong get_bus_freq(ulong dummy)
-{
-	struct mb86r0x_crg * crg = (struct mb86r0x_crg *)
-					MB86R0x_CRG_BASE;
-	uint32_t pllmode;
-
-	pllmode = readl(&crg->crpr) & MB86R0x_CRG_CRPR_PLLMODE;
-
-	if (pllmode == MB86R0x_CRG_CRPR_PLLMODE_X20)
-		return 40000000;
-
-	return 41164767;
-}
arch/arm/cpu/arm926ejs/mb86r0x/reset.c deleted +0 -24
deleted file mode 100644
index 7bd77ff..0000000
@@ -1,24 +0,0 @@
-/*
- * (C) Copyright 2010
- * Matthias Weisser <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/io.h>
-#include <asm/arch/hardware.h>
-
-/*
- * Reset the cpu by setting software reset request bit
- */
-void reset_cpu(ulong ignored)
-{
-	struct mb86r0x_crg * crg = (struct mb86r0x_crg *)
-					MB86R0x_CRG_BASE;
-
-	writel(MB86R0x_CRSR_SWRSTREQ, &crg->crsr);
-	while (1)
-		/* NOP */;
-	/* Never reached */
-}
arch/arm/cpu/arm926ejs/mb86r0x/timer.c deleted +0 -115

115 lines not on this page · raw message

arch/arm/include/asm/arch-mb86r0x/hardware.h deleted +0 -15
deleted file mode 100644
index 42a52bc..0000000
@@ -1,15 +0,0 @@
-/*
- * (C) Copyright 2007
- *
- * Author : Carsten Schneider, mycable GmbH
- *          <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#ifndef __ASM_ARCH_HARDWARE_H
-#define __ASM_ARCH_HARDWARE_H
-
-#include <linux/sizes.h>
-#include <asm/arch/mb86r0x.h>
-
-#endif
arch/arm/include/asm/arch-mb86r0x/mb86r0x.h deleted +0 -599

599 lines not on this page · raw message

arch/arm/lib/asm-offsets.c +0 -46

64 lines not on this page · raw message

board/syteco/jadecpu/Kconfig deleted +0 -15
deleted file mode 100644
index 6e9392e..0000000
@@ -1,15 +0,0 @@
-if TARGET_JADECPU
-
-config SYS_BOARD
-	default "jadecpu"
-
-config SYS_VENDOR
-	default "syteco"
-
-config SYS_SOC
-	default "mb86r0x"
-
-config SYS_CONFIG_NAME
-	default "jadecpu"
-
-endif
board/syteco/jadecpu/MAINTAINERS deleted +0 -6
deleted file mode 100644
index b53e7ca..0000000
@@ -1,6 +0,0 @@
-JADECPU BOARD
-M:	Matthias Weisser <[email protected]>
-S:	Maintained
-F:	board/syteco/jadecpu/
-F:	include/configs/jadecpu.h
-F:	configs/jadecpu_defconfig
board/syteco/jadecpu/Makefile deleted +0 -13
deleted file mode 100644
index 7426436..0000000
@@ -1,13 +0,0 @@
-#
-# (C) Copyright 2003-2008
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# (C) Copyright 2008
-# Stelian Pop <[email protected]>
-# Lead Tech Design <www.leadtechdesign.com>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	+= jadecpu.o
-obj-y	+= lowlevel_init.o
board/syteco/jadecpu/jadecpu.c deleted +0 -160

160 lines not on this page · raw message

board/syteco/jadecpu/lowlevel_init.S deleted +0 -249

249 lines not on this page · raw message

configs/jadecpu_defconfig deleted +0 -2
deleted file mode 100644
index 4348e0e..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_JADECPU=y
doc/README.scrapyard +1 -0
index cd51249..fbeb2cd 100644
@@ -12,6 +12,7 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+jadecpu          arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
 imx31_phycore    arm         arm1136        -           -           Guennadi Liakhovetski <[email protected]>
 mx31ads          arm         arm1136        -           -           Guennadi Liakhovetski <[email protected]>
 icecube_5200     powerpc     mpc5xxx        37b608a5    2015-01-23  Wolfgang Denk <[email protected]>
drivers/video/Makefile +0 -1
index af2d47b..22a316b 100644
@@ -32,7 +32,6 @@ obj-$(CONFIG_VIDEO_IMX25LCDC) += imx25lcdc.o videomodes.o
 obj-$(CONFIG_VIDEO_LCD_HITACHI_TX18D42VM) += hitachi_tx18d42vm_lcd.o
 obj-$(CONFIG_VIDEO_LCD_SSD2828) += ssd2828.o
 obj-$(CONFIG_VIDEO_MB862xx) += mb862xx.o videomodes.o
-obj-$(CONFIG_VIDEO_MB86R0xGDC) += mb86r0xgdc.o videomodes.o
 obj-$(CONFIG_VIDEO_MX3) += mx3fb.o videomodes.o
 obj-$(CONFIG_VIDEO_IPUV3) += mxc_ipuv3_fb.o ipu_common.o ipu_disp.o
 obj-$(CONFIG_VIDEO_MXS) += mxsfb.o videomodes.o
drivers/video/mb86r0xgdc.c deleted +0 -168

168 lines not on this page · raw message

include/configs/jadecpu.h deleted +0 -273

273 lines not on this page · raw message

include/serial.h +1 -1
index 66ed12c..3d2e569 100644
@@ -29,7 +29,7 @@ extern struct serial_device *default_serial_console(void);
 #if	defined(CONFIG_405GP) || \
 	defined(CONFIG_405EP) || defined(CONFIG_405EZ) || \
 	defined(CONFIG_405EX) || defined(CONFIG_440) || \
-	defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) || \
+	defined(CONFIG_MPC5xxx) || \
 	defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) || \
 	defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) || \
 	defined(CONFIG_TEGRA) || defined(CONFIG_SYS_COREBOOT) || \
Signature · 1 line
1.9.1
#4 lore raw

PATCH v2 4/10 ARM: remove zmx25 board support

In reply to Masahiro Yamada

This is still a non-generic board.

Cc Matthias Weisser <[email protected]>

---

Changes in v2: None

 arch/arm/Kconfig                   |   5 --
 board/syteco/zmx25/Kconfig         |  15 ----
 board/syteco/zmx25/MAINTAINERS     |   6 --
 board/syteco/zmx25/Makefile        |   9 --
 board/syteco/zmx25/lowlevel_init.S |  97 ---------------------
 board/syteco/zmx25/zmx25.c         | 174 -------------------------------------
 configs/zmx25_defconfig            |   2 -
 doc/README.scrapyard               |   1 +
 include/configs/zmx25.h            | 162 ----------------------------------
 9 files changed, 1 insertion(+), 470 deletions(-)
 delete mode 100644 board/syteco/zmx25/Kconfig
 delete mode 100644 board/syteco/zmx25/MAINTAINERS
 delete mode 100644 board/syteco/zmx25/Makefile
 delete mode 100644 board/syteco/zmx25/lowlevel_init.S
 delete mode 100644 board/syteco/zmx25/zmx25.c
 delete mode 100644 configs/zmx25_defconfig
 delete mode 100644 include/configs/zmx25.h
arch/arm/Kconfig +0 -5
index 3ade156..cbed2f4 100644
@@ -254,10 +254,6 @@ config TARGET_TX25
 	select CPU_ARM926EJS
 	select SUPPORT_SPL
 
-config TARGET_ZMX25
-	bool "Support zmx25"
-	select CPU_ARM926EJS
-
 config TARGET_APF27
 	bool "Support apf27"
 	select CPU_ARM926EJS
@@ -965,7 +961,6 @@ source "board/st-ericsson/snowball/Kconfig"
 source "board/st-ericsson/u8500/Kconfig"
 source "board/st/stv0991/Kconfig"
 source "board/sunxi/Kconfig"
-source "board/syteco/zmx25/Kconfig"
 source "board/taskit/stamp9g20/Kconfig"
 source "board/tbs/tbs2910/Kconfig"
 source "board/ti/am335x/Kconfig"
board/syteco/zmx25/Kconfig deleted +0 -15
deleted file mode 100644
index 59a415d..0000000
@@ -1,15 +0,0 @@
-if TARGET_ZMX25
-
-config SYS_BOARD
-	default "zmx25"
-
-config SYS_VENDOR
-	default "syteco"
-
-config SYS_SOC
-	default "mx25"
-
-config SYS_CONFIG_NAME
-	default "zmx25"
-
-endif
board/syteco/zmx25/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 90f9fab..0000000
@@ -1,6 +0,0 @@
-ZMX25 BOARD
-M:	Matthias Weisser <[email protected]>
-S:	Maintained
-F:	board/syteco/zmx25/
-F:	include/configs/zmx25.h
-F:	configs/zmx25_defconfig
board/syteco/zmx25/Makefile deleted +0 -9
deleted file mode 100644
index d5edb48..0000000
@@ -1,9 +0,0 @@
-#
-# (c) 2010 Graf-Syteco, Matthias Weisser
-# <[email protected]>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	+= zmx25.o
-obj-y	+= lowlevel_init.o
board/syteco/zmx25/lowlevel_init.S deleted +0 -97

97 lines not on this page · raw message

board/syteco/zmx25/zmx25.c deleted +0 -174

174 lines not on this page · raw message

configs/zmx25_defconfig deleted +0 -2
deleted file mode 100644
index 80a66d0..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_ZMX25=y
doc/README.scrapyard +1 -0
index fbeb2cd..b24bfea 100644
@@ -12,6 +12,7 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+zmx25            arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
 jadecpu          arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
 imx31_phycore    arm         arm1136        -           -           Guennadi Liakhovetski <[email protected]>
 mx31ads          arm         arm1136        -           -           Guennadi Liakhovetski <[email protected]>
include/configs/zmx25.h deleted +0 -162

162 lines not on this page · raw message

Signature · 1 line
1.9.1
#5 lore raw

PATCH v2 5/10 ARM: remove devkit3250 board support

In reply to Masahiro Yamada

This is still a non-generic board.

Cc Vladimir Zapolskiy <[email protected]>

---

Changes in v2: None

 arch/arm/Kconfig                              |   5 -
 arch/arm/cpu/arm926ejs/Makefile               |   1 -
 arch/arm/cpu/arm926ejs/lpc32xx/Makefile       |   8 --
 arch/arm/cpu/arm926ejs/lpc32xx/clk.c          | 104 -----------------
 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c          |  57 ----------
 arch/arm/cpu/arm926ejs/lpc32xx/devices.c      |  39 -------
 arch/arm/cpu/arm926ejs/lpc32xx/timer.c        |  82 --------------
 arch/arm/include/asm/arch-lpc32xx/clk.h       | 157 --------------------------
 arch/arm/include/asm/arch-lpc32xx/config.h    |  59 ----------
 arch/arm/include/asm/arch-lpc32xx/cpu.h       |  51 ---------
 arch/arm/include/asm/arch-lpc32xx/emc.h       |  79 -------------
 arch/arm/include/asm/arch-lpc32xx/sys_proto.h |  12 --
 arch/arm/include/asm/arch-lpc32xx/timer.h     |  61 ----------
 arch/arm/include/asm/arch-lpc32xx/uart.h      | 101 -----------------
 arch/arm/include/asm/arch-lpc32xx/wdt.h       |  38 -------
 board/timll/devkit3250/Kconfig                |  15 ---
 board/timll/devkit3250/MAINTAINERS            |   6 -
 board/timll/devkit3250/Makefile               |   8 --
 board/timll/devkit3250/devkit3250.c           |  52 ---------
 configs/devkit3250_defconfig                  |   2 -
 doc/README.scrapyard                          |   1 +
 drivers/serial/Makefile                       |   1 -
 drivers/serial/lpc32xx_hsuart.c               |  89 ---------------
 drivers/serial/serial.c                       |   2 -
 include/configs/devkit3250.h                  | 101 -----------------
 include/serial.h                              |   1 -
 26 files changed, 1 insertion(+), 1131 deletions(-)
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/Makefile
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/clk.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/devices.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/timer.c
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/clk.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/config.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/cpu.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/emc.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/sys_proto.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/timer.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/uart.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/wdt.h
 delete mode 100644 board/timll/devkit3250/Kconfig
 delete mode 100644 board/timll/devkit3250/MAINTAINERS
 delete mode 100644 board/timll/devkit3250/Makefile
 delete mode 100644 board/timll/devkit3250/devkit3250.c
 delete mode 100644 configs/devkit3250_defconfig
 delete mode 100644 drivers/serial/lpc32xx_hsuart.c
 delete mode 100644 include/configs/devkit3250.h
arch/arm/Kconfig +0 -5
index cbed2f4..b0b7eaf 100644
@@ -241,10 +241,6 @@ config TARGET_MAXBCM
 	bool "Support maxbcm"
 	select CPU_V7
 
-config TARGET_DEVKIT3250
-	bool "Support devkit3250"
-	select CPU_ARM926EJS
-
 config TARGET_MX25PDK
 	bool "Support mx25pdk"
 	select CPU_ARM926EJS
@@ -968,7 +964,6 @@ source "board/ti/am43xx/Kconfig"
 source "board/ti/ti814x/Kconfig"
 source "board/ti/ti816x/Kconfig"
 source "board/ti/tnetv107xevm/Kconfig"
-source "board/timll/devkit3250/Kconfig"
 source "board/toradex/colibri_pxa270/Kconfig"
 source "board/tqc/tqma6/Kconfig"
 source "board/trizepsiv/Kconfig"
arch/arm/cpu/arm926ejs/Makefile +0 -1
index 607d29f..bfa365e 100644
@@ -18,7 +18,6 @@ obj-$(CONFIG_ARMADA100) += armada100/
 obj-$(CONFIG_AT91FAMILY) += at91/
 obj-$(CONFIG_ARCH_DAVINCI) += davinci/
 obj-$(CONFIG_KIRKWOOD) += kirkwood/
-obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/
 obj-$(CONFIG_MX25) += mx25/
 obj-$(CONFIG_MX27) += mx27/
 obj-$(if $(filter mxs,$(SOC)),y) += mxs/
arch/arm/cpu/arm926ejs/lpc32xx/Makefile deleted +0 -8
deleted file mode 100644
index 314f004..0000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y   = cpu.o clk.o devices.o timer.o
arch/arm/cpu/arm926ejs/lpc32xx/clk.c deleted +0 -104

104 lines not on this page · raw message

arch/arm/cpu/arm926ejs/lpc32xx/cpu.c deleted +0 -57

57 lines not on this page · raw message

arch/arm/cpu/arm926ejs/lpc32xx/devices.c deleted +0 -39
deleted file mode 100644
index b567657..0000000
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2011 by Vladimir Zapolskiy <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/arch/cpu.h>
-#include <asm/arch/clk.h>
-#include <asm/arch/uart.h>
-#include <asm/io.h>
-
-static struct clk_pm_regs    *clk  = (struct clk_pm_regs *)CLK_PM_BASE;
-static struct uart_ctrl_regs *ctrl = (struct uart_ctrl_regs *)UART_CTRL_BASE;
-
-void lpc32xx_uart_init(unsigned int uart_id)
-{
-	if (uart_id < 1 || uart_id > 7)
-		return;
-
-	/* Disable loopback mode, if it is set by S1L bootloader */
-	clrbits_le32(&ctrl->loop,
-		     UART_LOOPBACK(CONFIG_SYS_LPC32XX_UART));
-
-	if (uart_id < 3 || uart_id > 6)
-		return;
-
-	/* Enable UART system clock */
-	setbits_le32(&clk->uartclk_ctrl, CLK_UART(uart_id));
-
-	/* Set UART into autoclock mode */
-	clrsetbits_le32(&ctrl->clkmode,
-			UART_CLKMODE_MASK(uart_id),
-			UART_CLKMODE_AUTO(uart_id));
-
-	/* Bypass pre-divider of UART clock */
-	writel(CLK_UART_X_DIV(1) | CLK_UART_Y_DIV(1),
-	       &clk->u3clk + (uart_id - 3));
-}
arch/arm/cpu/arm926ejs/lpc32xx/timer.c deleted +0 -82

82 lines not on this page · raw message

arch/arm/include/asm/arch-lpc32xx/clk.h deleted +0 -157

157 lines not on this page · raw message

arch/arm/include/asm/arch-lpc32xx/config.h deleted +0 -59

59 lines not on this page · raw message

arch/arm/include/asm/arch-lpc32xx/cpu.h deleted +0 -51

51 lines not on this page · raw message

arch/arm/include/asm/arch-lpc32xx/emc.h deleted +0 -79

79 lines not on this page · raw message

arch/arm/include/asm/arch-lpc32xx/sys_proto.h deleted +0 -12
deleted file mode 100644
index 28812be..0000000
@@ -1,12 +0,0 @@
-/*
- * Copyright (C) 2011 Vladimir Zapolskiy <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef _LPC32XX_SYS_PROTO_H
-#define _LPC32XX_SYS_PROTO_H
-
-void lpc32xx_uart_init(unsigned int uart_id);
-
-#endif /* _LPC32XX_SYS_PROTO_H */
arch/arm/include/asm/arch-lpc32xx/timer.h deleted +0 -61

61 lines not on this page · raw message

arch/arm/include/asm/arch-lpc32xx/uart.h deleted +0 -101

101 lines not on this page · raw message

arch/arm/include/asm/arch-lpc32xx/wdt.h deleted +0 -38
deleted file mode 100644
index d7903c2..0000000
@@ -1,38 +0,0 @@
-/*
- * Copyright (C) 2011 by Vladimir Zapolskiy <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef _LPC32XX_WDT_H
-#define _LPC32XX_WDT_H
-
-#include <asm/types.h>
-
-/* Watchdog Timer Registers */
-struct wdt_regs {
-	u32 isr;		/* Interrupt Status Register		*/
-	u32 ctrl;		/* Control Register			*/
-	u32 counter;		/* Counter Value Register		*/
-	u32 mctrl;		/* Match Control Register		*/
-	u32 match0;		/* Match 0 Register			*/
-	u32 emr;		/* External Match Control Register	*/
-	u32 pulse;		/* Reset Pulse Length Register		*/
-	u32 res;		/* Reset Source Register		*/
-};
-
-/* Watchdog Timer Control Register bits */
-#define WDTIM_CTRL_PAUSE_EN		(1 << 2)
-#define WDTIM_CTRL_RESET_COUNT		(1 << 1)
-#define WDTIM_CTRL_COUNT_ENAB		(1 << 0)
-
-/* Watchdog Timer Match Control Register bits */
-#define WDTIM_MCTRL_RESFRC2		(1 << 6)
-#define WDTIM_MCTRL_RESFRC1		(1 << 5)
-#define WDTIM_MCTRL_M_RES2		(1 << 4)
-#define WDTIM_MCTRL_M_RES1		(1 << 3)
-#define WDTIM_MCTRL_STOP_COUNT0		(1 << 2)
-#define WDTIM_MCTRL_RESET_COUNT0	(1 << 1)
-#define WDTIM_MCTRL_MR0_INT		(1 << 0)
-
-#endif /* _LPC32XX_WDT_H */
board/timll/devkit3250/Kconfig deleted +0 -15
deleted file mode 100644
index e3bd456..0000000
@@ -1,15 +0,0 @@
-if TARGET_DEVKIT3250
-
-config SYS_BOARD
-	default "devkit3250"
-
-config SYS_VENDOR
-	default "timll"
-
-config SYS_SOC
-	default "lpc32xx"
-
-config SYS_CONFIG_NAME
-	default "devkit3250"
-
-endif
board/timll/devkit3250/MAINTAINERS deleted +0 -6
deleted file mode 100644
index cb93563..0000000
@@ -1,6 +0,0 @@
-DEVKIT3250 BOARD
-M:	Vladimir Zapolskiy <[email protected]>
-S:	Maintained
-F:	board/timll/devkit3250/
-F:	include/configs/devkit3250.h
-F:	configs/devkit3250_defconfig
board/timll/devkit3250/Makefile deleted +0 -8
deleted file mode 100644
index 4722986..0000000
@@ -1,8 +0,0 @@
-#
-# Copyright (C) 2011 by Vladimir Zapolskiy <[email protected]>
-# Copyright (C) 2008, Guennadi Liakhovetski <[email protected]>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= devkit3250.o
board/timll/devkit3250/devkit3250.c deleted +0 -52

52 lines not on this page · raw message

configs/devkit3250_defconfig deleted +0 -2
deleted file mode 100644
index ba990bc..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_DEVKIT3250=y
doc/README.scrapyard +1 -0
index b24bfea..649d4d0 100644
@@ -12,6 +12,7 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+devkit3250       arm         arm926ejs      -           -           Vladimir Zapolskiy <[email protected]>
 zmx25            arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
 jadecpu          arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
 imx31_phycore    arm         arm1136        -           -           Guennadi Liakhovetski <[email protected]>
drivers/serial/Makefile +0 -1
index 4cc00cd..cedf246 100644
@@ -20,7 +20,6 @@ obj-$(CONFIG_ALTERA_JTAG_UART) += altera_jtag_uart.o
 obj-$(CONFIG_ARM_DCC) += arm_dcc.o
 obj-$(CONFIG_ATMEL_USART) += atmel_usart.o
 obj-$(CONFIG_DW_SERIAL) += serial_dw.o
-obj-$(CONFIG_LPC32XX_HSUART) += lpc32xx_hsuart.o
 obj-$(CONFIG_MCFUART) += mcfuart.o
 obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o
 obj-$(CONFIG_SYS_NS16550) += ns16550.o
drivers/serial/lpc32xx_hsuart.c deleted +0 -89

89 lines not on this page · raw message

drivers/serial/serial.c +0 -2
index 95c992a..3210a26 100644
@@ -131,7 +131,6 @@ serial_initfunc(ks8695_serial_initialize);
 serial_initfunc(leon2_serial_initialize);
 serial_initfunc(leon3_serial_initialize);
 serial_initfunc(lh7a40x_serial_initialize);
-serial_initfunc(lpc32xx_serial_initialize);
 serial_initfunc(marvell_serial_initialize);
 serial_initfunc(max3100_serial_initialize);
 serial_initfunc(mcf_serial_initialize);
@@ -224,7 +223,6 @@ void serial_initialize(void)
 	leon2_serial_initialize();
 	leon3_serial_initialize();
 	lh7a40x_serial_initialize();
-	lpc32xx_serial_initialize();
 	marvell_serial_initialize();
 	max3100_serial_initialize();
 	mcf_serial_initialize();
include/configs/devkit3250.h deleted +0 -101

101 lines not on this page · raw message

include/serial.h +0 -1
index 3d2e569..42e2cc1 100644
@@ -186,7 +186,6 @@ void ks8695_serial_initialize(void);
 void leon2_serial_initialize(void);
 void leon3_serial_initialize(void);
 void lh7a40x_serial_initialize(void);
-void lpc32xx_serial_initialize(void);
 void marvell_serial_initialize(void);
 void max3100_serial_initialize(void);
 void mcf_serial_initialize(void);
Signature · 1 line
1.9.1
#6 lore raw

PATCH v2 5/10 ARM: remove devkit3250 board support

Hello Masahiro,

Quoted 5 lines · Masahiro Yamada

This is still a non-generic board.

Cc Vladimir Zapolskiy <[email protected]>

---

please excuse my ignorance, what do you call a generic board?

I don't think that the current state of LPC3250 support impedes someone.

With best wishes,
Vladimir

Quoted 49 lines

Changes in v2: None

 arch/arm/Kconfig                              |   5 -
 arch/arm/cpu/arm926ejs/Makefile               |   1 -
 arch/arm/cpu/arm926ejs/lpc32xx/Makefile       |   8 --
 arch/arm/cpu/arm926ejs/lpc32xx/clk.c          | 104 -----------------
 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c          |  57 ----------
 arch/arm/cpu/arm926ejs/lpc32xx/devices.c      |  39 -------
 arch/arm/cpu/arm926ejs/lpc32xx/timer.c        |  82 --------------
 arch/arm/include/asm/arch-lpc32xx/clk.h       | 157 --------------------------
 arch/arm/include/asm/arch-lpc32xx/config.h    |  59 ----------
 arch/arm/include/asm/arch-lpc32xx/cpu.h       |  51 ---------
 arch/arm/include/asm/arch-lpc32xx/emc.h       |  79 -------------
 arch/arm/include/asm/arch-lpc32xx/sys_proto.h |  12 --
 arch/arm/include/asm/arch-lpc32xx/timer.h     |  61 ----------
 arch/arm/include/asm/arch-lpc32xx/uart.h      | 101 -----------------
 arch/arm/include/asm/arch-lpc32xx/wdt.h       |  38 -------
 board/timll/devkit3250/Kconfig                |  15 ---
 board/timll/devkit3250/MAINTAINERS            |   6 -
 board/timll/devkit3250/Makefile               |   8 --
 board/timll/devkit3250/devkit3250.c           |  52 ---------
 configs/devkit3250_defconfig                  |   2 -
 doc/README.scrapyard                          |   1 +
 drivers/serial/Makefile                       |   1 -
 drivers/serial/lpc32xx_hsuart.c               |  89 ---------------
 drivers/serial/serial.c                       |   2 -
 include/configs/devkit3250.h                  | 101 -----------------
 include/serial.h                              |   1 -
 26 files changed, 1 insertion(+), 1131 deletions(-)
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/Makefile
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/clk.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/cpu.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/devices.c
 delete mode 100644 arch/arm/cpu/arm926ejs/lpc32xx/timer.c
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/clk.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/config.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/cpu.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/emc.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/sys_proto.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/timer.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/uart.h
 delete mode 100644 arch/arm/include/asm/arch-lpc32xx/wdt.h
 delete mode 100644 board/timll/devkit3250/Kconfig
 delete mode 100644 board/timll/devkit3250/MAINTAINERS
 delete mode 100644 board/timll/devkit3250/Makefile
 delete mode 100644 board/timll/devkit3250/devkit3250.c
 delete mode 100644 configs/devkit3250_defconfig
 delete mode 100644 drivers/serial/lpc32xx_hsuart.c
 delete mode 100644 include/configs/devkit3250.h
#7 lore raw

PATCH v2 5/10 ARM: remove devkit3250 board support

Quoted 5 lines · Vladimir Zapolskiy

Hello Masahiro,

Quoted 2 lines · Masahiro Yamada

This is still a non-generic board.

Quoted 7 lines
Quoted 3 lines
Cc Vladimir Zapolskiy <[email protected]>

---

please excuse my ignorance, what do you call a generic board?

I don't think that the current state of LPC3250 support impedes someone.

Hi!

Please see CONFIG_SYS_GENERIC_BOARD . The problem is we want to drop the architecture-specific init code and move to a generic one. If the board is not converted (should be a matter of defining the above and testing the board), then it will be dropped. This was decided after v2014.04 and there was one year to do the conversion during which the boards which were not converted did spit a message that they were not converted upon boot.

Hope that helps

Best regards,
Marek Vasut

#8 lore raw

PATCH v2 5/10 ARM: remove devkit3250 board support

In reply to Vladimir Zapolskiy
Quoted 5 lines · Vladimir Zapolskiy

Hello Masahiro,

Quoted 2 lines · Masahiro Yamada

This is still a non-generic board.

Quoted 8 lines
Quoted 3 lines
Cc Vladimir Zapolskiy <[email protected]>

---

please excuse my ignorance, what do you call a generic board?

I don't think that the current state of LPC3250 support impedes someone.

I admit I was wrong, I'll update the board support this week and send patches for review.

Sorry for the delay and caused inconvenience.

With best wishes,
Vladimir

#9 lore raw

PATCH v2 5/10 ARM: remove devkit3250 board support

Hello Masahiro,

Quoted 12 lines · Vladimir Zapolskiy
Quoted 11 lines · Vladimir Zapolskiy

Hello Masahiro,

Quoted 5 lines · Masahiro Yamada

This is still a non-generic board.

Cc Vladimir Zapolskiy <[email protected]>

---

please excuse my ignorance, what do you call a generic board?

Quoted 7 lines
Quoted 2 lines

I don't think that the current state of LPC3250 support impedes someone.

I admit I was wrong, I'll update the board support this week and send patches for review.

Sorry for the delay and caused inconvenience.

please exclude lpc3250/devkit3250 removal from the series, hopefully
http://lists.denx.de/pipermail/u-boot/2015-February/204748.html solves the problem.

Sorry again for inconvenience.

--
With best wishes,
Vladimir

#10 lore raw

PATCH v2 5/10 ARM: remove devkit3250 board support

Quoted 21 lines · Vladimir Zapolskiy

Hello Masahiro,

Quoted 18 lines · Vladimir Zapolskiy
Quoted 5 lines · Vladimir Zapolskiy

Hello Masahiro,

Quoted 2 lines · Masahiro Yamada

This is still a non-generic board.

Quoted 8 lines
Quoted 3 lines
Cc Vladimir Zapolskiy <[email protected]>

---

please excuse my ignorance, what do you call a generic board?

I don't think that the current state of LPC3250 support impedes someone.

I admit I was wrong, I'll update the board support this week and send patches for review.

Quoted 7 lines
Quoted 1 line

Sorry for the delay and caused inconvenience.

please exclude lpc3250/devkit3250 removal from the series, hopefully
http://lists.denx.de/pipermail/u-boot/2015-February/204748.html solves the problem.

Sorry again for inconvenience.

Great, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150211/f4296757/attachment.sig>
#11 lore raw

PATCH v2 5/10 ARM: remove devkit3250 board support

In reply to Vladimir Zapolskiy

Hi Vladimir,

Quoted 10 lines · On Wed, 11 Feb 2015 00:48:47 +0200 Vladimir Zapolskiy <[email protected]> wrote:
Quoted 9 lines · Vladimir Zapolskiy

Hello Masahiro,

Quoted 5 lines · Masahiro Yamada

This is still a non-generic board.

Cc Vladimir Zapolskiy <[email protected]>

---

Quoted 8 lines
Quoted 4 lines

please excuse my ignorance, what do you call a generic board?

I don't think that the current state of LPC3250 support impedes someone.

I admit I was wrong, I'll update the board support this week and send patches for review.

Thank you for the patch!

I dropped 05/10 and submitted v3.

Best Regards
Masahiro Yamada

#12 lore raw

PATCH v2 6/10 ARM: remove dkb board support

In reply to Masahiro Yamada

This is still a non-generic board.

---

Changes in v2: None

 arch/arm/Kconfig                              |   5 -
 arch/arm/cpu/arm926ejs/Makefile               |   1 -
 arch/arm/cpu/arm926ejs/pantheon/Makefile      |   9 --
 arch/arm/cpu/arm926ejs/pantheon/cpu.c         |  85 -----------
 arch/arm/cpu/arm926ejs/pantheon/dram.c        | 117 ---------------
 arch/arm/cpu/arm926ejs/pantheon/timer.c       | 201 --------------------------
 arch/arm/include/asm/arch-pantheon/config.h   |  53 -------
 arch/arm/include/asm/arch-pantheon/cpu.h      |  77 ----------
 arch/arm/include/asm/arch-pantheon/gpio.h     |   0
 arch/arm/include/asm/arch-pantheon/mfp.h      |  39 -----
 arch/arm/include/asm/arch-pantheon/pantheon.h |  38 -----
 board/Marvell/dkb/Kconfig                     |  15 --
 board/Marvell/dkb/MAINTAINERS                 |   6 -
 board/Marvell/dkb/Makefile                    |   9 --
 board/Marvell/dkb/dkb.c                       |  85 -----------
 configs/dkb_defconfig                         |   2 -
 doc/README.scrapyard                          |   1 +
 include/configs/dkb.h                         |  51 -------
 18 files changed, 1 insertion(+), 793 deletions(-)
 delete mode 100644 arch/arm/cpu/arm926ejs/pantheon/Makefile
 delete mode 100644 arch/arm/cpu/arm926ejs/pantheon/cpu.c
 delete mode 100644 arch/arm/cpu/arm926ejs/pantheon/dram.c
 delete mode 100644 arch/arm/cpu/arm926ejs/pantheon/timer.c
 delete mode 100644 arch/arm/include/asm/arch-pantheon/config.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/cpu.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/gpio.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/mfp.h
 delete mode 100644 arch/arm/include/asm/arch-pantheon/pantheon.h
 delete mode 100644 board/Marvell/dkb/Kconfig
 delete mode 100644 board/Marvell/dkb/MAINTAINERS
 delete mode 100644 board/Marvell/dkb/Makefile
 delete mode 100644 board/Marvell/dkb/dkb.c
 delete mode 100644 configs/dkb_defconfig
 delete mode 100644 include/configs/dkb.h
arch/arm/Kconfig +0 -5
index b0b7eaf..74dd164 100644
@@ -316,10 +316,6 @@ config ORION5X
 	bool "Marvell Orion"
 	select CPU_ARM926EJS
 
-config TARGET_DKB
-	bool "Support dkb"
-	select CPU_ARM926EJS
-
 config TARGET_SPEAR300
 	bool "Support spear300"
 	select CPU_ARM926EJS
@@ -843,7 +839,6 @@ source "board/BuS/vl_ma2sc/Kconfig"
 source "board/CarMediaLab/flea3/Kconfig"
 source "board/Marvell/aspenite/Kconfig"
 source "board/Marvell/db-mv784mp-gp/Kconfig"
-source "board/Marvell/dkb/Kconfig"
 source "board/Marvell/gplugd/Kconfig"
 source "board/afeb9260/Kconfig"
 source "board/altera/socfpga/Kconfig"
arch/arm/cpu/arm926ejs/Makefile +0 -1
index bfa365e..38ab0d4 100644
@@ -23,6 +23,5 @@ obj-$(CONFIG_MX27) += mx27/
 obj-$(if $(filter mxs,$(SOC)),y) += mxs/
 obj-$(CONFIG_ARCH_NOMADIK) += nomadik/
 obj-$(CONFIG_ORION5X) += orion5x/
-obj-$(CONFIG_PANTHEON) += pantheon/
 obj-$(if $(filter spear,$(SOC)),y) += spear/
 obj-$(CONFIG_ARCH_VERSATILE) += versatile/
arch/arm/cpu/arm926ejs/pantheon/Makefile deleted +0 -9
deleted file mode 100644
index 988341f..0000000
@@ -1,9 +0,0 @@
-#
-# (C) Copyright 2011
-# Marvell Semiconductor <www.marvell.com>
-# Written-by: Lei Wen <[email protected]>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	= cpu.o timer.o dram.o
arch/arm/cpu/arm926ejs/pantheon/cpu.c deleted +0 -85

85 lines not on this page · raw message

arch/arm/cpu/arm926ejs/pantheon/dram.c deleted +0 -117

117 lines not on this page · raw message

arch/arm/cpu/arm926ejs/pantheon/timer.c deleted +0 -201

201 lines not on this page · raw message

arch/arm/include/asm/arch-pantheon/config.h deleted +0 -53

53 lines not on this page · raw message

arch/arm/include/asm/arch-pantheon/cpu.h deleted +0 -77

77 lines not on this page · raw message

arch/arm/include/asm/arch-pantheon/gpio.h deleted +0 -0
deleted file mode 100644
index e69de29..0000000
arch/arm/include/asm/arch-pantheon/mfp.h deleted +0 -39
deleted file mode 100644
index 7909d53..0000000
@@ -1,39 +0,0 @@
-/*
- * Based on arch/arm/include/asm/arch-armada100/mfp.h
- * (C) Copyright 2011
- * Marvell Semiconductor <www.marvell.com>
- * Written-by: Lei Wen <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __PANTHEON_MFP_H
-#define __PANTHEON_MFP_H
-
-/*
- * Frequently used MFP Configuration macros for all PANTHEON family of SoCs
- *
- * offset, pull,pF, drv,dF, edge,eF ,afn,aF
- */
-/* UART2 */
-#define MFP47_UART2_RXD		(MFP_REG(0x198) | MFP_AF6 | MFP_DRIVE_MEDIUM)
-#define MFP48_UART2_TXD		(MFP_REG(0x19c) | MFP_AF6 | MFP_DRIVE_MEDIUM)
-#define MFP53_CI2C_SCL		(MFP_REG(0x1b0) | MFP_AF2 | MFP_DRIVE_MEDIUM)
-#define MFP54_CI2C_SDA		(MFP_REG(0x1b4) | MFP_AF2 | MFP_DRIVE_MEDIUM)
-
-/* More macros can be defined here... */
-#define MFP_MMC1_DAT7		(MFP_REG(0x84) | MFP_AF0 | MFP_DRIVE_MEDIUM)
-#define MFP_MMC1_DAT6		(MFP_REG(0x88) | MFP_AF0 | MFP_DRIVE_MEDIUM)
-#define MFP_MMC1_DAT5		(MFP_REG(0x8c) | MFP_AF0 | MFP_DRIVE_MEDIUM)
-#define MFP_MMC1_DAT4		(MFP_REG(0x90) | MFP_AF0 | MFP_DRIVE_MEDIUM)
-#define MFP_MMC1_DAT3		(MFP_REG(0x94) | MFP_AF0 | MFP_DRIVE_FAST)
-#define MFP_MMC1_DAT2		(MFP_REG(0x98) | MFP_AF0 | MFP_DRIVE_FAST)
-#define MFP_MMC1_DAT1		(MFP_REG(0x9c) | MFP_AF0 | MFP_DRIVE_FAST)
-#define MFP_MMC1_DAT0		(MFP_REG(0xa0) | MFP_AF0 | MFP_DRIVE_FAST)
-#define MFP_MMC1_CMD		(MFP_REG(0xa4) | MFP_AF0 | MFP_DRIVE_FAST)
-#define MFP_MMC1_CLK		(MFP_REG(0xa8) | MFP_AF0 | MFP_DRIVE_FAST)
-#define MFP_MMC1_CD		(MFP_REG(0xac) | MFP_AF0 | MFP_DRIVE_MEDIUM)
-#define MFP_MMC1_WP		(MFP_REG(0xb0) | MFP_AF0 | MFP_DRIVE_MEDIUM)
-
-#define MFP_PIN_MAX	117
-#endif
arch/arm/include/asm/arch-pantheon/pantheon.h deleted +0 -38
deleted file mode 100644
index c3a71bf..0000000
@@ -1,38 +0,0 @@
-/*
- * (C) Copyright 2011
- * Marvell Semiconductor <www.marvell.com>
- * Written-by: Lei Wen <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef _PANTHEON_H
-#define _PANTHEON_H
-
-/* Common APB clock register bit definitions */
-#define APBC_APBCLK     (1<<0)  /* APB Bus Clock Enable */
-#define APBC_FNCLK      (1<<1)  /* Functional Clock Enable */
-#define APBC_RST        (1<<2)  /* Reset Generation */
-/* Functional Clock Selection Mask */
-#define APBC_FNCLKSEL(x)        (((x) & 0xf) << 4)
-
-/* Common APMU register bit definitions */
-#define APMU_PERI_CLK	(1<<4)	/* Peripheral Clock Enable */
-#define APMU_AXI_CLK	(1<<3)	/* AXI Clock Enable*/
-#define APMU_PERI_RST	(1<<1)	/* Peripheral Reset */
-#define APMU_AXI_RST	(1<<0)	/* AXI Reset */
-
-/* Register Base Addresses */
-#define PANTHEON_DRAM_BASE	0xB0000000
-#define PANTHEON_TIMER_BASE	0xD4014000
-#define PANTHEON_WD_TIMER_BASE	0xD4080000
-#define PANTHEON_APBC_BASE	0xD4015000
-#define PANTHEON_UART1_BASE	0xD4017000
-#define PANTHEON_UART2_BASE	0xD4018000
-#define PANTHEON_GPIO_BASE	0xD4019000
-#define PANTHEON_MFPR_BASE	0xD401E000
-#define PANTHEON_MPMU_BASE	0xD4050000
-#define PANTHEON_APMU_BASE	0xD4282800
-#define PANTHEON_CPU_BASE	0xD4282C00
-
-#endif /* _PANTHEON_H */
board/Marvell/dkb/Kconfig deleted +0 -15
deleted file mode 100644
index f674894..0000000
@@ -1,15 +0,0 @@
-if TARGET_DKB
-
-config SYS_BOARD
-	default "dkb"
-
-config SYS_VENDOR
-	default "Marvell"
-
-config SYS_SOC
-	default "pantheon"
-
-config SYS_CONFIG_NAME
-	default "dkb"
-
-endif
board/Marvell/dkb/MAINTAINERS deleted +0 -6
deleted file mode 100644
index c272b7a..0000000
@@ -1,6 +0,0 @@
-DKB BOARD
-M:	Lei Wen <[email protected]>
-S:	Maintained
-F:	board/Marvell/dkb/
-F:	include/configs/dkb.h
-F:	configs/dkb_defconfig
board/Marvell/dkb/Makefile deleted +0 -9
deleted file mode 100644
index 9d88579..0000000
@@ -1,9 +0,0 @@
-#
-# (C) Copyright 2011
-# Marvell Semiconductor <www.marvell.com>
-# Written-by: Lei Wen <[email protected]>
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= dkb.o
board/Marvell/dkb/dkb.c deleted +0 -85

85 lines not on this page · raw message

configs/dkb_defconfig deleted +0 -2
deleted file mode 100644
index 0be9578..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_DKB=y
doc/README.scrapyard +1 -0
index 649d4d0..809556e 100644
@@ -12,6 +12,7 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+dkb              arm         arm926ejs      -           -           Lei Wen <[email protected]>
 devkit3250       arm         arm926ejs      -           -           Vladimir Zapolskiy <[email protected]>
 zmx25            arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
 jadecpu          arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
include/configs/dkb.h deleted +0 -51

51 lines not on this page · raw message

Signature · 1 line
1.9.1
#13 lore raw

PATCH v2 7/10 ARM: remove cm4008 and cm41xx board support

In reply to Masahiro Yamada

These are still non-generic boards.

---

Changes in v2: None

 arch/arm/Kconfig                            |  10 -
 arch/arm/cpu/arm920t/Makefile               |   1 -
 arch/arm/cpu/arm920t/ks8695/Makefile        |   9 -
 arch/arm/cpu/arm920t/ks8695/lowlevel_init.S | 189 -------------
 arch/arm/cpu/arm920t/ks8695/timer.c         |  77 ------
 arch/arm/include/asm/arch-ks8695/platform.h | 294 ---------------------
 board/cm4008/Kconfig                        |  12 -
 board/cm4008/MAINTAINERS                    |   6 -
 board/cm4008/Makefile                       |   8 -
 board/cm4008/cm4008.c                       |  88 -------
 board/cm4008/config.mk                      |   1 -
 board/cm4008/flash.c                        | 395 ----------------------------
 board/cm41xx/Kconfig                        |  12 -
 board/cm41xx/MAINTAINERS                    |   6 -
 board/cm41xx/Makefile                       |   8 -
 board/cm41xx/cm41xx.c                       |  88 -------
 board/cm41xx/config.mk                      |   1 -
 board/cm41xx/flash.c                        | 395 ----------------------------
 configs/cm4008_defconfig                    |   2 -
 configs/cm41xx_defconfig                    |   2 -
 doc/README.scrapyard                        |   2 +
 drivers/net/Makefile                        |   1 -
 drivers/net/ks8695eth.c                     | 229 ----------------
 drivers/serial/Makefile                     |   1 -
 drivers/serial/serial.c                     |   2 -
 drivers/serial/serial_ks8695.c              | 121 ---------
 include/configs/cm4008.h                    | 104 --------
 include/configs/cm41xx.h                    | 104 --------
 include/netdev.h                            |   1 -
 include/serial.h                            |   1 -
 30 files changed, 2 insertions(+), 2168 deletions(-)
 delete mode 100644 arch/arm/cpu/arm920t/ks8695/Makefile
 delete mode 100644 arch/arm/cpu/arm920t/ks8695/lowlevel_init.S
 delete mode 100644 arch/arm/cpu/arm920t/ks8695/timer.c
 delete mode 100644 arch/arm/include/asm/arch-ks8695/platform.h
 delete mode 100644 board/cm4008/Kconfig
 delete mode 100644 board/cm4008/MAINTAINERS
 delete mode 100644 board/cm4008/Makefile
 delete mode 100644 board/cm4008/cm4008.c
 delete mode 100644 board/cm4008/config.mk
 delete mode 100644 board/cm4008/flash.c
 delete mode 100644 board/cm41xx/Kconfig
 delete mode 100644 board/cm41xx/MAINTAINERS
 delete mode 100644 board/cm41xx/Makefile
 delete mode 100644 board/cm41xx/cm41xx.c
 delete mode 100644 board/cm41xx/config.mk
 delete mode 100644 board/cm41xx/flash.c
 delete mode 100644 configs/cm4008_defconfig
 delete mode 100644 configs/cm41xx_defconfig
 delete mode 100644 drivers/net/ks8695eth.c
 delete mode 100644 drivers/serial/serial_ks8695.c
 delete mode 100644 include/configs/cm4008.h
 delete mode 100644 include/configs/cm41xx.h
arch/arm/Kconfig +0 -10
index 74dd164..d6bb5c3 100644
@@ -97,14 +97,6 @@ config TARGET_SCB9328
 	bool "Support scb9328"
 	select CPU_ARM920T
 
-config TARGET_CM4008
-	bool "Support cm4008"
-	select CPU_ARM920T
-
-config TARGET_CM41XX
-	bool "Support cm41xx"
-	select CPU_ARM920T
-
 config TARGET_VCMA9
 	bool "Support VCMA9"
 	select CPU_ARM920T
@@ -871,8 +863,6 @@ source "board/calao/sbc35_a9g20/Kconfig"
 source "board/calao/tny_a9260/Kconfig"
 source "board/calao/usb_a9263/Kconfig"
 source "board/cirrus/edb93xx/Kconfig"
-source "board/cm4008/Kconfig"
-source "board/cm41xx/Kconfig"
 source "board/compulab/cm_t335/Kconfig"
 source "board/compulab/cm_fx6/Kconfig"
 source "board/congatec/cgtqmx6eval/Kconfig"
arch/arm/cpu/arm920t/Makefile +0 -1
index a72e5de..a30a572 100644
@@ -14,5 +14,4 @@ obj-$(if $(filter a320,$(SOC)),y) += a320/
 obj-$(CONFIG_AT91FAMILY) += at91/
 obj-$(CONFIG_EP93XX) += ep93xx/
 obj-$(CONFIG_IMX) += imx/
-obj-$(CONFIG_KS8695) += ks8695/
 obj-$(CONFIG_S3C24X0) += s3c24x0/
arch/arm/cpu/arm920t/ks8695/Makefile deleted +0 -9
deleted file mode 100644
index 400aa89..0000000
@@ -1,9 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	= lowlevel_init.o
-obj-y	+= timer.o
arch/arm/cpu/arm920t/ks8695/lowlevel_init.S deleted +0 -189

189 lines not on this page · raw message

arch/arm/cpu/arm920t/ks8695/timer.c deleted +0 -77

77 lines not on this page · raw message

arch/arm/include/asm/arch-ks8695/platform.h deleted +0 -294

294 lines not on this page · raw message

board/cm4008/Kconfig deleted +0 -12
deleted file mode 100644
index de87d5b..0000000
@@ -1,12 +0,0 @@
-if TARGET_CM4008
-
-config SYS_BOARD
-	default "cm4008"
-
-config SYS_SOC
-	default "ks8695"
-
-config SYS_CONFIG_NAME
-	default "cm4008"
-
-endif
board/cm4008/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 5f08bc3..0000000
@@ -1,6 +0,0 @@
-CM4008 BOARD
-M:	Greg Ungerer <[email protected]>
-S:	Maintained
-F:	board/cm4008/
-F:	include/configs/cm4008.h
-F:	configs/cm4008_defconfig
board/cm4008/Makefile deleted +0 -8
deleted file mode 100644
index 04b1529..0000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= cm4008.o flash.o
board/cm4008/cm4008.c deleted +0 -88

88 lines not on this page · raw message

board/cm4008/config.mk deleted +0 -1
deleted file mode 100644
index 0d5923b..0000000
@@ -1 +0,0 @@
-CONFIG_SYS_TEXT_BASE = 0x00f00000
board/cm4008/flash.c deleted +0 -395

395 lines not on this page · raw message

board/cm41xx/Kconfig deleted +0 -12
deleted file mode 100644
index 99e675b..0000000
@@ -1,12 +0,0 @@
-if TARGET_CM41XX
-
-config SYS_BOARD
-	default "cm41xx"
-
-config SYS_SOC
-	default "ks8695"
-
-config SYS_CONFIG_NAME
-	default "cm41xx"
-
-endif
board/cm41xx/MAINTAINERS deleted +0 -6
deleted file mode 100644
index f10eeb5..0000000
@@ -1,6 +0,0 @@
-CM41XX BOARD
-#M:	-
-S:	Maintained
-F:	board/cm41xx/
-F:	include/configs/cm41xx.h
-F:	configs/cm41xx_defconfig
board/cm41xx/Makefile deleted +0 -8
deleted file mode 100644
index b71ea05..0000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= cm41xx.o flash.o
board/cm41xx/cm41xx.c deleted +0 -88

88 lines not on this page · raw message

board/cm41xx/config.mk deleted +0 -1
deleted file mode 100644
index 0d5923b..0000000
@@ -1 +0,0 @@
-CONFIG_SYS_TEXT_BASE = 0x00f00000
board/cm41xx/flash.c deleted +0 -395

395 lines not on this page · raw message

configs/cm4008_defconfig deleted +0 -2
deleted file mode 100644
index 487589d..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_CM4008=y
configs/cm41xx_defconfig deleted +0 -2
deleted file mode 100644
index 15e9362..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_CM41XX=y
doc/README.scrapyard +2 -0
index 809556e..a42b0e1 100644
@@ -12,6 +12,8 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+cm4008           arm         arm920t        -           -           Greg Ungerer <[email protected]>
+cm41xx           arm         arm920t        -           -
 dkb              arm         arm926ejs      -           -           Lei Wen <[email protected]>
 devkit3250       arm         arm926ejs      -           -           Vladimir Zapolskiy <[email protected]>
 zmx25            arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
drivers/net/Makefile +0 -1
index 46c4ac6..da5e2bc 100644
@@ -33,7 +33,6 @@ obj-$(CONFIG_FTMAC110) += ftmac110.o
 obj-$(CONFIG_FTMAC100) += ftmac100.o
 obj-$(CONFIG_GRETH) += greth.o
 obj-$(CONFIG_DRIVER_TI_KEYSTONE_NET) += keystone_net.o
-obj-$(CONFIG_DRIVER_KS8695ETH) += ks8695eth.o
 obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o
 obj-$(CONFIG_LAN91C96) += lan91c96.o
 obj-$(CONFIG_MACB) += macb.o
drivers/net/ks8695eth.c deleted +0 -229

229 lines not on this page · raw message

drivers/serial/Makefile +0 -1
index cedf246..78d4f51 100644
@@ -25,7 +25,6 @@ obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o
 obj-$(CONFIG_SYS_NS16550) += ns16550.o
 obj-$(CONFIG_S5P) += serial_s5p.o
 obj-$(CONFIG_IMX_SERIAL) += serial_imx.o
-obj-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o
 obj-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
 obj-$(CONFIG_MXC_UART) += serial_mxc.o
 obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
drivers/serial/serial.c +0 -2
index 3210a26..d2f34ad 100644
@@ -127,7 +127,6 @@ serial_initfunc(evb64260_serial_initialize);
 serial_initfunc(imx_serial_initialize);
 serial_initfunc(iop480_serial_initialize);
 serial_initfunc(jz_serial_initialize);
-serial_initfunc(ks8695_serial_initialize);
 serial_initfunc(leon2_serial_initialize);
 serial_initfunc(leon3_serial_initialize);
 serial_initfunc(lh7a40x_serial_initialize);
@@ -219,7 +218,6 @@ void serial_initialize(void)
 	imx_serial_initialize();
 	iop480_serial_initialize();
 	jz_serial_initialize();
-	ks8695_serial_initialize();
 	leon2_serial_initialize();
 	leon3_serial_initialize();
 	lh7a40x_serial_initialize();
drivers/serial/serial_ks8695.c deleted +0 -121

121 lines not on this page · raw message

include/configs/cm4008.h deleted +0 -104

104 lines not on this page · raw message

include/configs/cm41xx.h deleted +0 -104

104 lines not on this page · raw message

include/netdev.h +0 -1
index daffc12..90140bd 100644
@@ -55,7 +55,6 @@ int ftmac100_initialize(bd_t *bits);
 int ftmac110_initialize(bd_t *bits);
 int greth_initialize(bd_t *bis);
 void gt6426x_eth_initialize(bd_t *bis);
-int ks8695_eth_initialize(void);
 int ks8851_mll_initialize(u8 dev_num, int base_addr);
 int lan91c96_initialize(u8 dev_num, int base_addr);
 int macb_eth_initialize(int id, void *regs, unsigned int phy_addr);
include/serial.h +0 -1
index 42e2cc1..cd48e6f 100644
@@ -182,7 +182,6 @@ void evb64260_serial_initialize(void);
 void imx_serial_initialize(void);
 void iop480_serial_initialize(void);
 void jz_serial_initialize(void);
-void ks8695_serial_initialize(void);
 void leon2_serial_initialize(void);
 void leon3_serial_initialize(void);
 void lh7a40x_serial_initialize(void);
Signature · 1 line
1.9.1
#14 lore raw

PATCH v2 7/10 ARM: remove cm4008 and cm41xx board support

Hi Masahiro,

Quoted 4 lines · Masahiro Yamada

These are still non-generic boards.

I have only seen this one patch, and the message above doesn't really give me much of a clue what the intention is here.

Quite a few of the files you are removing below are not board specific. Many relate to the KS8695 SoC and its peripherals. Are you removing all KS8695 support as well?

Regards
Greg

Quoted 2,461 lines

---

Changes in v2: None

  arch/arm/Kconfig                            |  10 -
  arch/arm/cpu/arm920t/Makefile               |   1 -
  arch/arm/cpu/arm920t/ks8695/Makefile        |   9 -
  arch/arm/cpu/arm920t/ks8695/lowlevel_init.S | 189 -------------
  arch/arm/cpu/arm920t/ks8695/timer.c         |  77 ------
  arch/arm/include/asm/arch-ks8695/platform.h | 294 ---------------------
  board/cm4008/Kconfig                        |  12 -
  board/cm4008/MAINTAINERS                    |   6 -
  board/cm4008/Makefile                       |   8 -
  board/cm4008/cm4008.c                       |  88 -------
  board/cm4008/config.mk                      |   1 -
  board/cm4008/flash.c                        | 395 ----------------------------
  board/cm41xx/Kconfig                        |  12 -
  board/cm41xx/MAINTAINERS                    |   6 -
  board/cm41xx/Makefile                       |   8 -
  board/cm41xx/cm41xx.c                       |  88 -------
  board/cm41xx/config.mk                      |   1 -
  board/cm41xx/flash.c                        | 395 ----------------------------
  configs/cm4008_defconfig                    |   2 -
  configs/cm41xx_defconfig                    |   2 -
  doc/README.scrapyard                        |   2 +
  drivers/net/Makefile                        |   1 -
  drivers/net/ks8695eth.c                     | 229 ----------------
  drivers/serial/Makefile                     |   1 -
  drivers/serial/serial.c                     |   2 -
  drivers/serial/serial_ks8695.c              | 121 ---------
  include/configs/cm4008.h                    | 104 --------
  include/configs/cm41xx.h                    | 104 --------
  include/netdev.h                            |   1 -
  include/serial.h                            |   1 -
  30 files changed, 2 insertions(+), 2168 deletions(-)

delete mode 100644 arch/arm/cpu/arm920t/ks8695/Makefile delete mode 100644 arch/arm/cpu/arm920t/ks8695/lowlevel_init.S delete mode 100644 arch/arm/cpu/arm920t/ks8695/timer.c delete mode 100644 arch/arm/include/asm/arch-ks8695/platform.h delete mode 100644 board/cm4008/Kconfig
delete mode 100644 board/cm4008/MAINTAINERS
delete mode 100644 board/cm4008/Makefile
delete mode 100644 board/cm4008/cm4008.c
delete mode 100644 board/cm4008/config.mk
delete mode 100644 board/cm4008/flash.c
delete mode 100644 board/cm41xx/Kconfig
delete mode 100644 board/cm41xx/MAINTAINERS
delete mode 100644 board/cm41xx/Makefile
delete mode 100644 board/cm41xx/cm41xx.c
delete mode 100644 board/cm41xx/config.mk
delete mode 100644 board/cm41xx/flash.c
delete mode 100644 configs/cm4008_defconfig
delete mode 100644 configs/cm41xx_defconfig
delete mode 100644 drivers/net/ks8695eth.c
delete mode 100644 drivers/serial/serial_ks8695.c delete mode 100644 include/configs/cm4008.h
delete mode 100644 include/configs/cm41xx.h

arch/arm/Kconfig +0 -10
index 74dd164..d6bb5c3 100644
@@ -97,14 +97,6 @@ config TARGET_SCB9328
  	bool "Support scb9328"
  	select CPU_ARM920T
 
-config TARGET_CM4008
-	bool "Support cm4008"
-	select CPU_ARM920T
-
-config TARGET_CM41XX
-	bool "Support cm41xx"
-	select CPU_ARM920T
-
  config TARGET_VCMA9
  	bool "Support VCMA9"
  	select CPU_ARM920T
@@ -871,8 +863,6 @@ source "board/calao/sbc35_a9g20/Kconfig"
  source "board/calao/tny_a9260/Kconfig"
  source "board/calao/usb_a9263/Kconfig"
  source "board/cirrus/edb93xx/Kconfig"
-source "board/cm4008/Kconfig"
-source "board/cm41xx/Kconfig"
  source "board/compulab/cm_t335/Kconfig"
  source "board/compulab/cm_fx6/Kconfig"
  source "board/congatec/cgtqmx6eval/Kconfig"
arch/arm/cpu/arm920t/Makefile +0 -1
index a72e5de..a30a572 100644
@@ -14,5 +14,4 @@ obj-$(if $(filter a320,$(SOC)),y) += a320/
  obj-$(CONFIG_AT91FAMILY) += at91/
  obj-$(CONFIG_EP93XX) += ep93xx/
  obj-$(CONFIG_IMX) += imx/
-obj-$(CONFIG_KS8695) += ks8695/
  obj-$(CONFIG_S3C24X0) += s3c24x0/
arch/arm/cpu/arm920t/ks8695/Makefile deleted +0 -9
deleted file mode 100644
index 400aa89..0000000
@@ -1,9 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	= lowlevel_init.o
-obj-y	+= timer.o
arch/arm/cpu/arm920t/ks8695/lowlevel_init.S deleted +0 -189
deleted file mode 100644
index a2a07f2..0000000
@@ -1,189 +0,0 @@
-/*
- *  lowlevel_init.S - basic hardware initialization for the KS8695 CPU
- *
- *  Copyright (c) 2004-2005, Greg Ungerer <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <config.h>
-#include <version.h>
-#include <asm/arch/platform.h>
-
-#ifndef CONFIG_SKIP_LOWLEVEL_INIT
-
-/*
- *************************************************************************
- *
- * Handy dandy macros
- *
- *************************************************************************
- */
-
-/* Delay a bit */
-.macro DELAY_FOR cycles, reg0
-	ldr     \reg0, =\cycles
-	subs    \reg0, \reg0, #1
-	subne   pc,  pc, #0xc
-.endm
-
-/*
- *************************************************************************
- *
- * Some local storage.
- *
- *************************************************************************
- */
-
-/* Should we boot with an interactive console or not */
-.globl serial_console
-
-/*
- *************************************************************************
- *
- * Raw hardware initialization code. The important thing is to get
- * SDRAM setup and running. We do some other basic things here too,
- * like getting the PLL set for high speed, and init the LEDs.
- *
- *************************************************************************
- */
-
-.globl lowlevel_init
-lowlevel_init:
-
-#if DEBUG
-	/*
-	 * enable UART for early debug trace
-	 */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_UART_DIVISOR)
-	mov	r2, #((25000000+CONFIG_BAUDRATE/2) / CONFIG_BAUDRATE)
-	str	r2, [r1]
-	ldr	r1, =(KS8695_IO_BASE+KS8695_UART_LINE_CTRL)
-	mov	r2, #KS8695_UART_LINEC_WLEN8
-	str	r2, [r1]		/* 8 data bits, no parity, 1 stop */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_UART_TX_HOLDING)
-	mov	r2, #0x41
-	str	r2, [r1]		/* write 'A' */
-#endif
-#if DEBUG
-	ldr	r1, =(KS8695_IO_BASE+KS8695_UART_TX_HOLDING)
-	mov	r2, #0x42
-	str	r2, [r1]
-#endif
-
-	/*
-	 * remap the memory and flash regions. we want to end up with
-	 * ram from address 0, and flash at 32MB.
-	 */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_MEM_CTRL0)
-	ldr	r2, =0xbfc00040
-	str	r2, [r1]		/* large flash map */
-	ldr	pc, =(highflash+0x02000000-0x00f00000)	/* jump to high flash address */
-highflash:
-	ldr	r2, =0x8fe00040
-	str	r2, [r1]		/* remap flash range */
-
-	/*
-	 * remap the second select region to the 4MB immediately after
-	 * the first region. This way if you have a larger flash (say 8Mb)
-	 * then you can have it all mapped nicely. Has no effect if you
-	 * only have a 4Mb or smaller flash.
-	 */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_MEM_CTRL1)
-	ldr	r2, =0x9fe40040
-	str	r2, [r1]		/* remap flash2 region, contiguous */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_MEM_GENERAL)
-	ldr	r2, =0x30000005
-	str	r2, [r1]		/* enable both flash selects */
-
-#ifdef CONFIG_CM41xx
-	/*
-	 * map the second flash chip, using the external IO lines.
-	 */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_IO_CTRL0)
-	ldr	r2, =0xafe80b6d
-	str	r2, [r1]		/* remap io0 region, contiguous */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_IO_CTRL1)
-	ldr	r2, =0xbfec0b6d
-	str	r2, [r1]		/* remap io1 region, contiguous */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_MEM_GENERAL)
-	ldr	r2, =0x30050005
-	str	r2, [r1]		/* enable second flash */
-#endif
-
-	/*
-	 * before relocating, we have to setup RAM timing
-	 */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SDRAM_CTRL0)
-#if (PHYS_SDRAM_1_SIZE == 0x02000000)
-	ldr	r2, =0x7fc0000e		/* 32MB */
-#else
-	ldr	r2, =0x3fc0000e		/* 16MB */
-#endif
-	str	r2, [r1]		/* configure sdram bank0 setup */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SDRAM_CTRL1)
-	mov	r2, #0
-	str	r2, [r1]		/* configure sdram bank1 setup */
-
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SDRAM_GENERAL)
-	ldr	r2, =0x0000000a
-	str	r2, [r1]		/* set RAS/CAS timing */
-
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SDRAM_BUFFER)
-	ldr	r2, =0x00030000
-	str	r2, [r1]		/* send NOP command */
-	DELAY_FOR 0x100, r0
-	ldr	r2, =0x00010000
-	str	r2, [r1]		/* send PRECHARGE-ALL */
-	DELAY_FOR 0x100, r0
-
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SDRAM_REFRESH)
-	ldr	r2, =0x00000020
-	str	r2, [r1]		/* set for fast refresh */
-	DELAY_FOR 0x100, r0
-	ldr	r2, =0x00000190
-	str	r2, [r1]		/* set normal refresh timing */
-
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SDRAM_BUFFER)
-	ldr	r2, =0x00020033
-	str	r2, [r1]		/* send mode command */
-	DELAY_FOR 0x100, r0
-	ldr	r2, =0x01f00000
-	str	r2, [r1]		/* enable sdram fifos */
-
-	/*
-	 * set pll to top speed
-	 */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SYSTEN_BUS_CLOCK)
-	mov	r2, #0
-	str	r2, [r1]		/* set pll clock to 166MHz */
-
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SWITCH_CTRL0)
-	ldr	r2, [r1]		/* Get switch ctrl0 register       */
-	and	r2, r2, #0x0fc00000	/* Mask out LED control bits       */
-	orr	r2, r2, #0x01800000	/* Set Link/activity/speed actions */
-	str	r2, [r1]
-
-#ifdef CONFIG_CM4008
-	ldr	r1, =(KS8695_IO_BASE+KS8695_GPIO_MODE)
-	ldr	r2, =0x0000fe30
-	str	r2, [r1]		/* enable LED's as outputs	    */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_GPIO_DATA)
-	ldr	r2, =0x0000fe20
-	str	r2, [r1]		/* turn on power LED		    */
-#endif
-#if defined(CONFIG_CM4008) || defined(CONFIG_CM41xx)
-	ldr	r2, [r1]		/* get current GPIO input data	    */
-	tst	r2, #0x8		/* check if "erase" depressed	    */
-	beq	nobutton
-	mov	r2, #0			/* be quiet on boot, no console	    */
-	ldr	r1, =serial_console
-	str	r2, [r1]
-nobutton:
-#endif
-
-	add	lr, lr, #0x02000000	/* flash is now mapped high */
-	add	ip, ip, #0x02000000	/* this is a hack */
-	mov	pc, lr			/* all done, return */
-
-#endif /* CONFIG_SKIP_LOWLEVEL_INIT */
arch/arm/cpu/arm920t/ks8695/timer.c deleted +0 -77
deleted file mode 100644
index 23db557..0000000
@@ -1,77 +0,0 @@
-/*
- * (C) Copyright 2004-2005, Greg Ungerer <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/arch/platform.h>
-
-/*
- * Initial timer set constants. Nothing complicated, just set for a 1ms
- * tick.
- */
-#define	TIMER_INTERVAL	(TICKS_PER_uSEC * mSEC_1)
-#define	TIMER_COUNT	(TIMER_INTERVAL / 2)
-#define	TIMER_PULSE	TIMER_COUNT
-
-/*
- * Handy KS8695 register access functions.
- */
-#define	ks8695_read(a)    *((volatile ulong *) (KS8695_IO_BASE + (a)))
-#define	ks8695_write(a,v) *((volatile ulong *) (KS8695_IO_BASE + (a))) = (v)
-
-ulong timer_ticks;
-
-int timer_init (void)
-{
-	/* Set the hadware timer for 1ms */
-	ks8695_write(KS8695_TIMER1, TIMER_COUNT);
-	ks8695_write(KS8695_TIMER1_PCOUNT, TIMER_PULSE);
-	ks8695_write(KS8695_TIMER_CTRL, 0x2);
-	timer_ticks = 0;
-
-	return 0;
-}
-
-ulong get_timer_masked(void)
-{
-	/* Check for timer wrap */
-	if (ks8695_read(KS8695_INT_STATUS) & KS8695_INTMASK_TIMERINT1) {
-		/* Clear interrupt condition */
-		ks8695_write(KS8695_INT_STATUS, KS8695_INTMASK_TIMERINT1);
-		timer_ticks++;
-	}
-	return timer_ticks;
-}
-
-ulong get_timer(ulong base)
-{
-       return (get_timer_masked() - base);
-}
-
-void __udelay(ulong usec)
-{
-	ulong start = get_timer_masked();
-	ulong end;
-
-	/* Only 1ms resolution :-( */
-	end = usec / 1000;
-	while (get_timer(start) < end)
-		;
-}
-
-void reset_cpu (ulong ignored)
-{
-	ulong tc;
-
-	/* Set timer0 to watchdog, and let it timeout */
-	tc = ks8695_read(KS8695_TIMER_CTRL) & 0x2;
-	ks8695_write(KS8695_TIMER_CTRL, tc);
-	ks8695_write(KS8695_TIMER0, ((10 << 8) | 0xff));
-	ks8695_write(KS8695_TIMER_CTRL, (tc | 0x1));
-
-	/* Should only wait here till watchdog resets */
-	for (;;)
-		;
-}
arch/arm/include/asm/arch-ks8695/platform.h deleted +0 -294
deleted file mode 100644
index 02f6049..0000000
@@ -1,294 +0,0 @@
-/*
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#ifndef __address_h
-#define __address_h			1
-
-#define KS8695_SDRAM_START	    0x00000000
-#define KS8695_SDRAM_SIZE	    0x01000000
-#define KS8695_MEM_SIZE		    KS8695_SDRAM_SIZE
-#define KS8695_MEM_START	    KS8695_SDRAM_START
-
-#define KS8695_PCMCIA_IO_BASE	    0x03800000
-#define KS8695_PCMCIA_IO_SIZE	    0x00040000
-
-#define KS8695_IO_BASE		    0x03FF0000
-#define KS8695_IO_SIZE		    0x00010000
-
-#define KS8695_SYSTEN_CONFIG	    0x00
-#define KS8695_SYSTEN_BUS_CLOCK	    0x04
-
-#define KS8695_FLASH_START	    0x02800000
-#define KS8695_FLASH_SIZE	    0x00400000
-
-/*i/o control registers offset difinitions*/
-#define KS8695_IO_CTRL0		    0x4000
-#define KS8695_IO_CTRL1		    0x4004
-#define KS8695_IO_CTRL2		    0x4008
-#define KS8695_IO_CTRL3		    0x400C
-
-/*memory control registers offset difinitions*/
-#define KS8695_MEM_CTRL0	    0x4010
-#define KS8695_MEM_CTRL1	    0x4014
-#define KS8695_MEM_CTRL2	    0x4018
-#define KS8695_MEM_CTRL3	    0x401C
-#define KS8695_MEM_GENERAL	    0x4020
-#define KS8695_SDRAM_CTRL0	    0x4030
-#define KS8695_SDRAM_CTRL1	    0x4034
-#define KS8695_SDRAM_GENERAL	    0x4038
-#define KS8695_SDRAM_BUFFER	    0x403C
-#define KS8695_SDRAM_REFRESH	    0x4040
-
-/*WAN control registers offset difinitions*/
-#define KS8695_WAN_DMA_TX	    0x6000
-#define KS8695_WAN_DMA_RX	    0x6004
-#define KS8695_WAN_DMA_TX_START	    0x6008
-#define KS8695_WAN_DMA_RX_START	    0x600C
-#define KS8695_WAN_TX_LIST	    0x6010
-#define KS8695_WAN_RX_LIST	    0x6014
-#define KS8695_WAN_MAC_LOW	    0x6018
-#define KS8695_WAN_MAC_HIGH	    0x601C
-#define KS8695_WAN_MAC_ELOW	    0x6080
-#define KS8695_WAN_MAC_EHIGH	    0x6084
-
-/*LAN control registers offset difinitions*/
-#define KS8695_LAN_DMA_TX	    0x8000
-#define KS8695_LAN_DMA_RX	    0x8004
-#define KS8695_LAN_DMA_TX_START	    0x8008
-#define KS8695_LAN_DMA_RX_START	    0x800C
-#define KS8695_LAN_TX_LIST	    0x8010
-#define KS8695_LAN_RX_LIST	    0x8014
-#define KS8695_LAN_MAC_LOW	    0x8018
-#define KS8695_LAN_MAC_HIGH	    0x801C
-#define KS8695_LAN_MAC_ELOW	    0X8080
-#define KS8695_LAN_MAC_EHIGH	    0X8084
-
-/*HPNA control registers offset difinitions*/
-#define KS8695_HPNA_DMA_TX	    0xA000
-#define KS8695_HPNA_DMA_RX	    0xA004
-#define KS8695_HPNA_DMA_TX_START    0xA008
-#define KS8695_HPNA_DMA_RX_START    0xA00C
-#define KS8695_HPNA_TX_LIST	    0xA010
-#define KS8695_HPNA_RX_LIST	    0xA014
-#define KS8695_HPNA_MAC_LOW	    0xA018
-#define KS8695_HPNA_MAC_HIGH	    0xA01C
-#define KS8695_HPNA_MAC_ELOW	    0xA080
-#define KS8695_HPNA_MAC_EHIGH	    0xA084
-
-/*UART control registers offset difinitions*/
-#define KS8695_UART_RX_BUFFER	    0xE000
-#define KS8695_UART_TX_HOLDING	    0xE004
-
-#define KS8695_UART_FIFO_CTRL	    0xE008
-#define KS8695_UART_FIFO_TRIG01	    0x00
-#define KS8695_UART_FIFO_TRIG04	    0x80
-#define KS8695_UART_FIFO_TXRST	    0x03
-#define KS8695_UART_FIFO_RXRST	    0x02
-#define KS8695_UART_FIFO_FEN	    0x01
-
-#define KS8695_UART_LINE_CTRL	    0xE00C
-#define KS8695_UART_LINEC_BRK	    0x40
-#define KS8695_UART_LINEC_EPS	    0x10
-#define KS8695_UART_LINEC_PEN	    0x08
-#define KS8695_UART_LINEC_STP2	    0x04
-#define KS8695_UART_LINEC_WLEN8	    0x03
-#define KS8695_UART_LINEC_WLEN7	    0x02
-#define KS8695_UART_LINEC_WLEN6	    0x01
-#define KS8695_UART_LINEC_WLEN5	    0x00
-
-#define KS8695_UART_MODEM_CTRL	    0xE010
-#define KS8695_UART_MODEMC_RTS	    0x02
-#define KS8695_UART_MODEMC_DTR	    0x01
-
-#define KS8695_UART_LINE_STATUS	    0xE014
-#define KS8695_UART_LINES_TXFE	    0x20
-#define KS8695_UART_LINES_BE	    0x10
-#define KS8695_UART_LINES_FE	    0x08
-#define KS8695_UART_LINES_PE	    0x04
-#define KS8695_UART_LINES_OE	    0x02
-#define KS8695_UART_LINES_RXFE	    0x01
-#define KS8695_UART_LINES_ANY	    (KS8695_UART_LINES_OE|KS8695_UART_LINES_BE|KS8695_UART_LINES_PE|KS8695_UART_LINES_FE)
-
-#define KS8695_UART_MODEM_STATUS    0xE018
-#define KS8695_UART_MODEM_DCD	    0x80
-#define KS8695_UART_MODEM_DSR	    0x20
-#define KS8695_UART_MODEM_CTS	    0x10
-#define KS8695_UART_MODEM_DDCD	    0x08
-#define KS8695_UART_MODEM_DDSR	    0x02
-#define KS8695_UART_MODEM_DCTS	    0x01
-#define UART8695_MODEM_ANY	    0xFF
-
-#define KS8695_UART_DIVISOR	    0xE01C
-#define KS8695_UART_STATUS	    0xE020
-
-/*Interrupt controlller registers offset difinitions*/
-#define KS8695_INT_CONTL	    0xE200
-#define KS8695_INT_ENABLE	    0xE204
-#define KS8695_INT_ENABLE_MODEM	    0x0800
-#define KS8695_INT_ENABLE_ERR	    0x0400
-#define KS8695_INT_ENABLE_RX	    0x0200
-#define KS8695_INT_ENABLE_TX	    0x0100
-
-#define KS8695_INT_STATUS	    0xE208
-#define KS8695_INT_WAN_PRIORITY	    0xE20C
-#define KS8695_INT_HPNA_PRIORITY    0xE210
-#define KS8695_INT_LAN_PRIORITY	    0xE214
-#define KS8695_INT_TIMER_PRIORITY   0xE218
-#define KS8695_INT_UART_PRIORITY    0xE21C
-#define KS8695_INT_EXT_PRIORITY	    0xE220
-#define KS8695_INT_CHAN_PRIORITY    0xE224
-#define KS8695_INT_BUSERROR_PRO	    0xE228
-#define KS8695_INT_MASK_STATUS	    0xE22C
-#define KS8695_FIQ_PEND_PRIORITY    0xE230
-#define KS8695_IRQ_PEND_PRIORITY    0xE234
-
-/*timer registers offset difinitions*/
-#define KS8695_TIMER_CTRL	    0xE400
-#define KS8695_TIMER1		    0xE404
-#define KS8695_TIMER0		    0xE408
-#define KS8695_TIMER1_PCOUNT	    0xE40C
-#define KS8695_TIMER0_PCOUNT	    0xE410
-
-/*GPIO registers offset difinitions*/
-#define KS8695_GPIO_MODE	    0xE600
-#define KS8695_GPIO_CTRL	    0xE604
-#define KS8695_GPIO_DATA	    0xE608
-
-/*SWITCH registers offset difinitions*/
-#define KS8695_SWITCH_CTRL0	    0xE800
-#define KS8695_SWITCH_CTRL1	    0xE804
-#define KS8695_SWITCH_PORT1	    0xE808
-#define KS8695_SWITCH_PORT2	    0xE80C
-#define KS8695_SWITCH_PORT3	    0xE810
-#define KS8695_SWITCH_PORT4	    0xE814
-#define KS8695_SWITCH_PORT5	    0xE818
-#define KS8695_SWITCH_AUTO0	    0xE81C
-#define KS8695_SWITCH_AUTO1	    0xE820
-#define KS8695_SWITCH_LUE_CTRL	    0xE824
-#define KS8695_SWITCH_LUE_HIGH	    0xE828
-#define KS8695_SWITCH_LUE_LOW	    0xE82C
-#define KS8695_SWITCH_ADVANCED	    0xE830
-
-#define KS8695_SWITCH_LPPM12	    0xE874
-#define KS8695_SWITCH_LPPM34	    0xE878
-
-/*host communication registers difinitions*/
-#define KS8695_DSCP_HIGH	    0xE834
-#define KS8695_DSCP_LOW		    0xE838
-#define KS8695_SWITCH_MAC_HIGH	    0xE83C
-#define KS8695_SWITCH_MAC_LOW	    0xE840
-
-/*miscellaneours registers difinitions*/
-#define KS8695_MANAGE_COUNTER	    0xE844
-#define KS8695_MANAGE_DATA	    0xE848
-#define KS8695_LAN12_POWERMAGR	    0xE84C
-#define KS8695_LAN34_POWERMAGR	    0xE850
-
-#define KS8695_DEVICE_ID	    0xEA00
-#define KS8695_REVISION_ID	    0xEA04
-
-#define KS8695_MISC_CONTROL	    0xEA08
-#define KS8695_WAN_CONTROL	    0xEA0C
-#define KS8695_WAN_POWERMAGR	    0xEA10
-#define KS8695_WAN_PHY_CONTROL	    0xEA14
-#define KS8695_WAN_PHY_STATUS	    0xEA18
-
-/* bus clock definitions*/
-#define KS8695_BUS_CLOCK_125MHZ	    0x0
-#define KS8695_BUS_CLOCK_100MHZ	    0x1
-#define KS8695_BUS_CLOCK_62MHZ	    0x2
-#define KS8695_BUS_CLOCK_50MHZ	    0x3
-#define KS8695_BUS_CLOCK_41MHZ	    0x4
-#define KS8695_BUS_CLOCK_33MHZ	    0x5
-#define KS8695_BUS_CLOCK_31MHZ	    0x6
-#define KS8695_BUS_CLOCK_25MHZ	    0x7
-
-/* -------------------------------------------------------------------------------
- *  definations for IRQ
- * -------------------------------------------------------------------------------*/
-
-#define KS8695_INT_EXT_INT0		       2
-#define KS8695_INT_EXT_INT1		       3
-#define KS8695_INT_EXT_INT2		       4
-#define KS8695_INT_EXT_INT3		       5
-#define KS8695_INT_TIMERINT0		       6
-#define KS8695_INT_TIMERINT1		       7
-#define KS8695_INT_UART_TX		       8
-#define KS8695_INT_UART_RX		       9
-#define KS8695_INT_UART_LINE_ERR	       10
-#define KS8695_INT_UART_MODEMS		       11
-#define KS8695_INT_LAN_STOP_RX		       12
-#define KS8695_INT_LAN_STOP_TX		       13
-#define KS8695_INT_LAN_BUF_RX_STATUS	       14
-#define KS8695_INT_LAN_BUF_TX_STATUS	       15
-#define KS8695_INT_LAN_RX_STATUS	       16
-#define KS8695_INT_LAN_TX_STATUS	       17
-#define KS8695_INT_HPAN_STOP_RX		       18
-#define KS8695_INT_HPNA_STOP_TX		       19
-#define KS8695_INT_HPNA_BUF_RX_STATUS	       20
-#define KS8695_INT_HPNA_BUF_TX_STATUS	       21
-#define KS8695_INT_HPNA_RX_STATUS	       22
-#define KS8695_INT_HPNA_TX_STATUS	       23
-#define KS8695_INT_BUS_ERROR		       24
-#define KS8695_INT_WAN_STOP_RX		       25
-#define KS8695_INT_WAN_STOP_TX		       26
-#define KS8695_INT_WAN_BUF_RX_STATUS	       27
-#define KS8695_INT_WAN_BUF_TX_STATUS	       28
-#define KS8695_INT_WAN_RX_STATUS	       29
-#define KS8695_INT_WAN_TX_STATUS	       30
-
-#define KS8695_INT_UART			       KS8695_INT_UART_TX
-
-/* -------------------------------------------------------------------------------
- *  Interrupt bit positions
- *
- * -------------------------------------------------------------------------------
- */
-
-#define KS8695_INTMASK_EXT_INT0		       ( 1 << KS8695_INT_EXT_INT0 )
-#define KS8695_INTMASK_EXT_INT1		       ( 1 << KS8695_INT_EXT_INT1 )
-#define KS8695_INTMASK_EXT_INT2		       ( 1 << KS8695_INT_EXT_INT2 )
-#define KS8695_INTMASK_EXT_INT3		       ( 1 << KS8695_INT_EXT_INT3 )
-#define KS8695_INTMASK_TIMERINT0	       ( 1 << KS8695_INT_TIMERINT0 )
-#define KS8695_INTMASK_TIMERINT1	       ( 1 << KS8695_INT_TIMERINT1 )
-#define KS8695_INTMASK_UART_TX		       ( 1 << KS8695_INT_UART_TX  )
-#define KS8695_INTMASK_UART_RX		       ( 1 << KS8695_INT_UART_RX  )
-#define KS8695_INTMASK_UART_LINE_ERR	       ( 1 << KS8695_INT_UART_LINE_ERR )
-#define KS8695_INTMASK_UART_MODEMS	       ( 1 << KS8695_INT_UART_MODEMS )
-#define KS8695_INTMASK_LAN_STOP_RX	       ( 1 << KS8695_INT_LAN_STOP_RX )
-#define KS8695_INTMASK_LAN_STOP_TX	       ( 1 << KS8695_INT_LAN_STOP_TX )
-#define KS8695_INTMASK_LAN_BUF_RX_STATUS       ( 1 << KS8695_INT_LAN_BUF_RX_STATUS )
-#define KS8695_INTMASK_LAN_BUF_TX_STATUS       ( 1 << KS8695_INT_LAN_BUF_TX_STATUS )
-#define KS8695_INTMASK_LAN_RX_STATUS	       ( 1 << KS8695_INT_LAN_RX_STATUS )
-#define KS8695_INTMASK_LAN_TX_STATUS	       ( 1 << KS8695_INT_LAN_RX_STATUS )
-#define KS8695_INTMASK_HPAN_STOP_RX	       ( 1 << KS8695_INT_HPAN_STOP_RX )
-#define KS8695_INTMASK_HPNA_STOP_TX	       ( 1 << KS8695_INT_HPNA_STOP_TX )
-#define KS8695_INTMASK_HPNA_BUF_RX_STATUS      ( 1 << KS8695_INT_HPNA_BUF_RX_STATUS )
-#define KS8695_INTMAKS_HPNA_BUF_TX_STATUS      ( 1 << KS8695_INT_HPNA_BUF_TX_STATUS
-#define KS8695_INTMASK_HPNA_RX_STATUS	       ( 1 << KS8695_INT_HPNA_RX_STATUS )
-#define KS8695_INTMASK_HPNA_TX_STATUS	       ( 1 << KS8695_INT_HPNA_TX_STATUS )
-#define KS8695_INTMASK_BUS_ERROR	       ( 1 << KS8695_INT_BUS_ERROR )
-#define KS8695_INTMASK_WAN_STOP_RX	       ( 1 << KS8695_INT_WAN_STOP_RX )
-#define KS8695_INTMASK_WAN_STOP_TX	       ( 1 << KS8695_INT_WAN_STOP_TX )
-#define KS8695_INTMASK_WAN_BUF_RX_STATUS       ( 1 << KS8695_INT_WAN_BUF_RX_STATUS )
-#define KS8695_INTMASK_WAN_BUF_TX_STATUS       ( 1 << KS8695_INT_WAN_BUF_TX_STATUS )
-#define KS8695_INTMASK_WAN_RX_STATUS	       ( 1 << KS8695_INT_WAN_RX_STATUS )
-#define KS8695_INTMASK_WAN_TX_STATUS	       ( 1 << KS8695_INT_WAN_TX_STATUS )
-
-#define KS8695_SC_VALID_INT		       0xFFFFFFFF
-#define MAXIRQNUM			       31
-
-/*
- *  Timer definitions
- *
- *  Use timer 1 & 2
- *  (both run at 25MHz).
- *
- */
-#define TICKS_PER_uSEC			25
-#define mSEC_1				1000
-#define mSEC_10				(mSEC_1 * 10)
-
-#endif
-
-/*	END */
board/cm4008/Kconfig deleted +0 -12
deleted file mode 100644
index de87d5b..0000000
@@ -1,12 +0,0 @@
-if TARGET_CM4008
-
-config SYS_BOARD
-	default "cm4008"
-
-config SYS_SOC
-	default "ks8695"
-
-config SYS_CONFIG_NAME
-	default "cm4008"
-
-endif
board/cm4008/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 5f08bc3..0000000
@@ -1,6 +0,0 @@
-CM4008 BOARD
-M:	Greg Ungerer <[email protected]>
-S:	Maintained
-F:	board/cm4008/
-F:	include/configs/cm4008.h
-F:	configs/cm4008_defconfig
board/cm4008/Makefile deleted +0 -8
deleted file mode 100644
index 04b1529..0000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= cm4008.o flash.o
board/cm4008/cm4008.c deleted +0 -88
deleted file mode 100644
index 740e164..0000000
@@ -1,88 +0,0 @@
-/*
- * (C) Copyright 2005
- * Greg Ungerer, OpenGear Inc, <[email protected]>
- *
- * (C) Copyright 2002
- * Kyle Harris, Nexus Technologies, Inc. kharris at nexus-tech.net
- *
- * (C) Copyright 2002
- * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
- * Marius Groeger <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/arch/platform.h>
-#include <netdev.h>
-
-DECLARE_GLOBAL_DATA_PTR;
-
-/* ------------------------------------------------------------------------- */
-
-#define	ks8695_read(a)	  *((volatile unsigned int *) (KS8695_IO_BASE+(a)))
-#define	ks8695_write(a,b) *((volatile unsigned int *) (KS8695_IO_BASE+(a))) = (b)
-
-/* ------------------------------------------------------------------------- */
-
-
-/*
- * Miscelaneous platform dependent initialisations
- */
-int env_flash_cmdline (void)
-{
-	char *sp = (char *) 0x0201c020;
-	char *ep;
-	int len;
-
-	/* Check if "erase" push button is depressed */
-	if ((ks8695_read(KS8695_GPIO_DATA) & 0x8) == 0) {
-		printf("### Entering network recovery mode...\n");
-		setenv("bootargs", "console=ttyAM0,115200 mem=16M initrd=0x400000,6M root=/dev/ram0");
-		setenv("bootcmd", "bootp 0x400000; gofsk 0x400000");
-		setenv("bootdelay", "2");
-		return 0;
-	}
-
-	/* Check for flash based kernel boot args to use as default */
-	for (ep = sp, len = 0; ((len < 1024) && (*ep != 0)); ep++, len++)
-		;
-
-	if ((len > 0) && (len <1024))
-		setenv("bootargs", sp);
-
-	return 0;
-}
-
-int board_late_init (void)
-{
-	return 0;
-}
-
-int board_eth_init(bd_t *bis)
-{
-	return ks8695_eth_initialize();
-}
-
-int board_init (void)
-{
-	/* arch number of CM4008 */
-	gd->bd->bi_arch_number = 624;
-
-	/* adress of boot parameters */
-	gd->bd->bi_boot_params = 0x00000100;
-
-	/* power down all but port 0 on the switch */
-	ks8695_write(KS8695_SWITCH_LPPM12, 0x00000005);
-	ks8695_write(KS8695_SWITCH_LPPM34, 0x00050005);
-
-	return 0;
-}
-
-int dram_init (void)
-{
-	gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
-	gd->bd->bi_dram[0].size  = PHYS_SDRAM_1_SIZE;
-
-	return (0);
-}
board/cm4008/config.mk deleted +0 -1
deleted file mode 100644
index 0d5923b..0000000
@@ -1 +0,0 @@
-CONFIG_SYS_TEXT_BASE = 0x00f00000
board/cm4008/flash.c deleted +0 -395
deleted file mode 100644
index 8315a57..0000000
@@ -1,395 +0,0 @@
-/*
- * (C) Copyright 2005
- * Greg Ungerer, OpenGear Inc, greg.ungerer at opengear.com
- *
- * (C) Copyright 2001
- * Kyle Harris, Nexus Technologies, Inc. kharris at nexus-tech.net
- *
- * (C) Copyright 2001
- * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <linux/byteorder/swab.h>
-#include <asm/sections.h>
-
-
-flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];	/* info for FLASH chips */
-
-#define mb() __asm__ __volatile__ ("" : : : "memory")
-
-/*-----------------------------------------------------------------------
- * Functions
- */
-static ulong flash_get_size (unsigned char * addr, flash_info_t * info);
-static int write_data (flash_info_t * info, ulong dest, unsigned char data);
-static void flash_get_offsets (ulong base, flash_info_t * info);
-void inline spin_wheel (void);
-
-/*-----------------------------------------------------------------------
- */
-
-unsigned long flash_init (void)
-{
-	int i;
-	ulong size = 0;
-
-	for (i = 0; i < CONFIG_SYS_MAX_FLASH_BANKS; i++) {
-		switch (i) {
-		case 0:
-			flash_get_size ((unsigned char *) PHYS_FLASH_1, &flash_info[i]);
-			flash_get_offsets (PHYS_FLASH_1, &flash_info[i]);
-			break;
-		case 1:
-			/* ignore for now */
-			flash_info[i].flash_id = FLASH_UNKNOWN;
-			break;
-		default:
-			panic ("configured too many flash banks!\n");
-			break;
-		}
-		size += flash_info[i].size;
-	}
-
-	/* Protect monitor and environment sectors
-	 */
-	flash_protect (FLAG_PROTECT_SET,
-		       CONFIG_SYS_FLASH_BASE,
-		       CONFIG_SYS_FLASH_BASE + (__bss_end - __bss_start),
-		       &flash_info[0]);
-
-	return size;
-}
-
-/*-----------------------------------------------------------------------
- */
-static void flash_get_offsets (ulong base, flash_info_t * info)
-{
-	int i;
-
-	if (info->flash_id == FLASH_UNKNOWN)
-		return;
-
-	if ((info->flash_id & FLASH_VENDMASK) == FLASH_MAN_INTEL) {
-		for (i = 0; i < info->sector_count; i++) {
-			info->start[i] = base + (i * PHYS_FLASH_SECT_SIZE);
-			info->protect[i] = 0;
-		}
-	}
-}
-
-/*-----------------------------------------------------------------------
- */
-void flash_print_info (flash_info_t * info)
-{
-	int i;
-
-	if (info->flash_id == FLASH_UNKNOWN) {
-		printf ("missing or unknown FLASH type\n");
-		return;
-	}
-
-	switch (info->flash_id & FLASH_VENDMASK) {
-	case FLASH_MAN_INTEL:
-		printf ("INTEL ");
-		break;
-	default:
-		printf ("Unknown Vendor ");
-		break;
-	}
-
-	switch (info->flash_id & FLASH_TYPEMASK) {
-	case FLASH_28F128J3A:
-		printf ("28F128J3A\n");
-		break;
-	default:
-		printf ("Unknown Chip Type\n");
-		break;
-	}
-
-	printf ("  Size: %ld MB in %d Sectors\n",
-		info->size >> 20, info->sector_count);
-
-	printf ("  Sector Start Addresses:");
-	for (i = 0; i < info->sector_count; ++i) {
-		if ((i % 5) == 0)
-			printf ("\n   ");
-		printf (" %08lX%s",
-			info->start[i], info->protect[i] ? " (RO)" : "     ");
-	}
-	printf ("\n");
-	return;
-}
-
-/*
- * The following code cannot be run from FLASH!
- */
-static ulong flash_get_size (unsigned char * addr, flash_info_t * info)
-{
-	volatile unsigned char value;
-
-	/* Write auto select command: read Manufacturer ID */
-	addr[0x5555] = 0xAA;
-	addr[0x2AAA] = 0x55;
-	addr[0x5555] = 0x90;
-
-	mb ();
-	value = addr[0];
-
-	switch (value) {
-
-	case (unsigned char)INTEL_MANUFACT:
-		info->flash_id = FLASH_MAN_INTEL;
-		break;
-
-	default:
-		info->flash_id = FLASH_UNKNOWN;
-		info->sector_count = 0;
-		info->size = 0;
-		addr[0] = 0xFF;	/* restore read mode */
-		return (0);	/* no or unknown flash  */
-	}
-
-	mb ();
-	value = addr[2];	/* device ID            */
-
-	switch (value) {
-
-	case (unsigned char)INTEL_ID_28F640J3A:
-		info->flash_id += FLASH_28F640J3A;
-		info->sector_count = 64;
-		info->size = 0x00800000;
-		break;		/* => 8 MB     */
-
-	case (unsigned char)INTEL_ID_28F128J3A:
-		info->flash_id += FLASH_28F128J3A;
-		info->sector_count = 128;
-		info->size = 0x01000000;
-		break;		/* => 16 MB     */
-
-	default:
-		info->flash_id = FLASH_UNKNOWN;
-		break;
-	}
-
-	if (info->sector_count > CONFIG_SYS_MAX_FLASH_SECT) {
-		printf ("** ERROR: sector count %d > max (%d) **\n",
-			info->sector_count, CONFIG_SYS_MAX_FLASH_SECT);
-		info->sector_count = CONFIG_SYS_MAX_FLASH_SECT;
-	}
-
-	addr[0] = 0xFF;	/* restore read mode */
-
-	return (info->size);
-}
-
-
-/*-----------------------------------------------------------------------
- */
-
-int flash_erase (flash_info_t * info, int s_first, int s_last)
-{
-	int prot, sect;
-	ulong type;
-	int rcode = 0;
-	ulong start;
-
-	if ((s_first < 0) || (s_first > s_last)) {
-		if (info->flash_id == FLASH_UNKNOWN) {
-			printf ("- missing\n");
-		} else {
-			printf ("- no sectors to erase\n");
-		}
-		return 1;
-	}
-
-	type = (info->flash_id & FLASH_VENDMASK);
-	if ((type != FLASH_MAN_INTEL)) {
-		printf ("Can't erase unknown flash type %08lx - aborted\n",
-			info->flash_id);
-		return 1;
-	}
-
-	prot = 0;
-	for (sect = s_first; sect <= s_last; ++sect) {
-		if (info->protect[sect]) {
-			prot++;
-		}
-	}
-
-	if (prot)
-		printf ("- Warning: %d protected sectors will not be erased!\n", prot);
-	else
-		printf ("\n");
-
-	/* Disable interrupts which might cause a timeout here */
-	disable_interrupts();
-
-	/* Start erase on unprotected sectors */
-	for (sect = s_first; sect <= s_last; sect++) {
-		if (info->protect[sect] == 0) {	/* not protected */
-			volatile unsigned char *addr;
-			unsigned char status;
-
-			printf ("Erasing sector %2d ... ", sect);
-
-			/* arm simple, non interrupt dependent timer */
-			start = get_timer(0);
-
-			addr = (volatile unsigned char *) (info->start[sect]);
-			*addr = 0x50;	/* clear status register */
-			*addr = 0x20;	/* erase setup */
-			*addr = 0xD0;	/* erase confirm */
-
-			while (((status = *addr) & 0x80) != 0x80) {
-				if (get_timer(start) >
-				    CONFIG_SYS_FLASH_ERASE_TOUT) {
-					printf ("Timeout\n");
-					*addr = 0xB0;	/* suspend erase */
-					*addr = 0xFF;	/* reset to read mode */
-					rcode = 1;
-					break;
-				}
-			}
-
-			*addr = 0x50;	/* clear status register cmd */
-			*addr = 0xFF;	/* resest to read mode */
-
-			printf (" done\n");
-		}
-	}
-	return rcode;
-}
-
-/*-----------------------------------------------------------------------
- * Copy memory to flash, returns:
- * 0 - OK
- * 1 - write timeout
- * 2 - Flash not erased
- * 4 - Flash not identified
- */
-
-int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
-{
-	ulong cp, wp;
-	unsigned char data;
-	int count, i, l, rc, port_width;
-
-	if (info->flash_id == FLASH_UNKNOWN)
-		return 4;
-
-	wp = addr;
-	port_width = 1;
-
-	/*
-	 * handle unaligned start bytes
-	 */
-	if ((l = addr - wp) != 0) {
-		data = 0;
-		for (i = 0, cp = wp; i < l; ++i, ++cp) {
-			data = (data << 8) | (*(uchar *) cp);
-		}
-		for (; i < port_width && cnt > 0; ++i) {
-			data = (data << 8) | *src++;
-			--cnt;
-			++cp;
-		}
-		for (; cnt == 0 && i < port_width; ++i, ++cp) {
-			data = (data << 8) | (*(uchar *) cp);
-		}
-
-		if ((rc = write_data (info, wp, data)) != 0) {
-			return (rc);
-		}
-		wp += port_width;
-	}
-
-	/*
-	 * handle word aligned part
-	 */
-	count = 0;
-	while (cnt >= port_width) {
-		data = 0;
-		for (i = 0; i < port_width; ++i) {
-			data = (data << 8) | *src++;
-		}
-		if ((rc = write_data (info, wp, data)) != 0) {
-			return (rc);
-		}
-		wp += port_width;
-		cnt -= port_width;
-		if (count++ > 0x800) {
-			spin_wheel ();
-			count = 0;
-		}
-	}
-
-	if (cnt == 0) {
-		return (0);
-	}
-
-	/*
-	 * handle unaligned tail bytes
-	 */
-	data = 0;
-	for (i = 0, cp = wp; i < port_width && cnt > 0; ++i, ++cp) {
-		data = (data << 8) | *src++;
-		--cnt;
-	}
-	for (; i < port_width; ++i, ++cp) {
-		data = (data << 8) | (*(uchar *) cp);
-	}
-
-	return (write_data (info, wp, data));
-}
-
-/*-----------------------------------------------------------------------
- * Write a word or halfword to Flash, returns:
- * 0 - OK
- * 1 - write timeout
- * 2 - Flash not erased
- */
-static int write_data (flash_info_t * info, ulong dest, unsigned char data)
-{
-	volatile unsigned char *addr = (volatile unsigned char *) dest;
-	ulong status;
-	ulong start;
-
-	/* Check if Flash is (sufficiently) erased */
-	if ((*addr & data) != data) {
-		printf ("not erased at %08lx (%lx)\n", (ulong) addr,
-			(ulong) * addr);
-		return (2);
-	}
-	/* Disable interrupts which might cause a timeout here */
-	disable_interrupts();
-
-	*addr = 0x40;	/* write setup */
-	*addr = data;
-
-	/* arm simple, non interrupt dependent timer */
-	start = get_timer(0);
-
-	/* wait while polling the status register */
-	while (((status = *addr) & 0x80) != 0x80) {
-		if (get_timer(start) > CONFIG_SYS_FLASH_WRITE_TOUT) {
-			*addr = 0xFF;	/* restore read mode */
-			return (1);
-		}
-	}
-
-	*addr = 0xFF;	/* restore read mode */
-
-	return (0);
-}
-
-void inline spin_wheel (void)
-{
-	static int p = 0;
-	static char w[] = "\\/-";
-
-	printf ("\010%c", w[p]);
-	(++p == 3) ? (p = 0) : 0;
-}
board/cm41xx/Kconfig deleted +0 -12
deleted file mode 100644
index 99e675b..0000000
@@ -1,12 +0,0 @@
-if TARGET_CM41XX
-
-config SYS_BOARD
-	default "cm41xx"
-
-config SYS_SOC
-	default "ks8695"
-
-config SYS_CONFIG_NAME
-	default "cm41xx"
-
-endif
board/cm41xx/MAINTAINERS deleted +0 -6
deleted file mode 100644
index f10eeb5..0000000
@@ -1,6 +0,0 @@
-CM41XX BOARD
-#M:	-
-S:	Maintained
-F:	board/cm41xx/
-F:	include/configs/cm41xx.h
-F:	configs/cm41xx_defconfig
board/cm41xx/Makefile deleted +0 -8
deleted file mode 100644
index b71ea05..0000000
@@ -1,8 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= cm41xx.o flash.o
board/cm41xx/cm41xx.c deleted +0 -88
deleted file mode 100644
index eabad48..0000000
@@ -1,88 +0,0 @@
-/*
- * (C) Copyright 2005
- * Greg Ungerer, OpenGear Inc, <[email protected]>
- *
- * (C) Copyright 2002
- * Kyle Harris, Nexus Technologies, Inc. kharris at nexus-tech.net
- *
- * (C) Copyright 2002
- * Sysgo Real-Time Solutions, GmbH <www.elinos.com>
- * Marius Groeger <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/arch/platform.h>
-#include <netdev.h>
-
-DECLARE_GLOBAL_DATA_PTR;
-
-/* ------------------------------------------------------------------------- */
-
-#define	ks8695_read(a)	  *((volatile unsigned int *) (KS8695_IO_BASE+(a)))
-#define	ks8695_write(a,b) *((volatile unsigned int *) (KS8695_IO_BASE+(a))) = (b)
-
-/* ------------------------------------------------------------------------- */
-
-
-/*
- * Miscelaneous platform dependent initialisations
- */
-int env_flash_cmdline (void)
-{
-	char *sp = (char *) 0x0201c020;
-	char *ep;
-	int len;
-
-	/* Check if "erase" push button is depressed */
-	if ((ks8695_read(KS8695_GPIO_DATA) & 0x8) == 0) {
-		printf("### Entering network recovery mode...\n");
-		setenv("bootargs", "console=ttyAM0,115200 mem=32M initrd=0x400000,8M root=/dev/ram0");
-		setenv("bootcmd", "bootp 0x400000; gofsk 0x400000");
-		setenv("bootdelay", "2");
-		return 0;
-	}
-
-	/* Check for flash based kernel boot args to use as default */
-	for (ep = sp, len = 0; ((len < 1024) && (*ep != 0)); ep++, len++)
-		;
-
-	if ((len > 0) && (len <1024))
-		setenv("bootargs", sp);
-
-	return 0;
-}
-
-int board_late_init (void)
-{
-	return 0;
-}
-
-int board_eth_init(bd_t *bis)
-{
-	return ks8695_eth_initialize();
-}
-
-int board_init (void)
-{
-	/* arch number of CM41xx */
-	gd->bd->bi_arch_number = 672;
-
-	/* adress of boot parameters */
-	gd->bd->bi_boot_params = 0x00000100;
-
-	/* power down all but port 0 on the switch */
-	ks8695_write(KS8695_SWITCH_LPPM12, 0x00000005);
-	ks8695_write(KS8695_SWITCH_LPPM34, 0x00050005);
-
-	return 0;
-}
-
-int dram_init (void)
-{
-	gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
-	gd->bd->bi_dram[0].size  = PHYS_SDRAM_1_SIZE;
-
-	return (0);
-}
board/cm41xx/config.mk deleted +0 -1
deleted file mode 100644
index 0d5923b..0000000
@@ -1 +0,0 @@
-CONFIG_SYS_TEXT_BASE = 0x00f00000
board/cm41xx/flash.c deleted +0 -395
deleted file mode 100644
index 8315a57..0000000
@@ -1,395 +0,0 @@
-/*
- * (C) Copyright 2005
- * Greg Ungerer, OpenGear Inc, greg.ungerer at opengear.com
- *
- * (C) Copyright 2001
- * Kyle Harris, Nexus Technologies, Inc. kharris at nexus-tech.net
- *
- * (C) Copyright 2001
- * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <linux/byteorder/swab.h>
-#include <asm/sections.h>
-
-
-flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];	/* info for FLASH chips */
-
-#define mb() __asm__ __volatile__ ("" : : : "memory")
-
-/*-----------------------------------------------------------------------
- * Functions
- */
-static ulong flash_get_size (unsigned char * addr, flash_info_t * info);
-static int write_data (flash_info_t * info, ulong dest, unsigned char data);
-static void flash_get_offsets (ulong base, flash_info_t * info);
-void inline spin_wheel (void);
-
-/*-----------------------------------------------------------------------
- */
-
-unsigned long flash_init (void)
-{
-	int i;
-	ulong size = 0;
-
-	for (i = 0; i < CONFIG_SYS_MAX_FLASH_BANKS; i++) {
-		switch (i) {
-		case 0:
-			flash_get_size ((unsigned char *) PHYS_FLASH_1, &flash_info[i]);
-			flash_get_offsets (PHYS_FLASH_1, &flash_info[i]);
-			break;
-		case 1:
-			/* ignore for now */
-			flash_info[i].flash_id = FLASH_UNKNOWN;
-			break;
-		default:
-			panic ("configured too many flash banks!\n");
-			break;
-		}
-		size += flash_info[i].size;
-	}
-
-	/* Protect monitor and environment sectors
-	 */
-	flash_protect (FLAG_PROTECT_SET,
-		       CONFIG_SYS_FLASH_BASE,
-		       CONFIG_SYS_FLASH_BASE + (__bss_end - __bss_start),
-		       &flash_info[0]);
-
-	return size;
-}
-
-/*-----------------------------------------------------------------------
- */
-static void flash_get_offsets (ulong base, flash_info_t * info)
-{
-	int i;
-
-	if (info->flash_id == FLASH_UNKNOWN)
-		return;
-
-	if ((info->flash_id & FLASH_VENDMASK) == FLASH_MAN_INTEL) {
-		for (i = 0; i < info->sector_count; i++) {
-			info->start[i] = base + (i * PHYS_FLASH_SECT_SIZE);
-			info->protect[i] = 0;
-		}
-	}
-}
-
-/*-----------------------------------------------------------------------
- */
-void flash_print_info (flash_info_t * info)
-{
-	int i;
-
-	if (info->flash_id == FLASH_UNKNOWN) {
-		printf ("missing or unknown FLASH type\n");
-		return;
-	}
-
-	switch (info->flash_id & FLASH_VENDMASK) {
-	case FLASH_MAN_INTEL:
-		printf ("INTEL ");
-		break;
-	default:
-		printf ("Unknown Vendor ");
-		break;
-	}
-
-	switch (info->flash_id & FLASH_TYPEMASK) {
-	case FLASH_28F128J3A:
-		printf ("28F128J3A\n");
-		break;
-	default:
-		printf ("Unknown Chip Type\n");
-		break;
-	}
-
-	printf ("  Size: %ld MB in %d Sectors\n",
-		info->size >> 20, info->sector_count);
-
-	printf ("  Sector Start Addresses:");
-	for (i = 0; i < info->sector_count; ++i) {
-		if ((i % 5) == 0)
-			printf ("\n   ");
-		printf (" %08lX%s",
-			info->start[i], info->protect[i] ? " (RO)" : "     ");
-	}
-	printf ("\n");
-	return;
-}
-
-/*
- * The following code cannot be run from FLASH!
- */
-static ulong flash_get_size (unsigned char * addr, flash_info_t * info)
-{
-	volatile unsigned char value;
-
-	/* Write auto select command: read Manufacturer ID */
-	addr[0x5555] = 0xAA;
-	addr[0x2AAA] = 0x55;
-	addr[0x5555] = 0x90;
-
-	mb ();
-	value = addr[0];
-
-	switch (value) {
-
-	case (unsigned char)INTEL_MANUFACT:
-		info->flash_id = FLASH_MAN_INTEL;
-		break;
-
-	default:
-		info->flash_id = FLASH_UNKNOWN;
-		info->sector_count = 0;
-		info->size = 0;
-		addr[0] = 0xFF;	/* restore read mode */
-		return (0);	/* no or unknown flash  */
-	}
-
-	mb ();
-	value = addr[2];	/* device ID            */
-
-	switch (value) {
-
-	case (unsigned char)INTEL_ID_28F640J3A:
-		info->flash_id += FLASH_28F640J3A;
-		info->sector_count = 64;
-		info->size = 0x00800000;
-		break;		/* => 8 MB     */
-
-	case (unsigned char)INTEL_ID_28F128J3A:
-		info->flash_id += FLASH_28F128J3A;
-		info->sector_count = 128;
-		info->size = 0x01000000;
-		break;		/* => 16 MB     */
-
-	default:
-		info->flash_id = FLASH_UNKNOWN;
-		break;
-	}
-
-	if (info->sector_count > CONFIG_SYS_MAX_FLASH_SECT) {
-		printf ("** ERROR: sector count %d > max (%d) **\n",
-			info->sector_count, CONFIG_SYS_MAX_FLASH_SECT);
-		info->sector_count = CONFIG_SYS_MAX_FLASH_SECT;
-	}
-
-	addr[0] = 0xFF;	/* restore read mode */
-
-	return (info->size);
-}
-
-
-/*-----------------------------------------------------------------------
- */
-
-int flash_erase (flash_info_t * info, int s_first, int s_last)
-{
-	int prot, sect;
-	ulong type;
-	int rcode = 0;
-	ulong start;
-
-	if ((s_first < 0) || (s_first > s_last)) {
-		if (info->flash_id == FLASH_UNKNOWN) {
-			printf ("- missing\n");
-		} else {
-			printf ("- no sectors to erase\n");
-		}
-		return 1;
-	}
-
-	type = (info->flash_id & FLASH_VENDMASK);
-	if ((type != FLASH_MAN_INTEL)) {
-		printf ("Can't erase unknown flash type %08lx - aborted\n",
-			info->flash_id);
-		return 1;
-	}
-
-	prot = 0;
-	for (sect = s_first; sect <= s_last; ++sect) {
-		if (info->protect[sect]) {
-			prot++;
-		}
-	}
-
-	if (prot)
-		printf ("- Warning: %d protected sectors will not be erased!\n", prot);
-	else
-		printf ("\n");
-
-	/* Disable interrupts which might cause a timeout here */
-	disable_interrupts();
-
-	/* Start erase on unprotected sectors */
-	for (sect = s_first; sect <= s_last; sect++) {
-		if (info->protect[sect] == 0) {	/* not protected */
-			volatile unsigned char *addr;
-			unsigned char status;
-
-			printf ("Erasing sector %2d ... ", sect);
-
-			/* arm simple, non interrupt dependent timer */
-			start = get_timer(0);
-
-			addr = (volatile unsigned char *) (info->start[sect]);
-			*addr = 0x50;	/* clear status register */
-			*addr = 0x20;	/* erase setup */
-			*addr = 0xD0;	/* erase confirm */
-
-			while (((status = *addr) & 0x80) != 0x80) {
-				if (get_timer(start) >
-				    CONFIG_SYS_FLASH_ERASE_TOUT) {
-					printf ("Timeout\n");
-					*addr = 0xB0;	/* suspend erase */
-					*addr = 0xFF;	/* reset to read mode */
-					rcode = 1;
-					break;
-				}
-			}
-
-			*addr = 0x50;	/* clear status register cmd */
-			*addr = 0xFF;	/* resest to read mode */
-
-			printf (" done\n");
-		}
-	}
-	return rcode;
-}
-
-/*-----------------------------------------------------------------------
- * Copy memory to flash, returns:
- * 0 - OK
- * 1 - write timeout
- * 2 - Flash not erased
- * 4 - Flash not identified
- */
-
-int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
-{
-	ulong cp, wp;
-	unsigned char data;
-	int count, i, l, rc, port_width;
-
-	if (info->flash_id == FLASH_UNKNOWN)
-		return 4;
-
-	wp = addr;
-	port_width = 1;
-
-	/*
-	 * handle unaligned start bytes
-	 */
-	if ((l = addr - wp) != 0) {
-		data = 0;
-		for (i = 0, cp = wp; i < l; ++i, ++cp) {
-			data = (data << 8) | (*(uchar *) cp);
-		}
-		for (; i < port_width && cnt > 0; ++i) {
-			data = (data << 8) | *src++;
-			--cnt;
-			++cp;
-		}
-		for (; cnt == 0 && i < port_width; ++i, ++cp) {
-			data = (data << 8) | (*(uchar *) cp);
-		}
-
-		if ((rc = write_data (info, wp, data)) != 0) {
-			return (rc);
-		}
-		wp += port_width;
-	}
-
-	/*
-	 * handle word aligned part
-	 */
-	count = 0;
-	while (cnt >= port_width) {
-		data = 0;
-		for (i = 0; i < port_width; ++i) {
-			data = (data << 8) | *src++;
-		}
-		if ((rc = write_data (info, wp, data)) != 0) {
-			return (rc);
-		}
-		wp += port_width;
-		cnt -= port_width;
-		if (count++ > 0x800) {
-			spin_wheel ();
-			count = 0;
-		}
-	}
-
-	if (cnt == 0) {
-		return (0);
-	}
-
-	/*
-	 * handle unaligned tail bytes
-	 */
-	data = 0;
-	for (i = 0, cp = wp; i < port_width && cnt > 0; ++i, ++cp) {
-		data = (data << 8) | *src++;
-		--cnt;
-	}
-	for (; i < port_width; ++i, ++cp) {
-		data = (data << 8) | (*(uchar *) cp);
-	}
-
-	return (write_data (info, wp, data));
-}
-
-/*-----------------------------------------------------------------------
- * Write a word or halfword to Flash, returns:
- * 0 - OK
- * 1 - write timeout
- * 2 - Flash not erased
- */
-static int write_data (flash_info_t * info, ulong dest, unsigned char data)
-{
-	volatile unsigned char *addr = (volatile unsigned char *) dest;
-	ulong status;
-	ulong start;
-
-	/* Check if Flash is (sufficiently) erased */
-	if ((*addr & data) != data) {
-		printf ("not erased at %08lx (%lx)\n", (ulong) addr,
-			(ulong) * addr);
-		return (2);
-	}
-	/* Disable interrupts which might cause a timeout here */
-	disable_interrupts();
-
-	*addr = 0x40;	/* write setup */
-	*addr = data;
-
-	/* arm simple, non interrupt dependent timer */
-	start = get_timer(0);
-
-	/* wait while polling the status register */
-	while (((status = *addr) & 0x80) != 0x80) {
-		if (get_timer(start) > CONFIG_SYS_FLASH_WRITE_TOUT) {
-			*addr = 0xFF;	/* restore read mode */
-			return (1);
-		}
-	}
-
-	*addr = 0xFF;	/* restore read mode */
-
-	return (0);
-}
-
-void inline spin_wheel (void)
-{
-	static int p = 0;
-	static char w[] = "\\/-";
-
-	printf ("\010%c", w[p]);
-	(++p == 3) ? (p = 0) : 0;
-}
configs/cm4008_defconfig deleted +0 -2
deleted file mode 100644
index 487589d..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_CM4008=y
configs/cm41xx_defconfig deleted +0 -2
deleted file mode 100644
index 15e9362..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_CM41XX=y
doc/README.scrapyard +2 -0
index 809556e..a42b0e1 100644
@@ -12,6 +12,8 @@ The list should be sorted in reverse chronological order.
 
  Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
  =================================================================================================
+cm4008           arm         arm920t        -           -           Greg Ungerer <[email protected]>
+cm41xx           arm         arm920t        -           -
  dkb              arm         arm926ejs      -           -           Lei Wen <[email protected]>
  devkit3250       arm         arm926ejs      -           -           Vladimir Zapolskiy <[email protected]>
  zmx25            arm         arm926ejs      -           -           Matthias Weisser <[email protected]>
drivers/net/Makefile +0 -1
index 46c4ac6..da5e2bc 100644
@@ -33,7 +33,6 @@ obj-$(CONFIG_FTMAC110) += ftmac110.o
  obj-$(CONFIG_FTMAC100) += ftmac100.o
  obj-$(CONFIG_GRETH) += greth.o
  obj-$(CONFIG_DRIVER_TI_KEYSTONE_NET) += keystone_net.o
-obj-$(CONFIG_DRIVER_KS8695ETH) += ks8695eth.o
  obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o
  obj-$(CONFIG_LAN91C96) += lan91c96.o
  obj-$(CONFIG_MACB) += macb.o
drivers/net/ks8695eth.c deleted +0 -229
deleted file mode 100644
index b4822e9..0000000
@@ -1,229 +0,0 @@
-/*
- * ks8695eth.c -- KS8695 ethernet driver
- *
- * (C) Copyright 2004-2005, Greg Ungerer <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-/****************************************************************************/
-
-#include <common.h>
-#include <malloc.h>
-#include <net.h>
-#include <asm/io.h>
-#include <asm/arch/platform.h>
-
-/****************************************************************************/
-
-/*
- * Hardware register access to the KS8695 LAN ethernet port
- * (well, it is the 4 port switch really).
- */
-#define	ks8695_read(a)    *((volatile unsigned long *) (KS8695_IO_BASE + (a)))
-#define	ks8695_write(a,v) *((volatile unsigned long *) (KS8695_IO_BASE + (a))) = (v)
-
-/****************************************************************************/
-
-/*
- * Define the descriptor in-memory data structures.
- */
-struct ks8695_txdesc {
-	uint32_t	owner;
-	uint32_t	ctrl;
-	uint32_t	addr;
-	uint32_t	next;
-};
-
-struct ks8695_rxdesc {
-	uint32_t	status;
-	uint32_t	ctrl;
-	uint32_t	addr;
-	uint32_t	next;
-};
-
-/****************************************************************************/
-
-/*
- * Allocate local data structures to use for receiving and sending
- * packets. Just to keep it all nice and simple.
- */
-
-#define	TXDESCS		4
-#define	RXDESCS		4
-#define	BUFSIZE		2048
-
-volatile struct ks8695_txdesc ks8695_tx[TXDESCS] __attribute__((aligned(256)));
-volatile struct ks8695_rxdesc ks8695_rx[RXDESCS] __attribute__((aligned(256)));
-volatile uint8_t ks8695_bufs[BUFSIZE*(TXDESCS+RXDESCS)] __attribute__((aligned(2048)));;
-
-/****************************************************************************/
-
-/*
- *	Ideally we want to use the MAC address stored in flash.
- *	But we do some sanity checks in case they are not present
- *	first.
- */
-unsigned char eth_mac[] = {
-	0x00, 0x13, 0xc6, 0x00, 0x00, 0x00
-};
-
-void ks8695_getmac(void)
-{
-	unsigned char *fp;
-	int i;
-
-	/* Check if flash MAC is valid */
-	fp = (unsigned char *) 0x0201c000;
-	for (i = 0; (i < 6); i++) {
-		if ((fp[i] != 0) && (fp[i] != 0xff))
-			break;
-	}
-
-	/* If we found a valid looking MAC address then use it */
-	if (i < 6)
-		memcpy(&eth_mac[0], fp, 6);
-}
-
-/****************************************************************************/
-
-static int ks8695_eth_init(struct eth_device *dev, bd_t *bd)
-{
-	int i;
-
-	debug ("%s(%d): eth_reset()\n", __FILE__, __LINE__);
-
-	/* Reset the ethernet engines first */
-	ks8695_write(KS8695_LAN_DMA_TX, 0x80000000);
-	ks8695_write(KS8695_LAN_DMA_RX, 0x80000000);
-
-	ks8695_getmac();
-
-	/* Set MAC address */
-	ks8695_write(KS8695_LAN_MAC_LOW, (eth_mac[5] | (eth_mac[4] << 8) |
-		(eth_mac[3] << 16) | (eth_mac[2] << 24)));
-	ks8695_write(KS8695_LAN_MAC_HIGH, (eth_mac[1] | (eth_mac[0] << 8)));
-
-	/* Turn the 4 port switch on */
-	i = ks8695_read(KS8695_SWITCH_CTRL0);
-	ks8695_write(KS8695_SWITCH_CTRL0, (i | 0x1));
-	/* ks8695_write(KS8695_WAN_CONTROL, 0x3f000066); */
-
-	/* Initialize descriptor rings */
-	for (i = 0; (i < TXDESCS); i++) {
-		ks8695_tx[i].owner = 0;
-		ks8695_tx[i].ctrl = 0;
-		ks8695_tx[i].addr = (uint32_t) &ks8695_bufs[i*BUFSIZE];
-		ks8695_tx[i].next = (uint32_t) &ks8695_tx[i+1];
-	}
-	ks8695_tx[TXDESCS-1].ctrl = 0x02000000;
-	ks8695_tx[TXDESCS-1].next = (uint32_t) &ks8695_tx[0];
-
-	for (i = 0; (i < RXDESCS); i++) {
-		ks8695_rx[i].status = 0x80000000;
-		ks8695_rx[i].ctrl = BUFSIZE - 4;
-		ks8695_rx[i].addr = (uint32_t) &ks8695_bufs[(i+TXDESCS)*BUFSIZE];
-		ks8695_rx[i].next = (uint32_t) &ks8695_rx[i+1];
-	}
-	ks8695_rx[RXDESCS-1].ctrl |= 0x00080000;
-	ks8695_rx[RXDESCS-1].next = (uint32_t) &ks8695_rx[0];
-
-	/* The KS8695 is pretty slow reseting the ethernets... */
-	udelay(2000000);
-
-	/* Enable the ethernet engine */
-	ks8695_write(KS8695_LAN_TX_LIST, (uint32_t) &ks8695_tx[0]);
-	ks8695_write(KS8695_LAN_RX_LIST, (uint32_t) &ks8695_rx[0]);
-	ks8695_write(KS8695_LAN_DMA_TX, 0x3);
-	ks8695_write(KS8695_LAN_DMA_RX, 0x71);
-	ks8695_write(KS8695_LAN_DMA_RX_START, 0x1);
-
-	printf("KS8695 ETHERNET: %pM\n", eth_mac);
-	return 0;
-}
-
-/****************************************************************************/
-
-static void ks8695_eth_halt(struct eth_device *dev)
-{
-	debug ("%s(%d): eth_halt()\n", __FILE__, __LINE__);
-
-	/* Reset the ethernet engines */
-	ks8695_write(KS8695_LAN_DMA_TX, 0x80000000);
-	ks8695_write(KS8695_LAN_DMA_RX, 0x80000000);
-}
-
-/****************************************************************************/
-
-static int ks8695_eth_recv(struct eth_device *dev)
-{
-	volatile struct ks8695_rxdesc *dp;
-	int i, len = 0;
-
-	debug ("%s(%d): eth_rx()\n", __FILE__, __LINE__);
-
-	for (i = 0; (i < RXDESCS); i++) {
-		dp= &ks8695_rx[i];
-		if ((dp->status & 0x80000000) == 0) {
-			len = (dp->status & 0x7ff) - 4;
-			NetReceive((void *) dp->addr, len);
-			dp->status = 0x80000000;
-			ks8695_write(KS8695_LAN_DMA_RX_START, 0x1);
-			break;
-		}
-	}
-
-	return len;
-}
-
-/****************************************************************************/
-
-static int ks8695_eth_send(struct eth_device *dev, void *packet, int len)
-{
-	volatile struct ks8695_txdesc *dp;
-	static int next = 0;
-
-	debug ("%s(%d): eth_send(packet=%p,len=%d)\n", __FILE__, __LINE__,
-		packet, len);
-
-	dp = &ks8695_tx[next];
-	memcpy((void *) dp->addr, (void *) packet, len);
-
-	if (len < 64) {
-		memset((void *) (dp->addr + len), 0, 64-len);
-		len = 64;
-	}
-
-	dp->ctrl = len | 0xe0000000;
-	dp->owner = 0x80000000;
-
-	ks8695_write(KS8695_LAN_DMA_TX, 0x3);
-	ks8695_write(KS8695_LAN_DMA_TX_START, 0x1);
-
-	if (++next >= TXDESCS)
-		next = 0;
-
-	return 0;
-}
-
-/****************************************************************************/
-
-int ks8695_eth_initialize(void)
-{
-	struct eth_device *dev;
-
-	dev = malloc(sizeof(*dev));
-	if (dev == NULL)
-		return -1;
-	memset(dev, 0, sizeof(*dev));
-
-	dev->iobase = KS8695_IO_BASE + KS8695_LAN_DMA_TX;
-	dev->init = ks8695_eth_init;
-	dev->halt = ks8695_eth_halt;
-	dev->send = ks8695_eth_send;
-	dev->recv = ks8695_eth_recv;
-	strcpy(dev->name, "ks8695eth");
-
-	eth_register(dev);
-	return 0;
-}
drivers/serial/Makefile +0 -1
index cedf246..78d4f51 100644
@@ -25,7 +25,6 @@ obj-$(CONFIG_OPENCORES_YANU) += opencores_yanu.o
  obj-$(CONFIG_SYS_NS16550) += ns16550.o
  obj-$(CONFIG_S5P) += serial_s5p.o
  obj-$(CONFIG_IMX_SERIAL) += serial_imx.o
-obj-$(CONFIG_KS8695_SERIAL) += serial_ks8695.o
  obj-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
  obj-$(CONFIG_MXC_UART) += serial_mxc.o
  obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
drivers/serial/serial.c +0 -2
index 3210a26..d2f34ad 100644
@@ -127,7 +127,6 @@ serial_initfunc(evb64260_serial_initialize);
  serial_initfunc(imx_serial_initialize);
  serial_initfunc(iop480_serial_initialize);
  serial_initfunc(jz_serial_initialize);
-serial_initfunc(ks8695_serial_initialize);
  serial_initfunc(leon2_serial_initialize);
  serial_initfunc(leon3_serial_initialize);
  serial_initfunc(lh7a40x_serial_initialize);
@@ -219,7 +218,6 @@ void serial_initialize(void)
  	imx_serial_initialize();
  	iop480_serial_initialize();
  	jz_serial_initialize();
-	ks8695_serial_initialize();
  	leon2_serial_initialize();
  	leon3_serial_initialize();
  	lh7a40x_serial_initialize();
drivers/serial/serial_ks8695.c deleted +0 -121
deleted file mode 100644
index 13adabd..0000000
@@ -1,121 +0,0 @@
-/*
- * serial.c -- KS8695 serial driver
- *
- * (C) Copyright 2004, Greg Ungerer <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/arch/platform.h>
-#include <serial.h>
-#include <linux/compiler.h>
-
-#ifndef CONFIG_SERIAL1
-#error "Bad: you didn't configure serial ..."
-#endif
-
-DECLARE_GLOBAL_DATA_PTR;
-
-/*
- *	Define the UART hardware register access structure.
- */
-struct ks8695uart {
-	unsigned int	RX;		/* 0x00	- Receive data (r) */
-	unsigned int	TX;		/* 0x04	- Transmit data (w) */
-	unsigned int	FCR;		/* 0x08	- Fifo Control (r/w) */
-	unsigned int	LCR;		/* 0x0c	- Line Control (r/w) */
-	unsigned int	MCR;		/* 0x10	- Modem Control (r/w) */
-	unsigned int	LSR;		/* 0x14	- Line Status (r/w) */
-	unsigned int	MSR;		/* 0x18	- Modem Status (r/w) */
-	unsigned int	BD;		/* 0x1c	- Baud Rate (r/w) */
-	unsigned int	SR;		/* 0x20	- Status (r/w) */
-};
-
-#define	KS8695_UART_ADDR	((void *) (KS8695_IO_BASE + KS8695_UART_RX_BUFFER))
-#define	KS8695_UART_CLK		25000000
-
-
-/*
- * Under some circumstances we want to be "quiet" and not issue any
- * serial output - though we want u-boot to otherwise work and behave
- * the same. By default be noisy.
- */
-int serial_console = 1;
-
-
-static void ks8695_serial_setbrg(void)
-{
-	volatile struct ks8695uart *uartp = KS8695_UART_ADDR;
-
-	/* Set to global baud rate and 8 data bits, no parity, 1 stop bit*/
-	uartp->BD = KS8695_UART_CLK / gd->baudrate;
-	uartp->LCR = KS8695_UART_LINEC_WLEN8;
-}
-
-static int ks8695_serial_init(void)
-{
-	serial_console = 1;
-	serial_setbrg();
-	return 0;
-}
-
-static void ks8695_serial_raw_putc(const char c)
-{
-	volatile struct ks8695uart *uartp = KS8695_UART_ADDR;
-	int i;
-
-	for (i = 0; (i < 0x100000); i++) {
-		if (uartp->LSR & KS8695_UART_LINES_TXFE)
-			break;
-	}
-
-	uartp->TX = c;
-}
-
-static void ks8695_serial_putc(const char c)
-{
-	if (serial_console) {
-		ks8695_serial_raw_putc(c);
-		if (c == '\n')
-			ks8695_serial_raw_putc('\r');
-	}
-}
-
-static int ks8695_serial_tstc(void)
-{
-	volatile struct ks8695uart *uartp = KS8695_UART_ADDR;
-	if (serial_console)
-		return ((uartp->LSR & KS8695_UART_LINES_RXFE) ? 1 : 0);
-	return 0;
-}
-
-static int ks8695_serial_getc(void)
-{
-	volatile struct ks8695uart *uartp = KS8695_UART_ADDR;
-
-	while ((uartp->LSR & KS8695_UART_LINES_RXFE) == 0)
-		;
-	return (uartp->RX);
-}
-
-static struct serial_device ks8695_serial_drv = {
-	.name	= "ks8695_serial",
-	.start	= ks8695_serial_init,
-	.stop	= NULL,
-	.setbrg	= ks8695_serial_setbrg,
-	.putc	= ks8695_serial_putc,
-	.puts	= default_serial_puts,
-	.getc	= ks8695_serial_getc,
-	.tstc	= ks8695_serial_tstc,
-};
-
-void ks8695_serial_initialize(void)
-{
-	serial_register(&ks8695_serial_drv);
-}
-
-__weak struct serial_device *default_serial_console(void)
-{
-	return &ks8695_serial_drv;
-}
include/configs/cm4008.h deleted +0 -104
deleted file mode 100644
index 1cb54b3..0000000
@@ -1,104 +0,0 @@
-/*
- * (C) Copyright 2004
- * Greg Ungerer <[email protected]>.
- * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*
- * High Level Configuration Options
- * (easy to change)
- */
-#define CONFIG_KS8695	1		/* it is a KS8695 CPU */
-#define CONFIG_CM4008	1		/* it is an OpenGear CM4008 boad */
-
-#define CONFIG_CMDLINE_TAG	 1	/* enable passing of ATAGs	*/
-#define CONFIG_SETUP_MEMORY_TAGS 1
-#define CONFIG_INITRD_TAG	 1
-
-#define CONFIG_DRIVER_KS8695ETH		/* use KS8695 ethernet driver	*/
-
-/*
- * Size of malloc() pool
- */
-#define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128*1024)
-
-/*
- * Hardware drivers
- */
-
-/*
- * select serial console configuration
- */
-#define CONFIG_ENV_IS_NOWHERE
-#define CONFIG_KS8695_SERIAL
-#define	CONFIG_SERIAL1
-#define CONFIG_CONS_INDEX	1
-#define CONFIG_BAUDRATE		115200
-
-/*
- * BOOTP options
- */
-#define CONFIG_BOOTP_BOOTFILESIZE
-#define CONFIG_BOOTP_BOOTPATH
-#define CONFIG_BOOTP_GATEWAY
-#define CONFIG_BOOTP_HOSTNAME
-
-
-/*
- * Command line configuration.
- */
-#include <config_cmd_default.h>
-
-#undef CONFIG_CMD_SAVEENV
-
-
-#define CONFIG_BOOTDELAY	0
-#define CONFIG_BOOTARGS		"mem=16M console=ttyAM0,115200"
-#define CONFIG_BOOTCOMMAND	"gofsk 0x02200000"
-
-/*
- * Miscellaneous configurable options
- */
-#define CONFIG_SYS_LONGHELP				/* undef to save memory		*/
-#define CONFIG_SYS_PROMPT		"boot > "	/* Monitor Command Prompt	*/
-#define CONFIG_SYS_CBSIZE		256		/* Console I/O Buffer Size	*/
-#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) /* Print Buffer Size */
-#define CONFIG_SYS_MAXARGS		16		/* max number of command args	*/
-#define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE	/* Boot Argument Buffer Size	*/
-
-#define CONFIG_SYS_MEMTEST_START	0x00800000	/* memtest works on	*/
-#define CONFIG_SYS_MEMTEST_END		0x01000000	/* 16 MB in DRAM	*/
-
-#define CONFIG_SYS_LOAD_ADDR		0x00008000	/* default load address */
-
-/*-----------------------------------------------------------------------
- * Physical Memory Map
- */
-#define CONFIG_NR_DRAM_BANKS	1	   /* we have 1 bank of DRAM */
-#define PHYS_SDRAM_1		0x00000000 /* SDRAM Bank #1 */
-#define PHYS_SDRAM_1_SIZE	0x01000000 /* 16 MB */
-#define CONFIG_SYS_SDRAM_BASE	PHYS_SDRAM_1
-
-#define CONFIG_SYS_INIT_SP_ADDR	0x00020000 /* lowest 128k of RAM */
-
-#define PHYS_FLASH_1		0x02000000 /* Flash Bank #1 */
-#define PHYS_FLASH_SECT_SIZE    0x00020000 /* 128 KB sectors (x1) */
-#define CONFIG_SYS_FLASH_BASE		PHYS_FLASH_1
-
-/*-----------------------------------------------------------------------
- * FLASH and environment organization
- */
-#define CONFIG_SYS_MAX_FLASH_BANKS	2	/* max number of flash banks */
-#define CONFIG_SYS_MAX_FLASH_SECT	(128)	/* max number of sectors on one chip */
-
-/* timeout values are in ticks */
-#define CONFIG_SYS_FLASH_ERASE_TOUT	(20*CONFIG_SYS_HZ) /* Timeout for Flash Erase */
-#define CONFIG_SYS_FLASH_WRITE_TOUT	(20*CONFIG_SYS_HZ) /* Timeout for Flash Write */
-
-#define CONFIG_ENV_SIZE		0x20000     /* Total Size of Environment */
-
-#endif	/* __CONFIG_H */
include/configs/cm41xx.h deleted +0 -104
deleted file mode 100644
index adebd4b..0000000
@@ -1,104 +0,0 @@
-/*
- * (C) Copyright 2005
- * Greg Ungerer <[email protected]>.
- * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-/*
- * High Level Configuration Options
- * (easy to change)
- */
-#define CONFIG_KS8695	1		/* it is a KS8695 CPU */
-#define CONFIG_CM41xx	1		/* it is an OpenGear CM41xx boad */
-
-#define CONFIG_CMDLINE_TAG	 1	/* enable passing of ATAGs	*/
-#define CONFIG_SETUP_MEMORY_TAGS 1
-#define CONFIG_INITRD_TAG	 1
-
-#define CONFIG_DRIVER_KS8695ETH		/* use KS8695 ethernet driver	*/
-
-/*
- * Size of malloc() pool
- */
-#define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128*1024)
-
-/*
- * Hardware drivers
- */
-
-/*
- * select serial console configuration
- */
-#define CONFIG_ENV_IS_NOWHERE
-#define CONFIG_KS8695_SERIAL
-#define	CONFIG_SERIAL1
-#define CONFIG_CONS_INDEX	1
-#define CONFIG_BAUDRATE		115200
-
-/*
- * BOOTP options
- */
-#define CONFIG_BOOTP_BOOTFILESIZE
-#define CONFIG_BOOTP_BOOTPATH
-#define CONFIG_BOOTP_GATEWAY
-#define CONFIG_BOOTP_HOSTNAME
-
-
-/*
- * Command line configuration.
- */
-#include <config_cmd_default.h>
-
-#undef CONFIG_CMD_SAVEENV
-
-
-#define CONFIG_BOOTDELAY	0
-#define CONFIG_BOOTARGS		"mem=32M console=ttyAM0,115200"
-#define CONFIG_BOOTCOMMAND	"gofsk 0x02200000"
-
-/*
- * Miscellaneous configurable options
- */
-#define CONFIG_SYS_LONGHELP				/* undef to save memory		*/
-#define CONFIG_SYS_PROMPT		"boot > "	/* Monitor Command Prompt	*/
-#define CONFIG_SYS_CBSIZE		256		/* Console I/O Buffer Size	*/
-#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) /* Print Buffer Size */
-#define CONFIG_SYS_MAXARGS		16		/* max number of command args	*/
-#define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE	/* Boot Argument Buffer Size	*/
-
-#define CONFIG_SYS_MEMTEST_START	0x00800000	/* memtest works on	*/
-#define CONFIG_SYS_MEMTEST_END		0x01000000	/* 16 MB in DRAM	*/
-
-#define CONFIG_SYS_LOAD_ADDR		0x00008000	/* default load address */
-
-/*-----------------------------------------------------------------------
- * Physical Memory Map
- */
-#define CONFIG_NR_DRAM_BANKS	1	   /* we have 1 bank of DRAM */
-#define PHYS_SDRAM_1		0x00000000 /* SDRAM Bank #1 */
-#define PHYS_SDRAM_1_SIZE	0x02000000 /* 32 MB */
-#define CONFIG_SYS_SDRAM_BASE	PHYS_SDRAM_1
-
-#define CONFIG_SYS_INIT_SP_ADDR	0x00020000 /* lowest 128k of RAM */
-
-#define PHYS_FLASH_1		0x02000000 /* Flash Bank #1 */
-#define PHYS_FLASH_SECT_SIZE    0x00020000 /* 128 KB sectors (x1) */
-#define CONFIG_SYS_FLASH_BASE		PHYS_FLASH_1
-
-/*-----------------------------------------------------------------------
- * FLASH and environment organization
- */
-#define CONFIG_SYS_MAX_FLASH_BANKS	2	/* max number of flash banks */
-#define CONFIG_SYS_MAX_FLASH_SECT	(128)	/* max number of sectors on one chip */
-
-/* timeout values are in ticks */
-#define CONFIG_SYS_FLASH_ERASE_TOUT	(20*CONFIG_SYS_HZ) /* Timeout for Flash Erase */
-#define CONFIG_SYS_FLASH_WRITE_TOUT	(20*CONFIG_SYS_HZ) /* Timeout for Flash Write */
-
-#define CONFIG_ENV_SIZE		0x20000     /* Total Size of Environment */
-
-#endif	/* __CONFIG_H */
include/netdev.h +0 -1
index daffc12..90140bd 100644
@@ -55,7 +55,6 @@ int ftmac100_initialize(bd_t *bits);
  int ftmac110_initialize(bd_t *bits);
  int greth_initialize(bd_t *bis);
  void gt6426x_eth_initialize(bd_t *bis);
-int ks8695_eth_initialize(void);
  int ks8851_mll_initialize(u8 dev_num, int base_addr);
  int lan91c96_initialize(u8 dev_num, int base_addr);
  int macb_eth_initialize(int id, void *regs, unsigned int phy_addr);
include/serial.h +0 -1
index 42e2cc1..cd48e6f 100644
@@ -182,7 +182,6 @@ void evb64260_serial_initialize(void);
  void imx_serial_initialize(void);
  void iop480_serial_initialize(void);
  void jz_serial_initialize(void);
-void ks8695_serial_initialize(void);
  void leon2_serial_initialize(void);
  void leon3_serial_initialize(void);
  void lh7a40x_serial_initialize(void);
#15 lore raw

PATCH v2 7/10 ARM: remove cm4008 and cm41xx board support

Hi Greg,

Quoted 10 lines · On Tue, 10 Feb 2015 18:12:25 +1000 Greg Ungerer <[email protected]>…

Hi Masahiro,

Quoted 4 lines · Masahiro Yamada

These are still non-generic boards.

I have only seen this one patch, and the message above doesn't really give me much of a clue what the intention is here.

This patch is CCed to you because the MAINTAINERS file says you are the maintainer of one of these boards.

I post the whole series to the ML (u-boot at lists.denx.de).

Given that you could see only this patch,
I assume you are not a subscriber.

You can still check the whole series at the ML archive:

http://lists.denx.de/pipermail/u-boot/2015-February/thread.html

This patch is here because nobody took action to convert these boards to Generic Board.

As Tom Rini announced, we are ripping off non-Generic boards.
http://lists.denx.de/pipermail/u-boot/2015-February/203606.html

Quoted 3 lines

Quite a few of the files you are removing below are not board specific. Many relate to the KS8695 SoC and its peripherals. Are you removing all KS8695 support as well?

Yes.

cm4008 and cm41xx are the last boards of KS8695.
Unused files should be removed based on the policy of U-Boot community.

If you want keep them, you (or someone else) must send a patch.

Best Regards
Masahiro Yamada

#16 lore raw

PATCH v2 7/10 ARM: remove cm4008 and cm41xx board support

In reply to Greg Ungerer

Hi Greg,

Quoted 8 lines · On Tue, 10 Feb 2015 18:12:25 +1000 Greg Ungerer <[email protected]>…

Hi Masahiro,

Quoted 4 lines · Masahiro Yamada

These are still non-generic boards.

Quoted 6 lines

I have only seen this one patch, and the message above doesn't really give me much of a clue what the intention is here.

Quite a few of the files you are removing below are not board specific. Many relate to the KS8695 SoC and its peripherals. Are you removing all KS8695 support as well?

You still have a chance to keep these boards.

If you want to keep them, please support Generic Board for these boards (+ a little test).
(Ajay Bhargav and Vladimir Zapolskiy chose to do so to keep their boards.)

doc/README.generic-board will help you know the background.

If you give up maintaining them, you need not do anything.

It is up to you, of course.

Best Regards
Masahiro Yamada

#17 lore raw

PATCH v2 7/10 ARM: remove cm4008 and cm41xx board support

Hi Masahiro,

Quoted 28 lines · Masahiro Yamada

Hi Greg,

Quoted 8 lines · On Tue, 10 Feb 2015 18:12:25 +1000 Greg Ungerer <[email protected]>…

Hi Masahiro,

Quoted 4 lines · Masahiro Yamada

These are still non-generic boards.

Quoted 6 lines

I have only seen this one patch, and the message above doesn't really give me much of a clue what the intention is here.

Quite a few of the files you are removing below are not board specific. Many relate to the KS8695 SoC and its peripherals. Are you removing all KS8695 support as well?

You still have a chance to keep these boards.

If you want to keep them, please support Generic Board for these boards (+ a little test).
(Ajay Bhargav and Vladimir Zapolskiy chose to do so to keep their boards.)

Quoted 5 lines

doc/README.generic-board will help you know the background.

If you give up maintaining them, you need not do anything.

It is up to you, of course.

I don't intend doing any work on them, so I don't have an objection.

My only suggestion would be to include the details from your last response in the commit log message.

Regards
Greg

#18 lore raw

PATCH v2 8/10 ARM: remove a320evb board support

In reply to Masahiro Yamada

This is still a non-generic board.

---

Changes in v2: None

 arch/arm/Kconfig                      |   5 -
 arch/arm/cpu/arm920t/Makefile         |   1 -
 arch/arm/cpu/arm920t/a320/Makefile    |   9 --
 arch/arm/cpu/arm920t/a320/reset.S     |  10 --
 arch/arm/cpu/arm920t/a320/timer.c     | 118 -------------------
 arch/arm/include/asm/arch-a320/a320.h |  22 ----
 board/faraday/a320evb/Kconfig         |  15 ---
 board/faraday/a320evb/MAINTAINERS     |   6 -
 board/faraday/a320evb/Makefile        |   9 --
 board/faraday/a320evb/a320evb.c       |  59 ----------
 board/faraday/a320evb/lowlevel_init.S | 106 -----------------
 configs/a320evb_defconfig             |   2 -
 doc/README.scrapyard                  |   1 +
 include/configs/a320evb.h             | 211 ----------------------------------
 14 files changed, 1 insertion(+), 573 deletions(-)
 delete mode 100644 arch/arm/cpu/arm920t/a320/Makefile
 delete mode 100644 arch/arm/cpu/arm920t/a320/reset.S
 delete mode 100644 arch/arm/cpu/arm920t/a320/timer.c
 delete mode 100644 arch/arm/include/asm/arch-a320/a320.h
 delete mode 100644 board/faraday/a320evb/Kconfig
 delete mode 100644 board/faraday/a320evb/MAINTAINERS
 delete mode 100644 board/faraday/a320evb/Makefile
 delete mode 100644 board/faraday/a320evb/a320evb.c
 delete mode 100644 board/faraday/a320evb/lowlevel_init.S
 delete mode 100644 configs/a320evb_defconfig
 delete mode 100644 include/configs/a320evb.h
arch/arm/Kconfig +0 -5
index d6bb5c3..3ec570b 100644
@@ -73,10 +73,6 @@ config TARGET_INTEGRATORCP_CM920T
 	bool "Support integratorcp_cm920t"
 	select CPU_ARM920T
 
-config TARGET_A320EVB
-	bool "Support a320evb"
-	select CPU_ARM920T
-
 config TARGET_AT91RM9200EK
 	bool "Support at91rm9200ek"
 	select CPU_ARM920T
@@ -877,7 +873,6 @@ source "board/esd/otc570/Kconfig"
 source "board/esg/ima3-mx53/Kconfig"
 source "board/eukrea/cpu9260/Kconfig"
 source "board/eukrea/cpuat91/Kconfig"
-source "board/faraday/a320evb/Kconfig"
 source "board/freescale/ls2085a/Kconfig"
 source "board/freescale/ls1021aqds/Kconfig"
 source "board/freescale/ls1021atwr/Kconfig"
arch/arm/cpu/arm920t/Makefile +0 -1
index a30a572..b07e13a 100644
@@ -10,7 +10,6 @@ extra-y	= start.o
 obj-y	+= cpu.o
 obj-$(CONFIG_USE_IRQ)	+= interrupts.o
 
-obj-$(if $(filter a320,$(SOC)),y) += a320/
 obj-$(CONFIG_AT91FAMILY) += at91/
 obj-$(CONFIG_EP93XX) += ep93xx/
 obj-$(CONFIG_IMX) += imx/
arch/arm/cpu/arm920t/a320/Makefile deleted +0 -9
deleted file mode 100644
index bbdab58..0000000
@@ -1,9 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	+= reset.o
-obj-y	+= timer.o
arch/arm/cpu/arm920t/a320/reset.S deleted +0 -10
deleted file mode 100644
index 81f9dc9..0000000
@@ -1,10 +0,0 @@
-/*
- * (C) Copyright 2009 Faraday Technology
- * Po-Yu Chuang <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-.global reset_cpu
-reset_cpu:
-	b	reset_cpu
arch/arm/cpu/arm920t/a320/timer.c deleted +0 -118

118 lines not on this page · raw message

arch/arm/include/asm/arch-a320/a320.h deleted +0 -22
deleted file mode 100644
index f2db8e1..0000000
@@ -1,22 +0,0 @@
-/*
- * (C) Copyright 2009 Faraday Technology
- * Po-Yu Chuang <[email protected]>
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#ifndef __A320_H
-#define __A320_H
-
-/*
- * Hardware register bases
- */
-#define CONFIG_FTSMC020_BASE	0x90200000	/* Static Memory Controller */
-#define CONFIG_DEBUG_LED	0x902ffffc	/* Debug LED */
-#define CONFIG_FTSDMC020_BASE	0x90300000	/* SDRAM Controller */
-#define CONFIG_FTMAC100_BASE	0x90900000	/* Ethernet */
-#define CONFIG_FTPMU010_BASE	0x98100000	/* Power Management Unit */
-#define CONFIG_FTTMR010_BASE	0x98400000	/* Timer */
-#define CONFIG_FTRTC010_BASE	0x98600000	/* Real Time Clock*/
-
-#endif	/* __A320_H */
board/faraday/a320evb/Kconfig deleted +0 -15
deleted file mode 100644
index 02c42cb..0000000
@@ -1,15 +0,0 @@
-if TARGET_A320EVB
-
-config SYS_BOARD
-	default "a320evb"
-
-config SYS_VENDOR
-	default "faraday"
-
-config SYS_SOC
-	default "a320"
-
-config SYS_CONFIG_NAME
-	default "a320evb"
-
-endif
board/faraday/a320evb/MAINTAINERS deleted +0 -6
deleted file mode 100644
index f13b015..0000000
@@ -1,6 +0,0 @@
-A320EVB BOARD
-M:	Po-Yu Chuang <[email protected]>
-S:	Maintained
-F:	board/faraday/a320evb/
-F:	include/configs/a320evb.h
-F:	configs/a320evb_defconfig
board/faraday/a320evb/Makefile deleted +0 -9
deleted file mode 100644
index 518ce3f..0000000
@@ -1,9 +0,0 @@
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	:= a320evb.o
-obj-y	+= lowlevel_init.o
board/faraday/a320evb/a320evb.c deleted +0 -59

59 lines not on this page · raw message

board/faraday/a320evb/lowlevel_init.S deleted +0 -106

106 lines not on this page · raw message

configs/a320evb_defconfig deleted +0 -2
deleted file mode 100644
index 5ebf5e6..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_A320EVB=y
doc/README.scrapyard +1 -0
index a42b0e1..d78dc93 100644
@@ -12,6 +12,7 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+a320evb          arm         arm920t        -           -           Po-Yu Chuang <[email protected]>
 cm4008           arm         arm920t        -           -           Greg Ungerer <[email protected]>
 cm41xx           arm         arm920t        -           -
 dkb              arm         arm926ejs      -           -           Lei Wen <[email protected]>
include/configs/a320evb.h deleted +0 -211

211 lines not on this page · raw message

Signature · 1 line
1.9.1
#19 lore raw

PATCH v2 9/10 ARM: remove tnetv107x board support

In reply to Masahiro Yamada

This is still a non-generic board.

---

Changes in v2: None

 arch/arm/Kconfig                               |   5 -
 arch/arm/cpu/arm1176/Makefile                  |   1 -
 arch/arm/cpu/arm1176/start.S                   |  22 --
 arch/arm/cpu/arm1176/tnetv107x/Makefile        |   6 -
 arch/arm/cpu/arm1176/tnetv107x/aemif.c         |  78 -----
 arch/arm/cpu/arm1176/tnetv107x/clock.c         | 432 -------------------------
 arch/arm/cpu/arm1176/tnetv107x/init.c          |  22 --
 arch/arm/cpu/arm1176/tnetv107x/lowlevel_init.S |  10 -
 arch/arm/cpu/arm1176/tnetv107x/mux.c           | 319 ------------------
 arch/arm/cpu/arm1176/tnetv107x/timer.c         |  93 ------
 arch/arm/include/asm/arch-tnetv107x/clock.h    |  53 ---
 arch/arm/include/asm/arch-tnetv107x/hardware.h | 160 ---------
 arch/arm/include/asm/arch-tnetv107x/mux.h      | 291 -----------------
 board/ti/tnetv107xevm/Kconfig                  |  15 -
 board/ti/tnetv107xevm/MAINTAINERS              |   6 -
 board/ti/tnetv107xevm/Makefile                 |   5 -
 board/ti/tnetv107xevm/config.mk                |   5 -
 board/ti/tnetv107xevm/sdb_board.c              | 134 --------
 configs/tnetv107x_evm_defconfig                |   2 -
 doc/README.scrapyard                           |   1 +
 drivers/watchdog/Makefile                      |   1 -
 drivers/watchdog/tnetv107x_wdt.c               | 165 ----------
 include/configs/tnetv107x_evm.h                | 139 --------
 23 files changed, 1 insertion(+), 1964 deletions(-)
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/Makefile
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/aemif.c
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/clock.c
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/init.c
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/lowlevel_init.S
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/mux.c
 delete mode 100644 arch/arm/cpu/arm1176/tnetv107x/timer.c
 delete mode 100644 arch/arm/include/asm/arch-tnetv107x/clock.h
 delete mode 100644 arch/arm/include/asm/arch-tnetv107x/hardware.h
 delete mode 100644 arch/arm/include/asm/arch-tnetv107x/mux.h
 delete mode 100644 board/ti/tnetv107xevm/Kconfig
 delete mode 100644 board/ti/tnetv107xevm/MAINTAINERS
 delete mode 100644 board/ti/tnetv107xevm/Makefile
 delete mode 100644 board/ti/tnetv107xevm/config.mk
 delete mode 100644 board/ti/tnetv107xevm/sdb_board.c
 delete mode 100644 configs/tnetv107x_evm_defconfig
 delete mode 100644 drivers/watchdog/tnetv107x_wdt.c
 delete mode 100644 include/configs/tnetv107x_evm.h
arch/arm/Kconfig +0 -5
index 3ec570b..946ce5d 100644
@@ -375,10 +375,6 @@ config TARGET_RPI
 	bool "Support rpi"
 	select CPU_ARM1176
 
-config TARGET_TNETV107X_EVM
-	bool "Support tnetv107x_evm"
-	select CPU_ARM1176
-
 config TARGET_INTEGRATORAP_CM946ES
 	bool "Support integratorap_cm946es"
 	select CPU_ARM946ES
@@ -943,7 +939,6 @@ source "board/ti/am335x/Kconfig"
 source "board/ti/am43xx/Kconfig"
 source "board/ti/ti814x/Kconfig"
 source "board/ti/ti816x/Kconfig"
-source "board/ti/tnetv107xevm/Kconfig"
 source "board/toradex/colibri_pxa270/Kconfig"
 source "board/tqc/tqma6/Kconfig"
 source "board/trizepsiv/Kconfig"
arch/arm/cpu/arm1176/Makefile +0 -1
index ead2303..480e130 100644
@@ -12,4 +12,3 @@ extra-y	= start.o
 obj-y	= cpu.o
 
 obj-$(CONFIG_BCM2835) += bcm2835/
-obj-$(CONFIG_TNETV107X) += tnetv107x/
arch/arm/cpu/arm1176/start.S +0 -22
index 0704bdd..ac937bf 100644
@@ -96,28 +96,6 @@ mmu_disable:
 	mov	pc, r2
 mmu_disable_phys:
 
-#ifdef CONFIG_DISABLE_TCM
-	/*
-	 * Disable the TCMs
-	 */
-	mrc	p15, 0, r0, c0, c0, 2	/* Return TCM details */
-	cmp	r0, #0
-	beq	skip_tcmdisable
-	mov	r1, #0
-	mov	r2, #1
-	tst	r0, r2
-	mcrne	p15, 0, r1, c9, c1, 1	/* Disable Instruction TCM if present*/
-	tst	r0, r2, LSL #16
-	mcrne	p15, 0, r1, c9, c1, 0	/* Disable Data TCM if present*/
-skip_tcmdisable:
-#endif
-#endif
-
-#ifdef CONFIG_PERIPORT_REMAP
-	/* Peri port setup */
-	ldr	r0, =CONFIG_PERIPORT_BASE
-	orr	r0, r0, #CONFIG_PERIPORT_SIZE
-	mcr	p15,0,r0,c15,c2,4
 #endif
 
 	/*
arch/arm/cpu/arm1176/tnetv107x/Makefile deleted +0 -6
deleted file mode 100644
index a4c1edf..0000000
@@ -1,6 +0,0 @@
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y	+= aemif.o clock.o init.o mux.o timer.o
-obj-y	+= lowlevel_init.o
arch/arm/cpu/arm1176/tnetv107x/aemif.c deleted +0 -78

78 lines not on this page · raw message

arch/arm/cpu/arm1176/tnetv107x/clock.c deleted +0 -432

432 lines not on this page · raw message

arch/arm/cpu/arm1176/tnetv107x/init.c deleted +0 -22
deleted file mode 100644
index d870826..0000000
@@ -1,22 +0,0 @@
-/*
- * TNETV107X: Architecture initialization
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-#include <common.h>
-#include <asm/io.h>
-
-void chip_configuration_unlock(void)
-{
-       __raw_writel(TNETV107X_KICK0_MAGIC, TNETV107X_KICK0);
-       __raw_writel(TNETV107X_KICK1_MAGIC, TNETV107X_KICK1);
-}
-
-int arch_cpu_init(void)
-{
-       icache_enable();
-       chip_configuration_unlock();
-
-       return 0;
-}
arch/arm/cpu/arm1176/tnetv107x/lowlevel_init.S deleted +0 -10
deleted file mode 100644
index a8bce47..0000000
@@ -1,10 +0,0 @@
-/*
- * TNETV107X: Low-level pre-relocation initialization
- *
- * SPDX-License-Identifier:	GPL-2.0+
- */
-
-.globl lowlevel_init
-lowlevel_init:
-	/* nothing for now, maybe needed for more exotic boot modes */
-	mov	pc, lr
arch/arm/cpu/arm1176/tnetv107x/mux.c deleted +0 -319

319 lines not on this page · raw message

arch/arm/cpu/arm1176/tnetv107x/timer.c deleted +0 -93

93 lines not on this page · raw message

arch/arm/include/asm/arch-tnetv107x/clock.h deleted +0 -53

53 lines not on this page · raw message

arch/arm/include/asm/arch-tnetv107x/hardware.h deleted +0 -160

160 lines not on this page · raw message

arch/arm/include/asm/arch-tnetv107x/mux.h deleted +0 -291

291 lines not on this page · raw message

board/ti/tnetv107xevm/Kconfig deleted +0 -15
deleted file mode 100644
index 637f20e..0000000
@@ -1,15 +0,0 @@
-if TARGET_TNETV107X_EVM
-
-config SYS_BOARD
-	default "tnetv107xevm"
-
-config SYS_VENDOR
-	default "ti"
-
-config SYS_SOC
-	default "tnetv107x"
-
-config SYS_CONFIG_NAME
-	default "tnetv107x_evm"
-
-endif
board/ti/tnetv107xevm/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 8a92c6b..0000000
@@ -1,6 +0,0 @@
-TNETV107XEVM BOARD
-#M:	Chan-Taek Park <[email protected]>
-S:	Orphan (since 2014-06)
-F:	board/ti/tnetv107xevm/
-F:	include/configs/tnetv107x_evm.h
-F:	configs/tnetv107x_evm_defconfig
board/ti/tnetv107xevm/Makefile deleted +0 -5
deleted file mode 100644
index 0a6128f..0000000
@@ -1,5 +0,0 @@
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-obj-y		+= sdb_board.o
board/ti/tnetv107xevm/config.mk deleted +0 -5
deleted file mode 100644
index 51c2886..0000000
@@ -1,5 +0,0 @@
-#
-# SPDX-License-Identifier:	GPL-2.0+
-#
-
-CONFIG_SYS_TEXT_BASE = 0x83FC0000
board/ti/tnetv107xevm/sdb_board.c deleted +0 -134

134 lines not on this page · raw message

configs/tnetv107x_evm_defconfig deleted +0 -2
deleted file mode 100644
index b0915d2..0000000
@@ -1,2 +0,0 @@
-CONFIG_ARM=y
-CONFIG_TARGET_TNETV107X_EVM=y
doc/README.scrapyard +1 -0
index d78dc93..e99aede 100644
@@ -12,6 +12,7 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+tnetv107x        arm         arm1176        -           -           Chan-Taek Park <[email protected]>
 a320evb          arm         arm920t        -           -           Po-Yu Chuang <[email protected]>
 cm4008           arm         arm920t        -           -           Greg Ungerer <[email protected]>
 cm41xx           arm         arm920t        -           -
drivers/watchdog/Makefile +0 -1
index 1dc0f5a..482a4bd 100644
@@ -10,7 +10,6 @@ obj-$(CONFIG_FTWDT010_WATCHDOG) += ftwdt010_wdt.o
 ifneq (,$(filter $(SOC), mx31 mx35 mx5 mx6 vf610 ls102xa))
 obj-y += imx_watchdog.o
 endif
-obj-$(CONFIG_TNETV107X_WATCHDOG) += tnetv107x_wdt.o
 obj-$(CONFIG_S5P)               += s5p_wdt.o
 obj-$(CONFIG_XILINX_TB_WATCHDOG) += xilinx_tb_wdt.o
 obj-$(CONFIG_BFIN_WATCHDOG)  += bfin_wdt.o
drivers/watchdog/tnetv107x_wdt.c deleted +0 -165

165 lines not on this page · raw message

include/configs/tnetv107x_evm.h deleted +0 -139

139 lines not on this page · raw message

Signature · 1 line
1.9.1
#20 lore raw

PATCH v2 10/10 ARM: davinci: remove hawkboard support

In reply to Masahiro Yamada

This is still a non-generic board.

Cc Syed Mohammed Khasim <[email protected]>
Cc Sughosh Ganu <[email protected]>

---

Changes in v2: None

 arch/arm/cpu/arm926ejs/davinci/Kconfig        |   4 -
 board/davinci/da8xxevm/Kconfig                |  13 --
 board/davinci/da8xxevm/MAINTAINERS            |   8 -
 board/davinci/da8xxevm/Makefile               |   1 -
 board/davinci/da8xxevm/README.hawkboard       |  92 -----------
 board/davinci/da8xxevm/hawkboard-ais-nand.cfg |   4 -
 board/davinci/da8xxevm/hawkboard.c            | 120 --------------
 board/davinci/da8xxevm/u-boot-spl-hawk.lds    |  69 --------
 configs/hawkboard_defconfig                   |   4 -
 configs/hawkboard_uart_defconfig              |   5 -
 doc/README.scrapyard                          |   1 +
 include/configs/hawkboard.h                   | 220 --------------------------
 12 files changed, 1 insertion(+), 540 deletions(-)
 delete mode 100644 board/davinci/da8xxevm/README.hawkboard
 delete mode 100644 board/davinci/da8xxevm/hawkboard-ais-nand.cfg
 delete mode 100644 board/davinci/da8xxevm/hawkboard.c
 delete mode 100644 board/davinci/da8xxevm/u-boot-spl-hawk.lds
 delete mode 100644 configs/hawkboard_defconfig
 delete mode 100644 configs/hawkboard_uart_defconfig
 delete mode 100644 include/configs/hawkboard.h
arch/arm/cpu/arm926ejs/davinci/Kconfig +0 -4
index 613f04d..6827721 100644
@@ -21,10 +21,6 @@ config TARGET_CAM_ENC_4XX
 	bool "CAM ENC 4xx board"
 	select SUPPORT_SPL
 
-config TARGET_HAWKBOARD
-	bool "Hawkboard"
-	select SUPPORT_SPL
-
 config TARGET_DAVINCI_DM355EVM
 	bool "DM355 EVM board"
 
board/davinci/da8xxevm/Kconfig +0 -13
index 1a841ce..1108e4b 100644
@@ -23,16 +23,3 @@ config SYS_CONFIG_NAME
 	default "da850evm"
 
 endif
-
-if TARGET_HAWKBOARD
-
-config SYS_BOARD
-	default "da8xxevm"
-
-config SYS_VENDOR
-	default "davinci"
-
-config SYS_CONFIG_NAME
-	default "hawkboard"
-
-endif
board/davinci/da8xxevm/MAINTAINERS +0 -8
index dd66f07..10c4e2f 100644
@@ -12,11 +12,3 @@ F:	include/configs/da850evm.h
 F:	configs/da850_am18xxevm_defconfig
 F:	configs/da850evm_defconfig
 F:	configs/da850evm_direct_nor_defconfig
-
-HAWKBOARD BOARD
-M:	Syed Mohammed Khasim <[email protected]>
-M:	Sughosh Ganu <[email protected]>
-S:	Maintained
-F:	include/configs/hawkboard.h
-F:	configs/hawkboard_defconfig
-F:	configs/hawkboard_uart_defconfig
board/davinci/da8xxevm/Makefile +0 -1
index d3acacc..4da509b 100644
@@ -9,4 +9,3 @@
 
 obj-$(CONFIG_MACH_DAVINCI_DA830_EVM)	+= da830evm.o
 obj-$(CONFIG_MACH_DAVINCI_DA850_EVM)	+= da850evm.o
-obj-$(CONFIG_MACH_DAVINCI_HAWK)		+= hawkboard.o
board/davinci/da8xxevm/README.hawkboard deleted +0 -92

92 lines not on this page · raw message

board/davinci/da8xxevm/hawkboard-ais-nand.cfg deleted +0 -4
deleted file mode 100644
index 2b12b6c..0000000
@@ -1,4 +0,0 @@
-#	PLL0CFG0	PLL0CFG1
-PLL0	0x00180001	0x00000205
-#	PLL1CFG0	PLL1CFG1	DRPYC1R		SDCR		SDTIMR1		SDTIMR2		SDRCR		CLK2XSRC
-DDR2	0x15010001	0x00000002	0x00000043	0x00134632	0x26492a09	0x7d13c722	0x00000249	0x00000000
board/davinci/da8xxevm/hawkboard.c deleted +0 -120

120 lines not on this page · raw message

board/davinci/da8xxevm/u-boot-spl-hawk.lds deleted +0 -69

69 lines not on this page · raw message

configs/hawkboard_defconfig deleted +0 -4
deleted file mode 100644
index 4084f9c..0000000
@@ -1,4 +0,0 @@
-CONFIG_SPL=y
-+S:CONFIG_ARM=y
-+S:CONFIG_ARCH_DAVINCI=y
-+S:CONFIG_TARGET_HAWKBOARD=y
configs/hawkboard_uart_defconfig deleted +0 -5
deleted file mode 100644
index d7eeae7..0000000
@@ -1,5 +0,0 @@
-CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="UART_U_BOOT"
-+S:CONFIG_ARM=y
-+S:CONFIG_ARCH_DAVINCI=y
-+S:CONFIG_TARGET_HAWKBOARD=y
doc/README.scrapyard +1 -0
index e99aede..cd6d1da 100644
@@ -12,6 +12,7 @@ The list should be sorted in reverse chronological order.
 
 Board            Arch        CPU            Commit      Removed     Last known maintainer/contact
 =================================================================================================
+hawkboard        arm         arm926ejs      -           -           Syed Mohammed Khasim <[email protected]>:Sughosh Ganu <[email protected]>
 tnetv107x        arm         arm1176        -           -           Chan-Taek Park <[email protected]>
 a320evb          arm         arm920t        -           -           Po-Yu Chuang <[email protected]>
 cm4008           arm         arm920t        -           -           Greg Ungerer <[email protected]>
include/configs/hawkboard.h deleted +0 -220

220 lines not on this page · raw message

Signature · 1 line
1.9.1
#22 lore raw

v2 cover ARM: remove non-generic boards

In reply to Masahiro Yamada

Hello Masahiro,

Quoted 11 lines · Masahiro Yamada

Based on Tom's announce mail
(http://lists.denx.de/pipermail/u-boot/2015-February/203606.html),
let's start removing non-generic ARM boards.

No conversion patches have been posted for these boards.

Changes in v2:
- Do not remove armada100 boards because Ajay will send a patch to convert them.

sorry, I was out of the loop for a while, based on doc/README.generic-board info, I promise to port devkit3250 to generic board shortly, I'll send the patches this week.

With best wishes,
Vladimir

Quoted 11 lines

Masahiro Yamada (10):
ARM: remove mx31ads board support
ARM: mx31: remove imx31_phycore board
ARM: remove jadecpu board support
ARM: remove zmx25 board support
ARM: remove devkit3250 board support
ARM: remove dkb board support
ARM: remove cm4008 and cm41xx board support
ARM: remove a320evb board support
ARM: remove tnetv107x board support
ARM: davinci: remove hawkboard support