Re: [PATCH v2 20/23] phytec: Drop pcm051

2020-05-29 Thread Jagan Teki
On Wed, May 27, 2020 at 7:40 PM Lars Poeschel  wrote:
>
> On Wed, May 27, 2020 at 06:26:34PM +0530, Jagan Teki wrote:
> > OF_CONTROL, DM_SPI and other driver model migration deadlines
> > are expired for this board.
> >
> > Drop it.
>
> Acked-by: Lars Poeschel 

Slite changes on the commit message and

Applied to u-boot-spi/master


Re: [PATCH v2 20/23] phytec: Drop pcm051

2020-05-27 Thread Lars Poeschel
On Wed, May 27, 2020 at 06:26:34PM +0530, Jagan Teki wrote:
> OF_CONTROL, DM_SPI and other driver model migration deadlines
> are expired for this board.
> 
> Drop it.

Acked-by: Lars Poeschel 

> 
> Cc: Lars Poeschel 
> Signed-off-by: Jagan Teki 
> ---
> Changes for v2:
> - new patch
> 
>  arch/arm/Kconfig   |   1 -
>  arch/arm/mach-omap2/am33xx/Kconfig |   7 -
>  board/phytec/pcm051/Kconfig|  15 --
>  board/phytec/pcm051/MAINTAINERS|   7 -
>  board/phytec/pcm051/Makefile   |  11 --
>  board/phytec/pcm051/board.c| 258 -
>  board/phytec/pcm051/board.h|  24 ---
>  board/phytec/pcm051/mux.c  | 127 --
>  configs/pcm051_rev1_defconfig  |  60 ---
>  configs/pcm051_rev3_defconfig  |  60 ---
>  include/configs/pcm051.h   | 128 --
>  11 files changed, 698 deletions(-)
>  delete mode 100644 board/phytec/pcm051/Kconfig
>  delete mode 100644 board/phytec/pcm051/MAINTAINERS
>  delete mode 100644 board/phytec/pcm051/Makefile
>  delete mode 100644 board/phytec/pcm051/board.c
>  delete mode 100644 board/phytec/pcm051/board.h
>  delete mode 100644 board/phytec/pcm051/mux.c
>  delete mode 100644 configs/pcm051_rev1_defconfig
>  delete mode 100644 configs/pcm051_rev3_defconfig
>  delete mode 100644 include/configs/pcm051.h
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 9d3f00120f..7f328e6afe 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1904,7 +1904,6 @@ source "board/hisilicon/hikey/Kconfig"
>  source "board/hisilicon/hikey960/Kconfig"
>  source "board/hisilicon/poplar/Kconfig"
>  source "board/isee/igep003x/Kconfig"
> -source "board/phytec/pcm051/Kconfig"
>  source "board/silica/pengwyn/Kconfig"
>  source "board/spear/spear300/Kconfig"
>  source "board/spear/spear310/Kconfig"
> diff --git a/arch/arm/mach-omap2/am33xx/Kconfig 
> b/arch/arm/mach-omap2/am33xx/Kconfig
> index bb8959e7a7..60e5ec5684 100644
> --- a/arch/arm/mach-omap2/am33xx/Kconfig
> +++ b/arch/arm/mach-omap2/am33xx/Kconfig
> @@ -146,13 +146,6 @@ config TARGET_ETAMIN
>   select DM_SERIAL
>   imply CMD_DM
>  
> -config TARGET_PCM051
> - bool "Support pcm051"
> - select DM
> - select DM_GPIO
> - select DM_SERIAL
> - imply CMD_DM
> -
>  config TARGET_PENGWYN
>   bool "Support pengwyn"
>   select DM
> diff --git a/board/phytec/pcm051/Kconfig b/board/phytec/pcm051/Kconfig
> deleted file mode 100644
> index 2cc0d8872d..00
> --- a/board/phytec/pcm051/Kconfig
> +++ /dev/null
> @@ -1,15 +0,0 @@
> -if TARGET_PCM051
> -
> -config SYS_BOARD
> - default "pcm051"
> -
> -config SYS_VENDOR
> - default "phytec"
> -
> -config SYS_SOC
> - default "am33xx"
> -
> -config SYS_CONFIG_NAME
> - default "pcm051"
> -
> -endif
> diff --git a/board/phytec/pcm051/MAINTAINERS b/board/phytec/pcm051/MAINTAINERS
> deleted file mode 100644
> index 18ea636a83..00
> --- a/board/phytec/pcm051/MAINTAINERS
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -PCM051 BOARD
> -M:   Lars Poeschel 
> -S:   Maintained
> -F:   board/phytec/pcm051/
> -F:   include/configs/pcm051.h
> -F:   configs/pcm051_rev1_defconfig
> -F:   configs/pcm051_rev3_defconfig
> diff --git a/board/phytec/pcm051/Makefile b/board/phytec/pcm051/Makefile
> deleted file mode 100644
> index ff6f8b4221..00
> --- a/board/phytec/pcm051/Makefile
> +++ /dev/null
> @@ -1,11 +0,0 @@
> -# SPDX-License-Identifier: GPL-2.0+
> -#
> -# Makefile
> -#
> -# Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
> -
> -ifdef CONFIG_SPL_BUILD
> -obj-y+= mux.o
> -endif
> -
> -obj-y+= board.o
> diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c
> deleted file mode 100644
> index 6f1ada82c4..00
> --- a/board/phytec/pcm051/board.c
> +++ /dev/null
> @@ -1,258 +0,0 @@
> -// SPDX-License-Identifier: GPL-2.0+
> -/*
> - * board.c
> - *
> - * Board functions for Phytec phyCORE-AM335x (pcm051) based boards
> - *
> - * Copyright (C) 2013 Lemonage Software GmbH
> - * Author Lars Poeschel 
> - */
> -
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include 
> -#include "board.h"
> -
> -DECLARE_GLOBAL_DATA_PTR;
> -
> -/* MII mode defines */
> -#define RMII_RGMII2_MODE_ENABLE  0x49
> -
> -static struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE;
> -
> -#ifdef CONFIG_SPL_BUILD
> -
> -/* DDR RAM defines */
> -#define DDR_CLK_MHZ  303 /* DDR_DPLL_MULT value */
> -
> -#define OSC  (V_OSCK/100)
> -const struct dpll_params dpll_ddr = {
> - DDR_CLK_MHZ, OSC-1, 1, -1, -1, -1, -1};
> -
> -const struct dpll_params *get_dpll_ddr_params(void)
> -{
> - return _ddr;
> -}
> -
> -#ifdef CONFIG_REV1
> -const struct ctrl_ioregs ioregs = {
> - .cm0ioctl