Re: [PATCH 3/6] sh: Remove sh7752evb board

2021-02-15 Thread Tom Rini
On Wed, Feb 10, 2021 at 12:51:23PM -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.
> 
> Signed-off-by: Tom Rini 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[PATCH 3/6] sh: Remove sh7752evb 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.

Signed-off-by: Tom Rini 
---
 arch/sh/Kconfig |   5 -
 board/renesas/sh7752evb/Kconfig |  12 -
 board/renesas/sh7752evb/MAINTAINERS |   6 -
 board/renesas/sh7752evb/Makefile|   7 -
 board/renesas/sh7752evb/lowlevel_init.S | 445 
 board/renesas/sh7752evb/sh7752evb.c | 313 -
 board/renesas/sh7752evb/spi-boot.c  | 116 --
 configs/sh7752evb_defconfig |  39 ---
 doc/board/renesas/index.rst |   1 -
 doc/board/renesas/sh7752evb.rst |  79 -
 include/configs/sh7752evb.h |  65 
 11 files changed, 1088 deletions(-)
 delete mode 100644 board/renesas/sh7752evb/Kconfig
 delete mode 100644 board/renesas/sh7752evb/MAINTAINERS
 delete mode 100644 board/renesas/sh7752evb/Makefile
 delete mode 100644 board/renesas/sh7752evb/lowlevel_init.S
 delete mode 100644 board/renesas/sh7752evb/sh7752evb.c
 delete mode 100644 board/renesas/sh7752evb/spi-boot.c
 delete mode 100644 configs/sh7752evb_defconfig
 delete mode 100644 doc/board/renesas/sh7752evb.rst
 delete mode 100644 include/configs/sh7752evb.h

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 2d7525e61db4..8446d9587ed5 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_SH7752EVB
-   bool "SH7752EVB"
-   select CPU_SH4A
-
 config TARGET_SH7753EVB
bool "SH7753EVB"
select CPU_SH4
@@ -52,7 +48,6 @@ config SYS_CPU
 source "arch/sh/lib/Kconfig"
 
 source "board/renesas/r2dplus/Kconfig"
-source "board/renesas/sh7752evb/Kconfig"
 source "board/renesas/sh7753evb/Kconfig"
 source "board/renesas/sh7757lcr/Kconfig"
 source "board/renesas/sh7763rdp/Kconfig"
diff --git a/board/renesas/sh7752evb/Kconfig b/board/renesas/sh7752evb/Kconfig
deleted file mode 100644
index 7f40888336eb..
--- a/board/renesas/sh7752evb/Kconfig
+++ /dev/null
@@ -1,12 +0,0 @@
-if TARGET_SH7752EVB
-
-config SYS_BOARD
-   default "sh7752evb"
-
-config SYS_VENDOR
-   default "renesas"
-
-config SYS_CONFIG_NAME
-   default "sh7752evb"
-
-endif
diff --git a/board/renesas/sh7752evb/MAINTAINERS 
b/board/renesas/sh7752evb/MAINTAINERS
deleted file mode 100644
index 9840477d7dd2..
--- a/board/renesas/sh7752evb/MAINTAINERS
+++ /dev/null
@@ -1,6 +0,0 @@
-SH7752EVB BOARD
-#M:-
-S: Maintained
-F: board/renesas/sh7752evb/
-F: include/configs/sh7752evb.h
-F: configs/sh7752evb_defconfig
diff --git a/board/renesas/sh7752evb/Makefile b/board/renesas/sh7752evb/Makefile
deleted file mode 100644
index 658dc3bc6ded..
--- a/board/renesas/sh7752evb/Makefile
+++ /dev/null
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) 2012  Yoshihiro Shimoda 
-#
-
-obj-y  := sh7752evb.o spi-boot.o
-extra-y+= lowlevel_init.o
diff --git a/board/renesas/sh7752evb/lowlevel_init.S 
b/board/renesas/sh7752evb/lowlevel_init.S
deleted file mode 100644
index 0f7b643ad8fe..
--- a/board/renesas/sh7752evb/lowlevel_init.S
+++ /dev/null
@@ -1,445 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright (C) 2012  Renesas Solutions Corp.
- */
-
-#include 
-#include 
-#include 
-
-.macro or32, addr, data
-   mov.l \addr, r1
-   mov.l \data, r0
-   mov.l @r1, r2
-   orr2, r0
-   mov.l r0, @r1
-.endm
-
-.macro wait_DBCMD
-   mov.l   DBWAIT_A, r0
-   mov.l   @r0, r1
-.endm
-
-   .global lowlevel_init
-   .section.spiboot1.text
-   .align  2
-
-lowlevel_init:
-   /*--- GPIO ---*/
-   write16 PDCR_A, PDCR_D  ! SPI0
-   write16 PGCR_A, PGCR_D  ! SPI0, GETHER MDIO gate(PTG1)
-   write16 PJCR_A, PJCR_D  ! SCIF4
-   write16 PTCR_A, PTCR_D  ! STATUS
-   write16 PSEL1_A, PSEL1_D! SPI0
-   write16 PSEL2_A, PSEL2_D! SPI0
-   write16 PSEL5_A, PSEL5_D! STATUS
-
-   bra exit_gpio
-   nop
-
-   .align  2
-
-/*--- GPIO ---*/
-PDCR_A:.long   0xffec0006
-PGCR_A:.long   0xffec000c
-PJCR_A:.long   0xffec0012
-PTCR_A:.long   0xffec0026
-PSEL1_A:   .long   0xffec0072
-PSEL2_A:   .long   0xffec0074
-PSEL5_A:   .long   0xffec007a
-
-PDCR_D:.long   0x
-PGCR_D:.long   0x0004
-PJCR_D:.long   0x
-PTCR_D:.long   0x
-PSEL1_D:   .long   0x
-PSEL2_D:   .long   0x3000
-PSEL5_D:   .long   0x0ffc
-
-   .align  2
-
-exit_gpio:
-   mov #0, r14
-   mova2f, r0
-   mov.l   PC_MASK, r1
-   tst r0, r1
-   bf  2f
-
-   bra exit_pmb
-   nop
-
-   .align  2
-
-/* If CPU runs on SD