Re: [PATCH 10/25] arm: Remove mx35pdk board

2021-02-15 Thread Tom Rini
On Tue, Feb 09, 2021 at 08:03:02AM -0500, Tom Rini wrote:

> This board has not been converted to CONFIG_DM_MMC by the deadline of
> v2019.04, which is almost two years ago.  In addition there are other DM
> migrations it is also missing.  Remove it.
> 
> Cc: Stefano Babic 
> Signed-off-by: Tom Rini 
> Acked-by: Stefano Babic 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [PATCH 10/25] arm: Remove mx35pdk board

2021-02-09 Thread Stefano Babic
On 09.02.21 14:03, Tom Rini wrote:
> This board has not been converted to CONFIG_DM_MMC by the deadline of
> v2019.04, which is almost two years ago.  In addition there are other DM
> migrations it is also missing.  Remove it.

This is a very old board, I am fine to remove it.

Acked-by: Stefano Babic 

Best regards,
Stefano

> 
> Cc: Stefano Babic 
> Signed-off-by: Tom Rini 
> ---
>  arch/arm/Kconfig|   6 -
>  board/freescale/mx35pdk/Kconfig |  15 --
>  board/freescale/mx35pdk/MAINTAINERS |   6 -
>  board/freescale/mx35pdk/Makefile|   8 -
>  board/freescale/mx35pdk/README  | 114 -
>  board/freescale/mx35pdk/lowlevel_init.S | 239 ---
>  board/freescale/mx35pdk/mx35pdk.c   | 293 
>  board/freescale/mx35pdk/mx35pdk.h   |  41 
>  configs/mx35pdk_defconfig   |  54 -
>  drivers/serial/Kconfig  |   2 +-
>  include/configs/mx35pdk.h   | 206 -
>  11 files changed, 1 insertion(+), 983 deletions(-)
>  delete mode 100644 board/freescale/mx35pdk/Kconfig
>  delete mode 100644 board/freescale/mx35pdk/MAINTAINERS
>  delete mode 100644 board/freescale/mx35pdk/Makefile
>  delete mode 100644 board/freescale/mx35pdk/README
>  delete mode 100644 board/freescale/mx35pdk/lowlevel_init.S
>  delete mode 100644 board/freescale/mx35pdk/mx35pdk.c
>  delete mode 100644 board/freescale/mx35pdk/mx35pdk.h
>  delete mode 100644 configs/mx35pdk_defconfig
>  delete mode 100644 include/configs/mx35pdk.h
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index f2a87c3caed8..9969da161e9c 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -621,11 +621,6 @@ config TARGET_FLEA3
>   bool "Support flea3"
>   select CPU_ARM1136
>  
> -config TARGET_MX35PDK
> - bool "Support mx35pdk"
> - select BOARD_LATE_INIT
> - select CPU_ARM1136
> -
>  config ARCH_BCM283X
>   bool "Broadcom BCM283X family"
>   select DM
> @@ -2009,7 +2004,6 @@ source "board/freescale/ls1012aqds/Kconfig"
>  source "board/freescale/ls1012ardb/Kconfig"
>  source "board/freescale/ls1012afrdm/Kconfig"
>  source "board/freescale/lx2160a/Kconfig"
> -source "board/freescale/mx35pdk/Kconfig"
>  source "board/freescale/s32v234evb/Kconfig"
>  source "board/grinn/chiliboard/Kconfig"
>  source "board/hisilicon/hikey/Kconfig"
> diff --git a/board/freescale/mx35pdk/Kconfig b/board/freescale/mx35pdk/Kconfig
> deleted file mode 100644
> index 021d19e5511c..
> --- a/board/freescale/mx35pdk/Kconfig
> +++ /dev/null
> @@ -1,15 +0,0 @@
> -if TARGET_MX35PDK
> -
> -config SYS_BOARD
> - default "mx35pdk"
> -
> -config SYS_VENDOR
> - default "freescale"
> -
> -config SYS_SOC
> - default "mx35"
> -
> -config SYS_CONFIG_NAME
> - default "mx35pdk"
> -
> -endif
> diff --git a/board/freescale/mx35pdk/MAINTAINERS 
> b/board/freescale/mx35pdk/MAINTAINERS
> deleted file mode 100644
> index 540e9436912b..
> --- a/board/freescale/mx35pdk/MAINTAINERS
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -MX35PDK BOARD
> -M:   Stefano Babic 
> -S:   Maintained
> -F:   board/freescale/mx35pdk/
> -F:   include/configs/mx35pdk.h
> -F:   configs/mx35pdk_defconfig
> diff --git a/board/freescale/mx35pdk/Makefile 
> b/board/freescale/mx35pdk/Makefile
> deleted file mode 100644
> index 6a60fad0cc8d..
> --- a/board/freescale/mx35pdk/Makefile
> +++ /dev/null
> @@ -1,8 +0,0 @@
> -# SPDX-License-Identifier: GPL-2.0+
> -#
> -# Copyright (C) 2007, Guennadi Liakhovetski 
> -#
> -# (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
> -
> -obj-y:= mx35pdk.o
> -obj-y+= lowlevel_init.o
> diff --git a/board/freescale/mx35pdk/README b/board/freescale/mx35pdk/README
> deleted file mode 100644
> index 6f6841f0993b..
> --- a/board/freescale/mx35pdk/README
> +++ /dev/null
> @@ -1,114 +0,0 @@
> -Overview
> ---
> -
> -mx35pdk (known als as mx35_3stack) is a development board by Freescale.
> -It consists of three pluggable board:
> - - CPU module, with CPU, RAM, flash
> - - Personality board, with most interfaces (USB, Network,..)
> - - Debug board with JTAG header.
> -
> -The board is usually delivered with redboot. This howto explains how to boot
> -a linux kernel and how to replace the original bootloader with U-Boot.
> -
> -The board is delivered with Redboot on the NAND flash. It is possible to
> -switch the boot device with the switches SW1-SW2 on the Personality board,
> -and with SW5-SW10 on the Debug board.
> -
> -Delivered Redboot script to start the kernel
> 
> -
> -In redboot the following script is stored:
> -
> -fis load kernel
> -exec -c "noinitrd console=ttymxc0,115200 root=/dev/mtdblock8 rw 
> rootfstype=jffs2 ip=dhcp fec_mac=00:04:9F:00:E7:76"
> -
> -Kernel is taken from flash. The image is in zImage format.
> -
> -Booting from NET, rootfs on NFS:
> 

