Re: [PATCH 2/6] sh: Remove r7780mp board

2021-02-15 Thread Tom Rini
On Wed, Feb 10, 2021 at 12:51:22PM -0500, Tom Rini wrote:

> This board has not been converted to CONFIG_DM by the deadline of v2020.01
> and is missing other conversions which depend on this as well.  Remove it.
> 
> Patch-cc: Nobuhiro Iwamatsu 
> Patch-cc: Nobuhiro Iwamatsu 
> Signed-off-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[PATCH 2/6] sh: Remove r7780mp board

2021-02-10 Thread Tom Rini
This board has not been converted to CONFIG_DM by the deadline of v2020.01
and is missing other conversions which depend on this as well.  Remove it.

Patch-cc: Nobuhiro Iwamatsu 
Patch-cc: Nobuhiro Iwamatsu 
Signed-off-by: Tom Rini 
---
 arch/sh/Kconfig   |   5 -
 board/renesas/r7780mp/Kconfig |  12 -
 board/renesas/r7780mp/MAINTAINERS |   7 -
 board/renesas/r7780mp/Makefile|   9 -
 board/renesas/r7780mp/lowlevel_init.S | 356 --
 board/renesas/r7780mp/r7780mp.c   |  64 -
 board/renesas/r7780mp/r7780mp.h   |  40 ---
 configs/r7780mp_defconfig |  40 ---
 doc/arch/sh.rst   |  18 --
 drivers/net/Makefile  |   1 -
 drivers/net/ax88796.c | 144 ---
 drivers/net/ax88796.h |  66 -
 include/configs/r7780mp.h | 108 
 13 files changed, 870 deletions(-)
 delete mode 100644 board/renesas/r7780mp/Kconfig
 delete mode 100644 board/renesas/r7780mp/MAINTAINERS
 delete mode 100644 board/renesas/r7780mp/Makefile
 delete mode 100644 board/renesas/r7780mp/lowlevel_init.S
 delete mode 100644 board/renesas/r7780mp/r7780mp.c
 delete mode 100644 board/renesas/r7780mp/r7780mp.h
 delete mode 100644 configs/r7780mp_defconfig
 delete mode 100644 drivers/net/ax88796.c
 delete mode 100644 drivers/net/ax88796.h
 delete mode 100644 include/configs/r7780mp.h

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2cd153fbac0d..2d7525e61db4 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -25,10 +25,6 @@ config TARGET_R2DPLUS
bool "Renesas R2D-PLUS"
select CPU_SH4
 
-config TARGET_R7780MP
-   bool "R7780MP board"
-   select CPU_SH4A
-
 config TARGET_SH7752EVB
bool "SH7752EVB"
select CPU_SH4A
@@ -56,7 +52,6 @@ config SYS_CPU
 source "arch/sh/lib/Kconfig"
 
 source "board/renesas/r2dplus/Kconfig"
-source "board/renesas/r7780mp/Kconfig"
 source "board/renesas/sh7752evb/Kconfig"
 source "board/renesas/sh7753evb/Kconfig"
 source "board/renesas/sh7757lcr/Kconfig"
diff --git a/board/renesas/r7780mp/Kconfig b/board/renesas/r7780mp/Kconfig
deleted file mode 100644
index 050cc4cc0f6d..
--- a/board/renesas/r7780mp/Kconfig
+++ /dev/null
@@ -1,12 +0,0 @@
-if TARGET_R7780MP
-
-config SYS_BOARD
-   default "r7780mp"
-
-config SYS_VENDOR
-   default "renesas"
-
-config SYS_CONFIG_NAME
-   default "r7780mp"
-
-endif
diff --git a/board/renesas/r7780mp/MAINTAINERS 
b/board/renesas/r7780mp/MAINTAINERS
deleted file mode 100644
index 56ec21fd32f8..
--- a/board/renesas/r7780mp/MAINTAINERS
+++ /dev/null
@@ -1,7 +0,0 @@
-R7780MP BOARD
-M: Nobuhiro Iwamatsu 
-M: Nobuhiro Iwamatsu 
-S: Maintained
-F: board/renesas/r7780mp/
-F: include/configs/r7780mp.h
-F: configs/r7780mp_defconfig
diff --git a/board/renesas/r7780mp/Makefile b/board/renesas/r7780mp/Makefile
deleted file mode 100644
index 0a387db35d29..
--- a/board/renesas/r7780mp/Makefile
+++ /dev/null
@@ -1,9 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) 2007,2008 Nobuhiro Iwamatsu
-#
-# board/r7780mp/Makefile
-#
-
-obj-y  := r7780mp.o
-extra-y+= lowlevel_init.o
diff --git a/board/renesas/r7780mp/lowlevel_init.S 
b/board/renesas/r7780mp/lowlevel_init.S
deleted file mode 100644
index 7be1a1bf0703..
--- a/board/renesas/r7780mp/lowlevel_init.S
+++ /dev/null
@@ -1,356 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2007,2008 Nobuhiro Iwamatsu
- *
- * u-boot/board/r7780mp/lowlevel_init.S
- */
-
-#include 
-#include 
-#include 
-
-/*
- * Board specific low level init code, called _very_ early in the
- * startup sequence. Relocation to SDRAM has not happened yet, no
- * stack is available, bss section has not been initialised, etc.
- *
- * (Note: As no stack is available, no subroutines can be called...).
- */
-
-   .global lowlevel_init
-
-   .text
-   .align  2
-
-lowlevel_init:
-
-   write32 CCR_A, CCR_D/* Address of Cache Control Register */
-   /* Instruction Cache Invalidate */
-
-   write32 FRQCR_A, FRQCR_D/* Frequency control register */
-
-   /* pin_multi_setting */
-   write32 BBG_PMMR_A, BBG_PMMR_D_PMSR1
-
-   write32 BBG_PMSR1_A, BBG_PMSR1_D
-
-   write32 BBG_PMMR_A, BBG_PMMR_D_PMSR2
-
-   write32 BBG_PMSR2_A, BBG_PMSR2_D
-
-   write32 BBG_PMMR_A, BBG_PMMR_D_PMSR3
-
-   write32 BBG_PMSR3_A, BBG_PMSR3_D
-
-   write32 BBG_PMMR_A, BBG_PMMR_D_PMSR4
-
-   write32 BBG_PMSR4_A, BBG_PMSR4_D
-
-   write32 BBG_PMMR_A, BBG_PMMR_D_PMSRG
-
-   write32 BBG_PMSRG_A, BBG_PMSRG_D
-
-   /* cpg_setting */
-   write32 FRQCR_A, FRQCR_D
-
-   write32 DLLCSR_A, DLLCSR_D
-
-   nop
-   nop
-   nop
-   nop
-   nop
-   nop
-   nop
-   nop
-   nop
-   nop
-
-   /* wait 200us */
-   mov.l   REPEAT0_R3,