Re: [PATCH 4/4] ti814x: Remove platform

2020-06-30 Thread Tom Rini
On Tue, Jun 30, 2020 at 12:56:50PM -0400, Tom Rini wrote:

> The TI814x (DM814x) platform is rather old and in need of a lot of
> migration work.  As much of that work is well past the deadline, remove
> this platform.
> 
> Signed-off-by: Tom Rini 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


[PATCH 4/4] ti814x: Remove platform

2020-06-30 Thread Tom Rini
The TI814x (DM814x) platform is rather old and in need of a lot of
migration work.  As much of that work is well past the deadline, remove
this platform.

Signed-off-by: Tom Rini 
---
 arch/arm/mach-omap2/Kconfig  |   1 -
 board/ti/ti814x/Kconfig  |  15 ---
 board/ti/ti814x/MAINTAINERS  |   6 --
 board/ti/ti814x/Makefile |  11 --
 board/ti/ti814x/evm.c| 190 ---
 board/ti/ti814x/evm.h|   8 --
 board/ti/ti814x/mux.c|  86 
 configs/ti814x_evm_defconfig |  45 -
 8 files changed, 362 deletions(-)
 delete mode 100644 board/ti/ti814x/Kconfig
 delete mode 100644 board/ti/ti814x/MAINTAINERS
 delete mode 100644 board/ti/ti814x/Makefile
 delete mode 100644 board/ti/ti814x/evm.c
 delete mode 100644 board/ti/ti814x/evm.h
 delete mode 100644 board/ti/ti814x/mux.c
 delete mode 100644 configs/ti814x_evm_defconfig

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index 4c87cbc00f74..48bc80a6390a 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -181,7 +181,6 @@ source "board/BuR/brppt1/Kconfig"
 source "board/siemens/draco/Kconfig"
 source "board/siemens/pxm2/Kconfig"
 source "board/siemens/rut/Kconfig"
-source "board/ti/ti814x/Kconfig"
 source "board/ti/ti816x/Kconfig"
 source "board/ti/am43xx/Kconfig"
 source "board/ti/am335x/Kconfig"
diff --git a/board/ti/ti814x/Kconfig b/board/ti/ti814x/Kconfig
deleted file mode 100644
index 2960099a8e5b..
--- a/board/ti/ti814x/Kconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-if TARGET_TI814X_EVM
-
-config SYS_BOARD
-   default "ti814x"
-
-config SYS_VENDOR
-   default "ti"
-
-config SYS_SOC
-   default "am33xx"
-
-config SYS_CONFIG_NAME
-   default "ti814x_evm"
-
-endif
diff --git a/board/ti/ti814x/MAINTAINERS b/board/ti/ti814x/MAINTAINERS
deleted file mode 100644
index b2ee39e8a339..
--- a/board/ti/ti814x/MAINTAINERS
+++ /dev/null
@@ -1,6 +0,0 @@
-TI814X BOARD
-M: Tom Rini 
-S: Maintained
-F: board/ti/ti814x/
-F: include/configs/ti814x_evm.h
-F: configs/ti814x_evm_defconfig
diff --git a/board/ti/ti814x/Makefile b/board/ti/ti814x/Makefile
deleted file mode 100644
index c5ff8d072851..
--- a/board/ti/ti814x/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Makefile
-#
-# Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
-
-ifdef CONFIG_SPL_BUILD
-obj-y  := mux.o
-endif
-
-obj-y  += evm.o
diff --git a/board/ti/ti814x/evm.c b/board/ti/ti814x/evm.c
deleted file mode 100644
index 8ed80d2f4627..
--- a/board/ti/ti814x/evm.c
+++ /dev/null
@@ -1,190 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * evm.c
- *
- * Board functions for TI814x EVM
- *
- * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
- */
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include "evm.h"
-
-DECLARE_GLOBAL_DATA_PTR;
-
-static struct ctrl_dev *cdev = (struct ctrl_dev *)CTRL_DEVICE_BASE;
-
-/* UART Defines */
-#ifdef CONFIG_SPL_BUILD
-static const struct cmd_control evm_ddr2_cctrl_data = {
-   .cmd0csratio= 0x80,
-   .cmd0iclkout= 0x00,
-
-   .cmd1csratio= 0x80,
-   .cmd1iclkout= 0x00,
-
-   .cmd2csratio= 0x80,
-   .cmd2iclkout= 0x00,
-};
-
-static const struct emif_regs evm_ddr2_emif0_regs = {
-   .sdram_config   = 0x40801ab2,
-   .ref_ctrl   = 0x1c30,
-   .sdram_tim1 = 0x0aaaf552,
-   .sdram_tim2 = 0x043631d2,
-   .sdram_tim3 = 0x0327,
-   .emif_ddr_phy_ctlr_1= 0x0007
-};
-
-static const struct emif_regs evm_ddr2_emif1_regs = {
-   .sdram_config   = 0x40801ab2,
-   .ref_ctrl   = 0x1c30,
-   .sdram_tim1 = 0x0aaaf552,
-   .sdram_tim2 = 0x043631d2,
-   .sdram_tim3 = 0x0327,
-   .emif_ddr_phy_ctlr_1= 0x0007
-};
-
-const struct dmm_lisa_map_regs evm_lisa_map_regs = {
-   .dmm_lisa_map_0 = 0x,
-   .dmm_lisa_map_1 = 0x,
-   .dmm_lisa_map_2 = 0x806c0300,
-   .dmm_lisa_map_3 = 0x806c0300,
-};
-
-static const struct ddr_data evm_ddr2_data = {
-   .datardsratio0  = ((0x35<<10) | (0x35<<0)),
-   .datawdsratio0  = ((0x20<<10) | (0x20<<0)),
-   .datawiratio0   = ((0<<10) | (0<<0)),
-   .datagiratio0   = ((0<<10) | (0<<0)),
-   .datafwsratio0  = ((0x90<<10) | (0x90<<0)),
-   .datawrsratio0  = ((0x50<<10) | (0x50<<0)),
-};
-
-void set_uart_mux_conf(void)
-{
-   /* Set UART pins */
-