[PATCH 10/25] arm: Remove mx35pdk board

2021-02-09 Thread Tom Rini
This board has not been converted to CONFIG_DM_MMC by the deadline of
v2019.04, which is almost two years ago.  In addition there are other DM
migrations it is also missing.  Remove it.

Cc: Stefano Babic 
Signed-off-by: Tom Rini 
---
 arch/arm/Kconfig|   6 -
 board/freescale/mx35pdk/Kconfig |  15 --
 board/freescale/mx35pdk/MAINTAINERS |   6 -
 board/freescale/mx35pdk/Makefile|   8 -
 board/freescale/mx35pdk/README  | 114 -
 board/freescale/mx35pdk/lowlevel_init.S | 239 ---
 board/freescale/mx35pdk/mx35pdk.c   | 293 
 board/freescale/mx35pdk/mx35pdk.h   |  41 
 configs/mx35pdk_defconfig   |  54 -
 drivers/serial/Kconfig  |   2 +-
 include/configs/mx35pdk.h   | 206 -
 11 files changed, 1 insertion(+), 983 deletions(-)
 delete mode 100644 board/freescale/mx35pdk/Kconfig
 delete mode 100644 board/freescale/mx35pdk/MAINTAINERS
 delete mode 100644 board/freescale/mx35pdk/Makefile
 delete mode 100644 board/freescale/mx35pdk/README
 delete mode 100644 board/freescale/mx35pdk/lowlevel_init.S
 delete mode 100644 board/freescale/mx35pdk/mx35pdk.c
 delete mode 100644 board/freescale/mx35pdk/mx35pdk.h
 delete mode 100644 configs/mx35pdk_defconfig
 delete mode 100644 include/configs/mx35pdk.h

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f2a87c3caed8..9969da161e9c 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -621,11 +621,6 @@ config TARGET_FLEA3
bool "Support flea3"
select CPU_ARM1136
 
-config TARGET_MX35PDK
-   bool "Support mx35pdk"
-   select BOARD_LATE_INIT
-   select CPU_ARM1136
-
 config ARCH_BCM283X
bool "Broadcom BCM283X family"
select DM
@@ -2009,7 +2004,6 @@ source "board/freescale/ls1012aqds/Kconfig"
 source "board/freescale/ls1012ardb/Kconfig"
 source "board/freescale/ls1012afrdm/Kconfig"
 source "board/freescale/lx2160a/Kconfig"
-source "board/freescale/mx35pdk/Kconfig"
 source "board/freescale/s32v234evb/Kconfig"
 source "board/grinn/chiliboard/Kconfig"
 source "board/hisilicon/hikey/Kconfig"
diff --git a/board/freescale/mx35pdk/Kconfig b/board/freescale/mx35pdk/Kconfig
deleted file mode 100644
index 021d19e5511c..
--- a/board/freescale/mx35pdk/Kconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-if TARGET_MX35PDK
-
-config SYS_BOARD
-   default "mx35pdk"
-
-config SYS_VENDOR
-   default "freescale"
-
-config SYS_SOC
-   default "mx35"
-
-config SYS_CONFIG_NAME
-   default "mx35pdk"
-
-endif
diff --git a/board/freescale/mx35pdk/MAINTAINERS 
b/board/freescale/mx35pdk/MAINTAINERS
deleted file mode 100644
index 540e9436912b..
--- a/board/freescale/mx35pdk/MAINTAINERS
+++ /dev/null
@@ -1,6 +0,0 @@
-MX35PDK BOARD
-M: Stefano Babic 
-S: Maintained
-F: board/freescale/mx35pdk/
-F: include/configs/mx35pdk.h
-F: configs/mx35pdk_defconfig
diff --git a/board/freescale/mx35pdk/Makefile b/board/freescale/mx35pdk/Makefile
deleted file mode 100644
index 6a60fad0cc8d..
--- a/board/freescale/mx35pdk/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) 2007, Guennadi Liakhovetski 
-#
-# (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
-
-obj-y  := mx35pdk.o
-obj-y  += lowlevel_init.o
diff --git a/board/freescale/mx35pdk/README b/board/freescale/mx35pdk/README
deleted file mode 100644
index 6f6841f0993b..
--- a/board/freescale/mx35pdk/README
+++ /dev/null
@@ -1,114 +0,0 @@
-Overview
---
-
-mx35pdk (known als as mx35_3stack) is a development board by Freescale.
-It consists of three pluggable board:
-   - CPU module, with CPU, RAM, flash
-   - Personality board, with most interfaces (USB, Network,..)
-   - Debug board with JTAG header.
-
-The board is usually delivered with redboot. This howto explains how to boot
-a linux kernel and how to replace the original bootloader with U-Boot.
-
-The board is delivered with Redboot on the NAND flash. It is possible to
-switch the boot device with the switches SW1-SW2 on the Personality board,
-and with SW5-SW10 on the Debug board.
-
-Delivered Redboot script to start the kernel

-
-In redboot the following script is stored:
-
-fis load kernel
-exec -c "noinitrd console=ttymxc0,115200 root=/dev/mtdblock8 rw 
rootfstype=jffs2 ip=dhcp fec_mac=00:04:9F:00:E7:76"
-
-Kernel is taken from flash. The image is in zImage format.
-
-Booting from NET, rootfs on NFS:

-
-To change the script in redboot:
-
-load -r -b 0x10 
-exec -c "noinitrd console=ttymxc0,115200 root=/dev/nfsroot rootfstype=nfsroot 
nfsroot=192.168.1.1:/opt/eldk-4.2-arm/armVFP rw ip=dhcp"
-
-If the ip address is not set, you can set it with :
-
-ip_address -l  -h 
-
-Linux partitions:

-
-As default, the board is shipped with these