Skip to contentSkip to conversation

ls1012aqds_tfa_SECURE_BOOT: Remove unused CONFIG_SCSI_AHCI

PATCH New Tom Rini 5 participants 38 messages Feb 10, 2021 – Apr 12, 2021

Subsystems (7)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/16 ls1012aqds_tfa_SECURE_BOOT: Remove unused CONFIG_SCSI_AHCI

---
 configs/ls1012aqds_tfa_SECURE_BOOT_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/ls1012aqds_tfa_SECURE_BOOT_defconfig +0 -1
index 8f6ca820a24b..214a2bb9e735 100644
@@ -41,7 +41,6 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
-CONFIG_SCSI_AHCI=y
 CONFIG_DM_I2C=y
 CONFIG_DM_MMC=y
 CONFIG_FSL_ESDHC=y
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 1/16 ls1012aqds_tfa_SECURE_BOOT: Remove unused CONFIG_SCSI_AHCI

Quoted 1 line · Tom Rini

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210411/3658f032/attachment.sig>
author
#2 lore raw

PATCH 2/16 am57xx_hs_evm_usb: Enable AHCI and BLK

In reply to Tom Rini

Enable the AHCI and BLK features to complete migration of various drivers.

Cc Andrew F. Davis <[email protected]>
Cc Lokesh Vutla <[email protected]>
---
 configs/am57xx_hs_evm_usb_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/am57xx_hs_evm_usb_defconfig +1 -1
index d020bb0e4626..35f90274a2b1 100644
@@ -20,6 +20,7 @@ CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_ARMV7_LPAE=y
 CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15"
+CONFIG_AHCI=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y
@@ -69,7 +70,6 @@ CONFIG_DM=y
 CONFIG_SPL_DM=y
 CONFIG_SPL_DM_SEQ_ALIAS=y
 CONFIG_SCSI_AHCI=y
-# CONFIG_BLK is not set
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
 CONFIG_USB_FUNCTION_FASTBOOT=y
Signature · 1 line
2.17.1
author
#3 lore raw

PATCH 2/16 am57xx_hs_evm_usb: Enable AHCI and BLK

Quoted 6 lines · Tom Rini

Enable the AHCI and BLK features to complete migration of various drivers.

Cc Andrew F. Davis <[email protected]>
Cc Lokesh Vutla <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210411/1ceafa8a/attachment.sig>
author
#4 lore raw

PATCH 3/16 ata: DWC_AHSATA depends on BLK

In reply to Tom Rini

The dwc ahsata driver is written such that CONFIG_BLK must be enabled, add this as a dependency in Kconfig.

---
 drivers/ata/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/ata/Kconfig +1 -0
index f2f8275aeca8..3914f996d91c 100644
@@ -62,6 +62,7 @@ config DWC_AHCI
 config DWC_AHSATA
 	bool "Enable DWC AHSATA driver support"
 	select LIBATA
+	depends on BLK
 	help
 	  Enable this driver to support the DWC AHSATA SATA controller found
 	  in i.MX5 and i.MX6 SoCs.
Signature · 1 line
2.17.1
author
#5 lore raw

PATCH 3/16 ata: DWC_AHSATA depends on BLK

Quoted 4 lines · Tom Rini

The dwc ahsata driver is written such that CONFIG_BLK must be enabled, add this as a dependency in Kconfig.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210411/7553133a/attachment.sig>
author
#6 lore raw

PATCH 4/16 ppc: configs: Remove a few non-updated build configurations

In reply to Tom Rini

In the cases of T2080RDB_SECURE_BOOT, T2080RDB_SRIO_PCIE_BOOT, P2041RDB_SECURE_BOOT, P2041RDB_SRIO_PCIE_BOOT, P3041DS_SRIO_PCIE_BOOT and P4080DS_SRIO_PCIE_BOOT while some forms of the board have been migrated more fully to current build standards, these have not. Remove them.

Cc Priyanka Jain <[email protected]>
---
 configs/P2041RDB_SECURE_BOOT_defconfig    | 62 ---------------------
 configs/P2041RDB_SRIO_PCIE_BOOT_defconfig | 53 ------------------
 configs/P3041DS_SRIO_PCIE_BOOT_defconfig  | 53 ------------------
 configs/P4080DS_SRIO_PCIE_BOOT_defconfig  | 51 ------------------
 configs/T2080RDB_SECURE_BOOT_defconfig    | 66 -----------------------
 configs/T2080RDB_SRIO_PCIE_BOOT_defconfig | 56 -------------------
 6 files changed, 341 deletions(-)
 delete mode 100644 configs/P2041RDB_SECURE_BOOT_defconfig
 delete mode 100644 configs/P2041RDB_SRIO_PCIE_BOOT_defconfig
 delete mode 100644 configs/P3041DS_SRIO_PCIE_BOOT_defconfig
 delete mode 100644 configs/P4080DS_SRIO_PCIE_BOOT_defconfig
 delete mode 100644 configs/T2080RDB_SECURE_BOOT_defconfig
 delete mode 100644 configs/T2080RDB_SRIO_PCIE_BOOT_defconfig
configs/P2041RDB_SECURE_BOOT_defconfig deleted +0 -62
deleted file mode 100644
index c42e583f6cc9..000000000000
@@ -1,62 +0,0 @@
-CONFIG_PPC=y
-CONFIG_SYS_TEXT_BASE=0xEFF40000
-CONFIG_ENV_SIZE=0x2000
-CONFIG_NXP_ESBC=y
-CONFIG_DEFAULT_DEVICE_TREE="p2041rdb"
-CONFIG_MPC85xx=y
-CONFIG_TARGET_P2041RDB=y
-CONFIG_MPC85XX_HAVE_RESET_VECTOR=y
-CONFIG_FIT=y
-CONFIG_FIT_VERBOSE=y
-CONFIG_OF_BOARD_SETUP=y
-CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_BOOTDELAY=10
-CONFIG_BOARD_EARLY_INIT_F=y
-CONFIG_BOARD_EARLY_INIT_R=y
-CONFIG_HUSH_PARSER=y
-CONFIG_CMD_IMLS=y
-CONFIG_CMD_GREPENV=y
-CONFIG_CMD_DM=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_MMC=y
-CONFIG_CMD_SF=y
-CONFIG_CMD_USB=y
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_MP=y
-CONFIG_CMD_EXT2=y
-CONFIG_CMD_FAT=y
-CONFIG_OF_CONTROL=y
-CONFIG_ENV_OVERWRITE=y
-CONFIG_DM=y
-CONFIG_FSL_ESDHC=y
-CONFIG_MTD=y
-CONFIG_MTD_NOR_FLASH=y
-CONFIG_FLASH_CFI_DRIVER=y
-CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
-CONFIG_SYS_FLASH_CFI=y
-CONFIG_SPI_FLASH=y
-CONFIG_SF_DEFAULT_MODE=0
-CONFIG_SF_DEFAULT_SPEED=10000000
-CONFIG_SPI_FLASH_SPANSION=y
-CONFIG_PHYLIB=y
-CONFIG_PHYLIB_10G=y
-CONFIG_PHY_TERANETICS=y
-CONFIG_PHY_VITESSE=y
-CONFIG_DM_ETH=y
-CONFIG_DM_MDIO=y
-CONFIG_PHY_GIGE=y
-CONFIG_FMAN_ENET=y
-CONFIG_MII=y
-CONFIG_SYS_QE_FMAN_FW_IN_NOR=y
-CONFIG_SYS_NS16550=y
-CONFIG_SPI=y
-CONFIG_FSL_ESPI=y
-CONFIG_USB=y
-CONFIG_USB_STORAGE=y
-CONFIG_ADDR_MAP=y
-CONFIG_SYS_NUM_ADDR_MAP=64
-CONFIG_RSA=y
-CONFIG_SPL_RSA=y
-CONFIG_RSA_SOFTWARE_EXP=y
configs/P2041RDB_SRIO_PCIE_BOOT_defconfig deleted +0 -53

53 lines not on this page · raw message

configs/P3041DS_SRIO_PCIE_BOOT_defconfig deleted +0 -53

53 lines not on this page · raw message

configs/P4080DS_SRIO_PCIE_BOOT_defconfig deleted +0 -51

51 lines not on this page · raw message

configs/T2080RDB_SECURE_BOOT_defconfig deleted +0 -66

66 lines not on this page · raw message

configs/T2080RDB_SRIO_PCIE_BOOT_defconfig deleted +0 -56

56 lines not on this page · raw message

Signature · 1 line
2.17.1
author
#7 lore raw

PATCH 5/16 arm: Remove highbank board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

---
 arch/arm/Kconfig                |   7 --
 arch/arm/Makefile               |   1 -
 arch/arm/mach-highbank/Kconfig  |  12 --
 arch/arm/mach-highbank/Makefile |   6 -
 arch/arm/mach-highbank/timer.c  |  34 ------
 board/highbank/MAINTAINERS      |   6 -
 board/highbank/Makefile         |   6 -
 board/highbank/ahci.c           | 207 --------------------------------
 board/highbank/highbank.c       | 148 -----------------------
 configs/highbank_defconfig      |  28 -----
 include/configs/highbank.h      |  60 ---------
 11 files changed, 515 deletions(-)
 delete mode 100644 arch/arm/mach-highbank/Kconfig
 delete mode 100644 arch/arm/mach-highbank/Makefile
 delete mode 100644 arch/arm/mach-highbank/timer.c
 delete mode 100644 board/highbank/MAINTAINERS
 delete mode 100644 board/highbank/Makefile
 delete mode 100644 board/highbank/ahci.c
 delete mode 100644 board/highbank/highbank.c
 delete mode 100644 configs/highbank_defconfig
 delete mode 100644 include/configs/highbank.h
arch/arm/Kconfig +0 -7
index 95557d6ed6bd..6fa69d39be5b 100644
@@ -750,11 +750,6 @@ config ARCH_S5PC1XX
 	select DM_SERIAL
 	imply CMD_DM
 
-config ARCH_HIGHBANK
-	bool "Calxeda Highbank"
-	select CPU_V7A
-	select PL011_SERIAL
-
 config ARCH_INTEGRATOR
 	bool "ARM Ltd. Integrator family"
 	select DM
@@ -1873,8 +1868,6 @@ source "arch/arm/mach-davinci/Kconfig"
 
 source "arch/arm/mach-exynos/Kconfig"
 
-source "arch/arm/mach-highbank/Kconfig"
-
 source "arch/arm/mach-integrator/Kconfig"
 
 source "arch/arm/mach-ipq40xx/Kconfig"
arch/arm/Makefile +0 -1
index 28b523b37c70..e1d266c3a4d8 100644
@@ -57,7 +57,6 @@ machine-$(CONFIG_ARCH_BCM283X)		+= bcm283x
 machine-$(CONFIG_ARCH_BCMSTB)		+= bcmstb
 machine-$(CONFIG_ARCH_DAVINCI)		+= davinci
 machine-$(CONFIG_ARCH_EXYNOS)		+= exynos
-machine-$(CONFIG_ARCH_HIGHBANK)		+= highbank
 machine-$(CONFIG_ARCH_IPQ40XX)		+= ipq40xx
 machine-$(CONFIG_ARCH_K3)		+= k3
 machine-$(CONFIG_ARCH_KEYSTONE)		+= keystone
arch/arm/mach-highbank/Kconfig deleted +0 -12
deleted file mode 100644
index 0e73c0414293..000000000000
@@ -1,12 +0,0 @@
-if ARCH_HIGHBANK
-
-config SYS_BOARD
-	default "highbank"
-
-config SYS_SOC
-	default "highbank"
-
-config SYS_CONFIG_NAME
-	default "highbank"
-
-endif
arch/arm/mach-highbank/Makefile deleted +0 -6
deleted file mode 100644
index 029e266bedce..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= timer.o
arch/arm/mach-highbank/timer.c deleted +0 -34
deleted file mode 100644
index 2423a0e37855..000000000000
@@ -1,34 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2010-2011 Calxeda, Inc.
- *
- * Based on arm926ejs/mx27/timer.c
- */
-
-#include <common.h>
-#include <init.h>
-#include <asm/io.h>
-#include <asm/arch-armv7/systimer.h>
-
-#undef SYSTIMER_BASE
-#define SYSTIMER_BASE		0xFFF34000	/* Timer 0 and 1 base	*/
-
-static struct systimer *systimer_base = (struct systimer *)SYSTIMER_BASE;
-
-/*
- * Start the timer
- */
-int timer_init(void)
-{
-	/*
-	 * Setup timer0
-	 */
-	writel(0, &systimer_base->timer0control);
-	writel(SYSTIMER_RELOAD, &systimer_base->timer0load);
-	writel(SYSTIMER_RELOAD, &systimer_base->timer0value);
-	writel(SYSTIMER_EN | SYSTIMER_32BIT | SYSTIMER_PRESC_256,
-		&systimer_base->timer0control);
-
-	return 0;
-
-}
board/highbank/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 69ddeddd6003..000000000000
@@ -1,6 +0,0 @@
-HIGHBANK BOARD
-M:	Rob Herring <[email protected]>
-S:	Maintained
-F:	board/highbank/
-F:	include/configs/highbank.h
-F:	configs/highbank_defconfig
board/highbank/Makefile deleted +0 -6
deleted file mode 100644
index 57f7f2e2a658..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= highbank.o ahci.o
board/highbank/ahci.c deleted +0 -207

207 lines not on this page · raw message

board/highbank/highbank.c deleted +0 -148

148 lines not on this page · raw message

configs/highbank_defconfig deleted +0 -28
deleted file mode 100644
index 369b65ceee88..000000000000
@@ -1,28 +0,0 @@
-CONFIG_ARM=y
-CONFIG_SYS_DCACHE_OFF=y
-CONFIG_SYS_THUMB_BUILD=y
-CONFIG_ARCH_HIGHBANK=y
-CONFIG_SYS_TEXT_BASE=0x00008000
-CONFIG_NR_DRAM_BANKS=0
-CONFIG_ENV_SIZE=0x2000
-CONFIG_SYS_BOOTCOUNT_ADDR=0xfff3cf0c
-CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_FIT=y
-CONFIG_OF_BOARD_SETUP=y
-CONFIG_AUTOBOOT_KEYED=y
-CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds...\nPress <s> to stop or <d> to delay\n"
-CONFIG_AUTOBOOT_KEYED_CTRLC=y
-# CONFIG_USE_BOOTCOMMAND is not set
-# CONFIG_DISPLAY_CPUINFO is not set
-# CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_MISC_INIT_R=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_ENV_IS_IN_NVRAM=y
-CONFIG_ENV_ADDR=0xFFF88000
-CONFIG_SCSI_AHCI=y
-CONFIG_BOOTCOUNT_LIMIT=y
-# CONFIG_MMC is not set
-CONFIG_SCSI=y
-CONFIG_CONS_INDEX=0
-CONFIG_OF_LIBFDT=y
include/configs/highbank.h deleted +0 -60

60 lines not on this page · raw message

Signature · 1 line
2.17.1
maintainer
#8 lore raw

PATCH 5/16 arm: Remove highbank board

On 10/02/2021 02:42, Tom Rini wrote:

Hi Tom,

Quoted 4 lines

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

So I made a series a few months ago to bring highbank up to speed, it converts everything over to DM, also starts using the DT provided by the board for its own purposes.
I was facing one issue with SATA though, which made me drop the ball there :-(
This is for the 2014.07 merge window, I guess? So if I manage to send something before April, would you consider dropping this patch then? Or do I need to start the series with a revert?

Cheers,
Andre

Quoted 625 lines
---
 arch/arm/Kconfig                |   7 --
 arch/arm/Makefile               |   1 -
 arch/arm/mach-highbank/Kconfig  |  12 --
 arch/arm/mach-highbank/Makefile |   6 -
 arch/arm/mach-highbank/timer.c  |  34 ------
 board/highbank/MAINTAINERS      |   6 -
 board/highbank/Makefile         |   6 -
 board/highbank/ahci.c           | 207 --------------------------------
 board/highbank/highbank.c       | 148 -----------------------
 configs/highbank_defconfig      |  28 -----
 include/configs/highbank.h      |  60 ---------
 11 files changed, 515 deletions(-)
 delete mode 100644 arch/arm/mach-highbank/Kconfig
 delete mode 100644 arch/arm/mach-highbank/Makefile
 delete mode 100644 arch/arm/mach-highbank/timer.c
 delete mode 100644 board/highbank/MAINTAINERS
 delete mode 100644 board/highbank/Makefile
 delete mode 100644 board/highbank/ahci.c
 delete mode 100644 board/highbank/highbank.c
 delete mode 100644 configs/highbank_defconfig
 delete mode 100644 include/configs/highbank.h
arch/arm/Kconfig +0 -7
index 95557d6ed6bd..6fa69d39be5b 100644
@@ -750,11 +750,6 @@ config ARCH_S5PC1XX
 	select DM_SERIAL
 	imply CMD_DM
 
-config ARCH_HIGHBANK
-	bool "Calxeda Highbank"
-	select CPU_V7A
-	select PL011_SERIAL
-
 config ARCH_INTEGRATOR
 	bool "ARM Ltd. Integrator family"
 	select DM
@@ -1873,8 +1868,6 @@ source "arch/arm/mach-davinci/Kconfig"
 
 source "arch/arm/mach-exynos/Kconfig"
 
-source "arch/arm/mach-highbank/Kconfig"
-
 source "arch/arm/mach-integrator/Kconfig"
 
 source "arch/arm/mach-ipq40xx/Kconfig"
arch/arm/Makefile +0 -1
index 28b523b37c70..e1d266c3a4d8 100644
@@ -57,7 +57,6 @@ machine-$(CONFIG_ARCH_BCM283X)		+= bcm283x
 machine-$(CONFIG_ARCH_BCMSTB)		+= bcmstb
 machine-$(CONFIG_ARCH_DAVINCI)		+= davinci
 machine-$(CONFIG_ARCH_EXYNOS)		+= exynos
-machine-$(CONFIG_ARCH_HIGHBANK)		+= highbank
 machine-$(CONFIG_ARCH_IPQ40XX)		+= ipq40xx
 machine-$(CONFIG_ARCH_K3)		+= k3
 machine-$(CONFIG_ARCH_KEYSTONE)		+= keystone
arch/arm/mach-highbank/Kconfig deleted +0 -12
deleted file mode 100644
index 0e73c0414293..000000000000
@@ -1,12 +0,0 @@
-if ARCH_HIGHBANK
-
-config SYS_BOARD
-	default "highbank"
-
-config SYS_SOC
-	default "highbank"
-
-config SYS_CONFIG_NAME
-	default "highbank"
-
-endif
arch/arm/mach-highbank/Makefile deleted +0 -6
deleted file mode 100644
index 029e266bedce..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= timer.o
arch/arm/mach-highbank/timer.c deleted +0 -34
deleted file mode 100644
index 2423a0e37855..000000000000
@@ -1,34 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2010-2011 Calxeda, Inc.
- *
- * Based on arm926ejs/mx27/timer.c
- */
-
-#include <common.h>
-#include <init.h>
-#include <asm/io.h>
-#include <asm/arch-armv7/systimer.h>
-
-#undef SYSTIMER_BASE
-#define SYSTIMER_BASE		0xFFF34000	/* Timer 0 and 1 base	*/
-
-static struct systimer *systimer_base = (struct systimer *)SYSTIMER_BASE;
-
-/*
- * Start the timer
- */
-int timer_init(void)
-{
-	/*
-	 * Setup timer0
-	 */
-	writel(0, &systimer_base->timer0control);
-	writel(SYSTIMER_RELOAD, &systimer_base->timer0load);
-	writel(SYSTIMER_RELOAD, &systimer_base->timer0value);
-	writel(SYSTIMER_EN | SYSTIMER_32BIT | SYSTIMER_PRESC_256,
-		&systimer_base->timer0control);
-
-	return 0;
-
-}
board/highbank/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 69ddeddd6003..000000000000
@@ -1,6 +0,0 @@
-HIGHBANK BOARD
-M:	Rob Herring <[email protected]>
-S:	Maintained
-F:	board/highbank/
-F:	include/configs/highbank.h
-F:	configs/highbank_defconfig
board/highbank/Makefile deleted +0 -6
deleted file mode 100644
index 57f7f2e2a658..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2000-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	:= highbank.o ahci.o
board/highbank/ahci.c deleted +0 -207
deleted file mode 100644
index 9c057278ace1..000000000000
@@ -1,207 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2012 Calxeda, Inc.
- */
-
-#include <common.h>
-#include <ahci.h>
-#include <asm/io.h>
-#include <linux/delay.h>
-
-#define CPHY_MAP(dev, addr) ((((dev) & 0x1f) << 7) | (((addr) >> 9) & 0x7f))
-#define CPHY_ADDR(base, dev, addr) ((base) | (((addr) & 0x1ff) << 2))
-#define CPHY_BASE			0xfff58000
-#define CPHY_WIDTH			0x1000
-#define CPHY_DTE_XS			5
-#define CPHY_MII			31
-#define SERDES_CR_CTL			0x80a0
-#define SERDES_CR_ADDR			0x80a1
-#define SERDES_CR_DATA			0x80a2
-#define CR_BUSY				0x0001
-#define CR_START			0x0001
-#define CR_WR_RDN			0x0002
-#define CPHY_TX_INPUT_STS		0x2001
-#define CPHY_RX_INPUT_STS		0x2002
-#define CPHY_SATA_TX_OVERRIDE_BIT	0x8000
-#define CPHY_SATA_RX_OVERRIDE_BIT	0x4000
-#define CPHY_TX_INPUT_OVERRIDE		0x2004
-#define CPHY_RX_INPUT_OVERRIDE		0x2005
-#define SPHY_LANE			0x100
-#define SPHY_HALF_RATE			0x0001
-#define CPHY_SATA_DPLL_MODE		0x0700
-#define CPHY_SATA_DPLL_SHIFT		8
-#define CPHY_SATA_TX_ATTEN		0x1c00
-#define CPHY_SATA_TX_ATTEN_SHIFT	10
-
-#define HB_SREG_SATA_ATTEN		0xfff3cf24
-
-#define SATA_PORT_BASE			0xffe08000
-#define SATA_VERSIONR			0xf8
-#define SATA_HB_VERSION			0x3332302a
-
-static u32 __combo_phy_reg_read(u8 phy, u8 dev, u32 addr)
-{
-	u32 data;
-	writel(CPHY_MAP(dev, addr), CPHY_BASE + 0x800 + CPHY_WIDTH * phy);
-	data = readl(CPHY_ADDR(CPHY_BASE + CPHY_WIDTH * phy, dev, addr));
-	return data;
-}
-
-static void __combo_phy_reg_write(u8 phy, u8 dev, u32 addr, u32 data)
-{
-	writel(CPHY_MAP(dev, addr), CPHY_BASE + 0x800 + CPHY_WIDTH * phy);
-	writel(data, CPHY_ADDR(CPHY_BASE + CPHY_WIDTH * phy, dev, addr));
-}
-
-static u32 combo_phy_read(u8 phy, u32 addr)
-{
-	u8 dev = CPHY_DTE_XS;
-	if (phy == 5)
-		dev = CPHY_MII;
-	while (__combo_phy_reg_read(phy, dev, SERDES_CR_CTL) & CR_BUSY)
-		udelay(5);
-	__combo_phy_reg_write(phy, dev, SERDES_CR_ADDR, addr);
-	__combo_phy_reg_write(phy, dev, SERDES_CR_CTL, CR_START);
-	while (__combo_phy_reg_read(phy, dev, SERDES_CR_CTL) & CR_BUSY)
-		udelay(5);
-	return __combo_phy_reg_read(phy, dev, SERDES_CR_DATA);
-}
-
-static void combo_phy_write(u8 phy, u32 addr, u32 data)
-{
-	u8 dev = CPHY_DTE_XS;
-	if (phy == 5)
-		dev = CPHY_MII;
-	while (__combo_phy_reg_read(phy, dev, SERDES_CR_CTL) & CR_BUSY)
-		udelay(5);
-	__combo_phy_reg_write(phy, dev, SERDES_CR_ADDR, addr);
-	__combo_phy_reg_write(phy, dev, SERDES_CR_DATA, data);
-	__combo_phy_reg_write(phy, dev, SERDES_CR_CTL, CR_WR_RDN | CR_START);
-}
-
-static void cphy_spread_spectrum_override(u8 phy, u8 lane, u32 val)
-{
-	u32 tmp;
-	tmp = combo_phy_read(phy, CPHY_RX_INPUT_STS + lane * SPHY_LANE);
-	tmp &= ~CPHY_SATA_RX_OVERRIDE_BIT;
-	combo_phy_write(phy, CPHY_RX_INPUT_OVERRIDE + lane * SPHY_LANE, tmp);
-
-	tmp |= CPHY_SATA_RX_OVERRIDE_BIT;
-	combo_phy_write(phy, CPHY_RX_INPUT_OVERRIDE + lane * SPHY_LANE, tmp);
-
-	tmp &= ~CPHY_SATA_DPLL_MODE;
-	tmp |= (val << CPHY_SATA_DPLL_SHIFT) & CPHY_SATA_DPLL_MODE;
-	combo_phy_write(phy, CPHY_RX_INPUT_OVERRIDE + lane * SPHY_LANE, tmp);
-}
-
-static void cphy_tx_attenuation_override(u8 phy, u8 lane)
-{
-	u32 val;
-	u32 tmp;
-	u8  shift;
-
-	shift = ((phy == 5) ? 4 : lane) * 4;
-
-	val = (readl(HB_SREG_SATA_ATTEN) >> shift) & 0xf;
-
-	if (val & 0x8)
-		return;
-
-	tmp = combo_phy_read(phy, CPHY_TX_INPUT_STS + lane * SPHY_LANE);
-	tmp &= ~CPHY_SATA_TX_OVERRIDE_BIT;
-	combo_phy_write(phy, CPHY_TX_INPUT_OVERRIDE + lane * SPHY_LANE, tmp);
-
-	tmp |= CPHY_SATA_TX_OVERRIDE_BIT;
-	combo_phy_write(phy, CPHY_TX_INPUT_OVERRIDE + lane * SPHY_LANE, tmp);
-
-	tmp |= (val << CPHY_SATA_TX_ATTEN_SHIFT) & CPHY_SATA_TX_ATTEN;
-	combo_phy_write(phy, CPHY_TX_INPUT_OVERRIDE + lane * SPHY_LANE, tmp);
-}
-
-static void cphy_disable_port_overrides(u8 port)
-{
-	u32 tmp;
-	u8 lane = 0, phy = 0;
-
-	if (port == 0)
-		phy = 5;
-	else if (port < 5)
-		lane = port - 1;
-	else
-		return;
-	tmp = combo_phy_read(phy, CPHY_RX_INPUT_STS + lane * SPHY_LANE);
-	tmp &= ~CPHY_SATA_RX_OVERRIDE_BIT;
-	combo_phy_write(phy, CPHY_RX_INPUT_OVERRIDE + lane * SPHY_LANE, tmp);
-
-	tmp = combo_phy_read(phy, CPHY_TX_INPUT_OVERRIDE + lane * SPHY_LANE);
-	tmp &= ~CPHY_SATA_TX_OVERRIDE_BIT;
-	combo_phy_write(phy, CPHY_TX_INPUT_OVERRIDE + lane * SPHY_LANE, tmp);
-}
-
-void cphy_disable_overrides(void)
-{
-	int i;
-	u32 port_map;
-
-	port_map = readl(0xffe08000 + HOST_PORTS_IMPL);
-	for (i = 0; i < 5; i++) {
-		if (port_map & (1 << i))
-			cphy_disable_port_overrides(i);
-	}
-}
-
-static void cphy_override_lane(u8 port)
-{
-	u32 tmp, k = 0;
-	u8 lane = 0, phy = 0;
-
-	if (port == 0)
-		phy = 5;
-	else if (port < 5)
-		lane = port - 1;
-	else
-		return;
-
-	do {
-		tmp = combo_phy_read(0, CPHY_RX_INPUT_STS +
-					lane * SPHY_LANE);
-	} while ((tmp & SPHY_HALF_RATE) && (k++ < 1000));
-	cphy_spread_spectrum_override(phy, lane, 3);
-	cphy_tx_attenuation_override(phy, lane);
-}
-
-#define WAIT_MS_LINKUP	4
-
-int ahci_link_up(struct ahci_uc_priv *probe_ent, int port)
-{
-	u32 tmp;
-	int j = 0;
-	u8 *port_mmio = (u8 *)probe_ent->port[port].port_mmio;
-	u32 is_highbank = readl(SATA_PORT_BASE + SATA_VERSIONR) ==
-				SATA_HB_VERSION ? 1 : 0;
-
-	/* Bring up SATA link.
-	 * SATA link bringup time is usually less than 1 ms; only very
-	 * rarely has it taken between 1-2 ms. Never seen it above 2 ms.
-	 */
-	while (j < WAIT_MS_LINKUP) {
-		if (is_highbank && (j == 0)) {
-			cphy_disable_port_overrides(port);
-			writel(0x301, port_mmio + PORT_SCR_CTL);
-			udelay(1000);
-			writel(0x300, port_mmio + PORT_SCR_CTL);
-			udelay(1000);
-			cphy_override_lane(port);
-		}
-
-		tmp = readl(port_mmio + PORT_SCR_STAT);
-		if ((tmp & 0xf) == 0x3)
-			return 0;
-		udelay(1000);
-		j++;
-
-		if ((j == WAIT_MS_LINKUP) && (tmp & 0xf))
-			j = 0;	/* retry phy reset */
-	}
-	return 1;
-}
board/highbank/highbank.c deleted +0 -148
deleted file mode 100644
index e07295c7b5c0..000000000000
@@ -1,148 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2010-2011 Calxeda, Inc.
- */
-
-#include <common.h>
-#include <ahci.h>
-#include <cpu_func.h>
-#include <env.h>
-#include <fdt_support.h>
-#include <init.h>
-#include <net.h>
-#include <netdev.h>
-#include <scsi.h>
-
-#include <linux/sizes.h>
-#include <asm/io.h>
-
-#define HB_AHCI_BASE			0xffe08000
-
-#define HB_SCU_A9_PWR_STATUS		0xfff10008
-#define HB_SREG_A9_PWR_REQ		0xfff3cf00
-#define HB_SREG_A9_BOOT_SRC_STAT	0xfff3cf04
-#define HB_SREG_A9_PWRDOM_STAT		0xfff3cf20
-#define HB_SREG_A15_PWR_CTRL		0xfff3c200
-
-#define HB_PWR_SUSPEND			0
-#define HB_PWR_SOFT_RESET		1
-#define HB_PWR_HARD_RESET		2
-#define HB_PWR_SHUTDOWN			3
-
-#define PWRDOM_STAT_SATA		0x80000000
-#define PWRDOM_STAT_PCI			0x40000000
-#define PWRDOM_STAT_EMMC		0x20000000
-
-#define HB_SCU_A9_PWR_NORMAL		0
-#define HB_SCU_A9_PWR_DORMANT		2
-#define HB_SCU_A9_PWR_OFF		3
-
-DECLARE_GLOBAL_DATA_PTR;
-
-void cphy_disable_overrides(void);
-
-/*
- * Miscellaneous platform dependent initialisations
- */
-int board_init(void)
-{
-	icache_enable();
-
-	return 0;
-}
-
-/* We know all the init functions have been run now */
-int board_eth_init(struct bd_info *bis)
-{
-	int rc = 0;
-
-#ifdef CONFIG_CALXEDA_XGMAC
-	rc += calxedaxgmac_initialize(0, 0xfff50000);
-	rc += calxedaxgmac_initialize(1, 0xfff51000);
-#endif
-	return rc;
-}
-
-#ifdef CONFIG_SCSI_AHCI_PLAT
-void scsi_init(void)
-{
-	u32 reg = readl(HB_SREG_A9_PWRDOM_STAT);
-
-	cphy_disable_overrides();
-	if (reg & PWRDOM_STAT_SATA) {
-		ahci_init((void __iomem *)HB_AHCI_BASE);
-		scsi_scan(true);
-	}
-}
-#endif
-
-#ifdef CONFIG_MISC_INIT_R
-int misc_init_r(void)
-{
-	char envbuffer[16];
-	u32 boot_choice;
-
-	boot_choice = readl(HB_SREG_A9_BOOT_SRC_STAT) & 0xff;
-	sprintf(envbuffer, "bootcmd%d", boot_choice);
-	if (env_get(envbuffer)) {
-		sprintf(envbuffer, "run bootcmd%d", boot_choice);
-		env_set("bootcmd", envbuffer);
-	} else
-		env_set("bootcmd", "");
-
-	return 0;
-}
-#endif
-
-int dram_init(void)
-{
-	gd->ram_size = SZ_512M;
-	return 0;
-}
-
-#if defined(CONFIG_OF_BOARD_SETUP)
-int ft_board_setup(void *fdt, struct bd_info *bd)
-{
-	static const char disabled[] = "disabled";
-	u32 reg = readl(HB_SREG_A9_PWRDOM_STAT);
-
-	if (!(reg & PWRDOM_STAT_SATA))
-		do_fixup_by_compat(fdt, "calxeda,hb-ahci", "status",
-			disabled, sizeof(disabled), 1);
-
-	if (!(reg & PWRDOM_STAT_EMMC))
-		do_fixup_by_compat(fdt, "calxeda,hb-sdhci", "status",
-			disabled, sizeof(disabled), 1);
-
-	return 0;
-}
-#endif
-
-static int is_highbank(void)
-{
-	uint32_t midr;
-
-	asm volatile ("mrc p15, 0, %0, c0, c0, 0\n" : "=r"(midr));
-
-	return (midr & 0xfff0) == 0xc090;
-}
-
-void reset_cpu(ulong addr)
-{
-	writel(HB_PWR_HARD_RESET, HB_SREG_A9_PWR_REQ);
-	if (is_highbank())
-		writeb(HB_SCU_A9_PWR_OFF, HB_SCU_A9_PWR_STATUS);
-	else
-		writel(0x1, HB_SREG_A15_PWR_CTRL);
-
-	wfi();
-}
-
-/*
- * turn off the override before transferring control to Linux, since Linux
- * may not support spread spectrum.
- */
-void arch_preboot_os(void)
-{
-	cphy_disable_overrides();
-}
configs/highbank_defconfig deleted +0 -28
deleted file mode 100644
index 369b65ceee88..000000000000
@@ -1,28 +0,0 @@
-CONFIG_ARM=y
-CONFIG_SYS_DCACHE_OFF=y
-CONFIG_SYS_THUMB_BUILD=y
-CONFIG_ARCH_HIGHBANK=y
-CONFIG_SYS_TEXT_BASE=0x00008000
-CONFIG_NR_DRAM_BANKS=0
-CONFIG_ENV_SIZE=0x2000
-CONFIG_SYS_BOOTCOUNT_ADDR=0xfff3cf0c
-CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
-CONFIG_DISTRO_DEFAULTS=y
-CONFIG_FIT=y
-CONFIG_OF_BOARD_SETUP=y
-CONFIG_AUTOBOOT_KEYED=y
-CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds...\nPress <s> to stop or <d> to delay\n"
-CONFIG_AUTOBOOT_KEYED_CTRLC=y
-# CONFIG_USE_BOOTCOMMAND is not set
-# CONFIG_DISPLAY_CPUINFO is not set
-# CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_MISC_INIT_R=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_ENV_IS_IN_NVRAM=y
-CONFIG_ENV_ADDR=0xFFF88000
-CONFIG_SCSI_AHCI=y
-CONFIG_BOOTCOUNT_LIMIT=y
-# CONFIG_MMC is not set
-CONFIG_SCSI=y
-CONFIG_CONS_INDEX=0
-CONFIG_OF_LIBFDT=y
include/configs/highbank.h deleted +0 -60
deleted file mode 100644
index bdbaa475d204..000000000000
@@ -1,60 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- * Copyright 2010-2011 Calxeda, Inc.
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define CONFIG_SYS_BOOTMAPSZ		(16 << 20)
-
-#define CONFIG_SYS_TIMER_RATE		(150000000/256)
-#define CONFIG_SYS_TIMER_COUNTER	(0xFFF34000 + 0x4)
-#define CONFIG_SYS_TIMER_COUNTS_DOWN
-
-/*
- * Size of malloc() pool
- */
-#define CONFIG_SYS_MALLOC_LEN		(512 * 1024)
-
-#define CONFIG_PL011_CLOCK		150000000
-#define CONFIG_PL01x_PORTS		{ (void *)(0xFFF36000) }
-
-#define CONFIG_SYS_BOOTCOUNT_LE		/* Use little-endian accessors */
-
-#define CONFIG_SCSI_AHCI_PLAT
-#define CONFIG_SYS_SCSI_MAX_SCSI_ID	5
-#define CONFIG_SYS_SCSI_MAX_LUN		1
-#define CONFIG_SYS_SCSI_MAX_DEVICE	(CONFIG_SYS_SCSI_MAX_SCSI_ID * \
-					CONFIG_SYS_SCSI_MAX_LUN)
-
-#define CONFIG_CALXEDA_XGMAC
-
-#define CONFIG_BOOT_RETRY_TIME		-1
-#define CONFIG_RESET_TO_RETRY
-
-/*
- * Miscellaneous configurable options
- */
-#define CONFIG_SYS_CBSIZE		1024	/* Console I/O Buffer Size */
-#define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE
-
-#define CONFIG_SYS_LOAD_ADDR		0x800000
-#define CONFIG_SYS_64BIT_LBA
-
-/*-----------------------------------------------------------------------
- * Physical Memory Map
- * The DRAM is already setup, so do not touch the DT node later.
- */
-#define PHYS_SDRAM_1_SIZE		(4089 << 20)
-
-/* Environment data setup
-*/
-#define CONFIG_SYS_NVRAM_BASE_ADDR	0xfff88000	/* NVRAM base address */
-#define CONFIG_SYS_NVRAM_SIZE		0x8000		/* NVRAM size */
-
-#define CONFIG_SYS_SDRAM_BASE		0x00000000
-#define CONFIG_SYS_INIT_SP_ADDR		0x01000000
-#define CONFIG_SKIP_LOWLEVEL_INIT
-
-#endif
author
#9 lore raw

PATCH 5/16 arm: Remove highbank board

Quoted 9 lines · Andr? Przywara

On 10/02/2021 02:42, Tom Rini wrote:

Hi Tom,

Quoted 4 lines

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Quoted 8 lines

So I made a series a few months ago to bring highbank up to speed, it converts everything over to DM, also starts using the DT provided by the board for its own purposes.
I was facing one issue with SATA though, which made me drop the ball there :-(
This is for the 2014.07 merge window, I guess? So if I manage to send something before April, would you consider dropping this patch then? Or do I need to start the series with a revert?

Good question. I'm not likely to get everything dropped that I want to drop for v2021.04. Since you have everything but SATA/etc converted (which I guess is a driver needs conversion?) I'd like to see the base converted and you picking up the MAINTAINERS entry for it soon so I can review and take that. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210219/b76fb7b0/attachment.sig>
author
#10 lore raw

PATCH 6/16 arm: Remove dms-ba16 board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Akshay Bhat <[email protected]>
Cc Ken Lin <[email protected]>
---
 arch/arm/mach-imx/mx6/Kconfig            |   7 -
 board/advantech/dms-ba16/Kconfig         |  31 --
 board/advantech/dms-ba16/MAINTAINERS     |   8 -
 board/advantech/dms-ba16/Makefile        |   6 -
 board/advantech/dms-ba16/clocks.cfg      |  25 -
 board/advantech/dms-ba16/ddr-setup.cfg   |  39 --
 board/advantech/dms-ba16/dms-ba16.c      | 629 -----------------------
 board/advantech/dms-ba16/dms-ba16_1g.cfg |  24 -
 board/advantech/dms-ba16/dms-ba16_2g.cfg |  24 -
 board/advantech/dms-ba16/micron-1g.cfg   |  63 ---
 board/advantech/dms-ba16/samsung-2g.cfg  |  63 ---
 configs/dms-ba16-1g_defconfig            |  66 ---
 configs/dms-ba16_defconfig               |  65 ---
 include/configs/advantech_dms-ba16.h     | 222 --------
 14 files changed, 1272 deletions(-)
 delete mode 100644 board/advantech/dms-ba16/Kconfig
 delete mode 100644 board/advantech/dms-ba16/MAINTAINERS
 delete mode 100644 board/advantech/dms-ba16/Makefile
 delete mode 100644 board/advantech/dms-ba16/clocks.cfg
 delete mode 100644 board/advantech/dms-ba16/ddr-setup.cfg
 delete mode 100644 board/advantech/dms-ba16/dms-ba16.c
 delete mode 100644 board/advantech/dms-ba16/dms-ba16_1g.cfg
 delete mode 100644 board/advantech/dms-ba16/dms-ba16_2g.cfg
 delete mode 100644 board/advantech/dms-ba16/micron-1g.cfg
 delete mode 100644 board/advantech/dms-ba16/samsung-2g.cfg
 delete mode 100644 configs/dms-ba16-1g_defconfig
 delete mode 100644 configs/dms-ba16_defconfig
 delete mode 100644 include/configs/advantech_dms-ba16.h
arch/arm/mach-imx/mx6/Kconfig +0 -7
index dacfe623903c..ebc5e6c01d97 100644
@@ -111,12 +111,6 @@ choice
 	prompt "MX6 board select"
 	optional
 
-config TARGET_ADVANTECH_DMS_BA16
-	bool "Advantech dms-ba16"
-	depends on MX6Q
-	select BOARD_LATE_INIT
-	imply CMD_SATA
-
 config TARGET_APALIS_IMX6
 	bool "Toradex Apalis iMX6 board"
 	depends on MX6Q
@@ -700,7 +694,6 @@ config SYS_SOC
 
 source "board/ge/bx50v3/Kconfig"
 source "board/ge/b1x5v2/Kconfig"
-source "board/advantech/dms-ba16/Kconfig"
 source "board/aristainetos/Kconfig"
 source "board/armadeus/opos6uldev/Kconfig"
 source "board/bachmann/ot1200/Kconfig"
board/advantech/dms-ba16/Kconfig deleted +0 -31
deleted file mode 100644
index 040eb866b53d..000000000000
@@ -1,31 +0,0 @@
-if TARGET_ADVANTECH_DMS_BA16
-
-choice
-	prompt "DDR Size"
-	default SYS_DDR_2G
-
-config SYS_DDR_1G
-	bool "1GiB"
-
-config SYS_DDR_2G
-	bool "2GiB"
-
-endchoice
-
-config IMX_CONFIG
-	default "board/advantech/dms-ba16/dms-ba16_2g.cfg" if SYS_DDR_2G
-	default "board/advantech/dms-ba16/dms-ba16_1g.cfg" if SYS_DDR_1G
-
-config SYS_BOARD
-	default "dms-ba16"
-
-config SYS_VENDOR
-	default "advantech"
-
-config SYS_SOC
-	default "mx6"
-
-config SYS_CONFIG_NAME
-	default "advantech_dms-ba16"
-
-endif
board/advantech/dms-ba16/MAINTAINERS deleted +0 -8
deleted file mode 100644
index e8ea3dd7b3cf..000000000000
@@ -1,8 +0,0 @@
-ADVANTECH_DMS-BA16 BOARD
-M:	Akshay Bhat <[email protected]>
-M:	Ken Lin <[email protected]>
-S:	Maintained
-F:	board/advantech/dms-ba16/
-F:	include/configs/advantech_dms-ba16.h
-F:	configs/dms-ba16_defconfig
-F:	configs/dms-ba16-1g_defconfig
board/advantech/dms-ba16/Makefile deleted +0 -6
deleted file mode 100644
index b87fc29f065e..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright 2016 Timesys Corporation
-# Copyright 2016 Advantech Corporation
-
-obj-y  := dms-ba16.o
board/advantech/dms-ba16/clocks.cfg deleted +0 -25
deleted file mode 100644
index abc769c4e5fd..000000000000
@@ -1,25 +0,0 @@
-/* set the default clock gate to save power */
-DATA 4, CCM_CCGR0, 0x00C03F3F
-DATA 4, CCM_CCGR1, 0x0030FC03
-DATA 4, CCM_CCGR2, 0x0FFFC000
-DATA 4, CCM_CCGR3, 0x3FF00000
-DATA 4, CCM_CCGR4, 0x00FFF300
-DATA 4, CCM_CCGR5, 0x0F0000C3
-DATA 4, CCM_CCGR6, 0x000003FF
-
-/* enable AXI cache for VDOA/VPU/IPU */
-DATA 4, MX6_IOMUXC_GPR4, 0xF00000CF
-/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */
-DATA 4, MX6_IOMUXC_GPR6, 0x007F007F
-DATA 4, MX6_IOMUXC_GPR7, 0x007F007F
-
-/*
- * Setup CCM_CCOSR register as follows:
- *
- * cko1_en  1    --> CKO1 enabled
- * cko1_div 111  --> divide by 8
- * cko1_sel 1011 --> ahb_clk_root
- *
- * This sets CKO1 at ahb_clk_root/8 132/8 16.5 MHz
- */
-DATA 4, CCM_CCOSR, 0x000000fb
board/advantech/dms-ba16/ddr-setup.cfg deleted +0 -39
deleted file mode 100644
index 4c43e648f796..000000000000
@@ -1,39 +0,0 @@
-/* DDR IO */
-DATA 4, MX6_IOM_GRP_DDR_TYPE, 0x000c0000
-DATA 4, MX6_IOM_GRP_DDRPKE,   0x00000000
-DATA 4, MX6_IOM_DRAM_SDCLK_0, 0x00000030
-DATA 4, MX6_IOM_DRAM_SDCLK_1, 0x00000030
-DATA 4, MX6_IOM_DRAM_CAS,     0x00000030
-DATA 4, MX6_IOM_DRAM_RAS,     0x00000030
-DATA 4, MX6_IOM_GRP_ADDDS,    0x00000030
-DATA 4, MX6_IOM_DRAM_RESET,   0x00000030
-DATA 4, MX6_IOM_DRAM_SDBA2,   0x00000000
-DATA 4, MX6_IOM_DRAM_SDODT0,  0x00000030
-DATA 4, MX6_IOM_DRAM_SDODT1,  0x00000030
-DATA 4, MX6_IOM_GRP_CTLDS,    0x00000030
-DATA 4, MX6_IOM_DDRMODE_CTL,  0x00020000
-DATA 4, MX6_IOM_DRAM_SDQS0,   0x00000030
-DATA 4, MX6_IOM_DRAM_SDQS1,   0x00000030
-DATA 4, MX6_IOM_DRAM_SDQS2,   0x00000030
-DATA 4, MX6_IOM_DRAM_SDQS3,   0x00000030
-DATA 4, MX6_IOM_DRAM_SDQS4,   0x00000030
-DATA 4, MX6_IOM_DRAM_SDQS5,   0x00000030
-DATA 4, MX6_IOM_DRAM_SDQS6,   0x00000030
-DATA 4, MX6_IOM_DRAM_SDQS7,   0x00000030
-DATA 4, MX6_IOM_GRP_DDRMODE,  0x00020000
-DATA 4, MX6_IOM_GRP_B0DS,     0x00000030
-DATA 4, MX6_IOM_GRP_B1DS,     0x00000030
-DATA 4, MX6_IOM_GRP_B2DS,     0x00000030
-DATA 4, MX6_IOM_GRP_B3DS,     0x00000030
-DATA 4, MX6_IOM_GRP_B4DS,     0x00000030
-DATA 4, MX6_IOM_GRP_B5DS,     0x00000030
-DATA 4, MX6_IOM_GRP_B6DS,     0x00000030
-DATA 4, MX6_IOM_GRP_B7DS,     0x00000030
-DATA 4, MX6_IOM_DRAM_DQM0,    0x00000030
-DATA 4, MX6_IOM_DRAM_DQM1,    0x00000030
-DATA 4, MX6_IOM_DRAM_DQM2,    0x00000030
-DATA 4, MX6_IOM_DRAM_DQM3,    0x00000030
-DATA 4, MX6_IOM_DRAM_DQM4,    0x00000030
-DATA 4, MX6_IOM_DRAM_DQM5,    0x00000030
-DATA 4, MX6_IOM_DRAM_DQM6,    0x00000030
-DATA 4, MX6_IOM_DRAM_DQM7,    0x00000030
board/advantech/dms-ba16/dms-ba16.c deleted +0 -629

629 lines not on this page · raw message

board/advantech/dms-ba16/dms-ba16_1g.cfg deleted +0 -24
deleted file mode 100644
index 1c737baaf28b..000000000000
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *
- * Copyright 2015 Timesys Corporation.
- * Copyright 2015 General Electric Company
- *
- * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure
- * and create imximage boot image
- *
- * The syntax is taken as close as possible with the kwbimage
- */
-
-IMAGE_VERSION 2
-BOOT_FROM sd
-
-#define __ASSEMBLY__
-#include <config.h>
-#include "asm/arch/mx6-ddr.h"
-#include "asm/arch/iomux.h"
-#include "asm/arch/crm_regs.h"
-
-#include "ddr-setup.cfg"
-#include "micron-1g.cfg"
-#include "clocks.cfg"
board/advantech/dms-ba16/dms-ba16_2g.cfg deleted +0 -24
deleted file mode 100644
index 371a84eb7e2b..000000000000
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
-/*
- *
- * Copyright 2015 Timesys Corporation.
- * Copyright 2015 General Electric Company
- *
- * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure
- * and create imximage boot image
- *
- * The syntax is taken as close as possible with the kwbimage
- */
-
-IMAGE_VERSION 2
-BOOT_FROM sd
-
-#define __ASSEMBLY__
-#include <config.h>
-#include "asm/arch/mx6-ddr.h"
-#include "asm/arch/iomux.h"
-#include "asm/arch/crm_regs.h"
-
-#include "ddr-setup.cfg"
-#include "samsung-2g.cfg"
-#include "clocks.cfg"
board/advantech/dms-ba16/micron-1g.cfg deleted +0 -63

63 lines not on this page · raw message

board/advantech/dms-ba16/samsung-2g.cfg deleted +0 -63

63 lines not on this page · raw message

configs/dms-ba16-1g_defconfig deleted +0 -66

66 lines not on this page · raw message

configs/dms-ba16_defconfig deleted +0 -65

65 lines not on this page · raw message

include/configs/advantech_dms-ba16.h deleted +0 -222

222 lines not on this page · raw message

Signature · 1 line
2.17.1
author
#11 lore raw

PATCH 6/16 arm: Remove dms-ba16 board

Quoted 8 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Akshay Bhat <[email protected]>
Cc Ken Lin <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210411/936d1e0b/attachment.sig>
author
#12 lore raw

PATCH 7/16 arm: Remove ot1200 board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. In order to convert to using the DWC SATA driver under DM further migrations are required.

Cc Christian Gmeiner <[email protected]>
---
 arch/arm/mach-imx/mx6/Kconfig              |   6 -
 board/bachmann/ot1200/Kconfig              |  12 -
 board/bachmann/ot1200/MAINTAINERS          |   6 -
 board/bachmann/ot1200/Makefile             |  11 -
 board/bachmann/ot1200/README               |  20 --
 board/bachmann/ot1200/mx6q_4x_mt41j128.cfg | 154 ---------
 board/bachmann/ot1200/ot1200.c             | 359 ---------------------
 board/bachmann/ot1200/ot1200_spl.c         | 152 ---------
 configs/ot1200_defconfig                   |  59 ----
 configs/ot1200_spl_defconfig               |  70 ----
 include/configs/ot1200.h                   |  95 ------
 11 files changed, 944 deletions(-)
 delete mode 100644 board/bachmann/ot1200/Kconfig
 delete mode 100644 board/bachmann/ot1200/MAINTAINERS
 delete mode 100644 board/bachmann/ot1200/Makefile
 delete mode 100644 board/bachmann/ot1200/README
 delete mode 100644 board/bachmann/ot1200/mx6q_4x_mt41j128.cfg
 delete mode 100644 board/bachmann/ot1200/ot1200.c
 delete mode 100644 board/bachmann/ot1200/ot1200_spl.c
 delete mode 100644 configs/ot1200_defconfig
 delete mode 100644 configs/ot1200_spl_defconfig
 delete mode 100644 include/configs/ot1200.h
arch/arm/mach-imx/mx6/Kconfig +0 -6
index ebc5e6c01d97..0660035a9fd2 100644
@@ -470,11 +470,6 @@ config TARGET_OPOS6ULDEV
 	depends on MX6UL
 	select MX6UL_OPOS6UL
 
-config TARGET_OT1200
-	bool "Bachmann OT1200"
-	select SUPPORT_SPL
-	imply CMD_SATA
-
 config TARGET_PICO_IMX6
 	bool "PICO-IMX6"
 	depends on MX6QDL
@@ -696,7 +691,6 @@ source "board/ge/bx50v3/Kconfig"
 source "board/ge/b1x5v2/Kconfig"
 source "board/aristainetos/Kconfig"
 source "board/armadeus/opos6uldev/Kconfig"
-source "board/bachmann/ot1200/Kconfig"
 source "board/barco/platinum/Kconfig"
 source "board/barco/titanium/Kconfig"
 source "board/boundary/nitrogen6x/Kconfig"
board/bachmann/ot1200/Kconfig deleted +0 -12
deleted file mode 100644
index 4ccb60a97fed..000000000000
@@ -1,12 +0,0 @@
-if TARGET_OT1200
-
-config SYS_BOARD
-	default "ot1200"
-
-config SYS_VENDOR
-	default "bachmann"
-
-config SYS_CONFIG_NAME
-	default "ot1200"
-
-endif
board/bachmann/ot1200/MAINTAINERS deleted +0 -6
deleted file mode 100644
index ad75c24ee469..000000000000
@@ -1,6 +0,0 @@
-BACHMANN ELECTRONIC OT1200 BOARD
-M:	Christian Gmeiner <[email protected]>
-S:	Maintained
-F:	board/bachmann/ot1200
-F:	include/configs/ot1200.h
-F:	configs/ot1200*_defconfig
board/bachmann/ot1200/Makefile deleted +0 -11
deleted file mode 100644
index 73000e3d3ce6..000000000000
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) 2012-2013, Guennadi Liakhovetski <[email protected]>
-# (C) Copyright 2012-2013 Freescale Semiconductor, Inc.
-# Copyright (C) 2013, Boundary Devices <[email protected]>
-
-ifdef CONFIG_SPL_BUILD
-obj-y  := ot1200.o ot1200_spl.o
-else
-obj-y  := ot1200.o
-endif
board/bachmann/ot1200/README deleted +0 -20
deleted file mode 100644
index c03d44e458a4..000000000000
@@ -1,20 +0,0 @@
-U-Boot for the Bachmann electronic GmbH OT1200 devices
-
-There are two different versions of the base board, which differ
-in the way ethernet is done. The variant detection is done during
-runtime based on the address of the found phy.
-
-- "mr" variant
-FEC is connected directly to an ethernet switch (KSZ8895). The ethernet
-port is always up and auto-negotiation is not possible.
-
-- normal variant
-FEC is connected to a normal phy and auto-negotiation is possible.
-
-
-The variant name is part of the dtb file name loaded by u-boot. This
-make is possible to boot the linux kernel and make use variant specific
-devicetree (fixed-phy link).
-
-In order to support different display resoltuions/sizes the OT1200 devices
-are making use of EDID data stored in an i2c EEPROM.
board/bachmann/ot1200/mx6q_4x_mt41j128.cfg deleted +0 -154

154 lines not on this page · raw message

board/bachmann/ot1200/ot1200.c deleted +0 -359

359 lines not on this page · raw message

board/bachmann/ot1200/ot1200_spl.c deleted +0 -152

152 lines not on this page · raw message

configs/ot1200_defconfig deleted +0 -59

59 lines not on this page · raw message

configs/ot1200_spl_defconfig deleted +0 -70

70 lines not on this page · raw message

include/configs/ot1200.h deleted +0 -95

95 lines not on this page · raw message

Signature · 1 line
2.17.1
#13 lore raw

PATCH 7/16 arm: Remove ot1200 board

Hi Tom

Am Mi., 10. Feb. 2021 um 03:43 Uhr schrieb Tom Rini <[email protected]>:

Quoted 6 lines

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. In order to convert to using the DWC SATA driver under DM further migrations are required.

I will drive tomorrow to the office to get my hands on the device again. On Monday I will
ack this patch or will post some patches to keep the board.

Signature · 5 lines
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy
#14 lore raw

PATCH 7/16 arm: Remove ot1200 board

Am Mi., 17. Feb. 2021 um 10:58 Uhr schrieb Christian Gmeiner <[email protected]>:

Quoted 11 lines

Hi Tom

Am Mi., 10. Feb. 2021 um 03:43 Uhr schrieb Tom Rini <[email protected]>:

Quoted 6 lines

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. In order to convert to using the DWC SATA driver under DM further migrations are required.

Quoted 4 lines

I will drive tomorrow to the office to get my hands on the device again. On Monday I will
ack this patch or will post some patches to keep the board.

At the moment there is no time planned for anyone to work on this.

Signature · 5 lines
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info/privacypolicy
author
#15 lore raw

PATCH 7/16 arm: Remove ot1200 board

In reply to Tom Rini
Quoted 8 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. In order to convert to using the DWC SATA driver under DM further migrations are required.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210411/981de78f/attachment.sig>
author
#16 lore raw

PATCH 8/16 arm: Remove mx53loco board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

---
 arch/arm/mach-imx/mx5/Kconfig                 |   6 -
 arch/arm/mach-imx/mx5/Makefile                |   1 -
 board/freescale/mx53loco/Kconfig              |  15 -
 board/freescale/mx53loco/MAINTAINERS          |   6 -
 board/freescale/mx53loco/Makefile             |   7 -
 board/freescale/mx53loco/mx53loco.c           | 367 ------------------
 board/freescale/mx53loco/mx53loco_video.c     | 114 ------
 .../mx53loco => k+p/kp_imx53}/imximage.cfg    |   0
 configs/kp_imx53_defconfig                    |   2 +-
 configs/mx53loco_defconfig                    |  43 --
 include/configs/mx53loco.h                    | 181 ---------
 11 files changed, 1 insertion(+), 741 deletions(-)
 delete mode 100644 board/freescale/mx53loco/Kconfig
 delete mode 100644 board/freescale/mx53loco/MAINTAINERS
 delete mode 100644 board/freescale/mx53loco/Makefile
 delete mode 100644 board/freescale/mx53loco/mx53loco.c
 delete mode 100644 board/freescale/mx53loco/mx53loco_video.c
 rename board/{freescale/mx53loco => k+p/kp_imx53}/imximage.cfg (100%)
 delete mode 100644 configs/mx53loco_defconfig
 delete mode 100644 include/configs/mx53loco.h
arch/arm/mach-imx/mx5/Kconfig +0 -6
index bde37bb97e13..b2acf766134a 100644
@@ -61,11 +61,6 @@ config TARGET_MX53EVK
 	select BOARD_LATE_INIT
 	select MX53
 
-config TARGET_MX53LOCO
-	bool "Support mx53loco"
-	select BOARD_LATE_INIT
-	select MX53
-
 config TARGET_MX53PPD
 	bool "Support mx53ppd"
 	select MX53
@@ -93,7 +88,6 @@ source "board/beckhoff/mx53cx9020/Kconfig"
 source "board/freescale/mx51evk/Kconfig"
 source "board/freescale/mx53ard/Kconfig"
 source "board/freescale/mx53evk/Kconfig"
-source "board/freescale/mx53loco/Kconfig"
 source "board/freescale/mx53smd/Kconfig"
 source "board/ge/mx53ppd/Kconfig"
 source "board/inversepath/usbarmory/Kconfig"
arch/arm/mach-imx/mx5/Makefile +0 -1
index 40d1998637ca..9692f5568eef 100644
@@ -10,4 +10,3 @@ obj-y += lowlevel_init.o
 
 # common files for mx53 dram initialization
 obj-$(CONFIG_TARGET_MX53CX9020) += mx53_dram.o
-obj-$(CONFIG_TARGET_MX53LOCO)   += mx53_dram.o
board/freescale/mx53loco/Kconfig deleted +0 -15
deleted file mode 100644
index 5ca1672bf7a5..000000000000
@@ -1,15 +0,0 @@
-if TARGET_MX53LOCO
-
-config SYS_BOARD
-	default "mx53loco"
-
-config SYS_VENDOR
-	default "freescale"
-
-config SYS_SOC
-	default "mx5"
-
-config SYS_CONFIG_NAME
-	default "mx53loco"
-
-endif
board/freescale/mx53loco/MAINTAINERS deleted +0 -6
deleted file mode 100644
index b4bd1a1842bd..000000000000
@@ -1,6 +0,0 @@
-MX53LOCO BOARD
-M:	Jason Liu <[email protected]>
-S:	Maintained
-F:	board/freescale/mx53loco/
-F:	include/configs/mx53loco.h
-F:	configs/mx53loco_defconfig
board/freescale/mx53loco/Makefile deleted +0 -7
deleted file mode 100644
index d2ebd94dca1d..000000000000
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2011 Freescale Semiconductor, Inc.
-# Jason Liu <[email protected]>
-
-obj-y			+= mx53loco.o
-obj-$(CONFIG_VIDEO)	+= mx53loco_video.o
board/freescale/mx53loco/mx53loco.c deleted +0 -367

367 lines not on this page · raw message

board/freescale/mx53loco/mx53loco_video.c deleted +0 -114

114 lines not on this page · raw message

board/k+p/kp_imx53/imximage.cfg renamed from board/freescale/mx53loco/imximage.cfg +0 -0
similarity index 100%
rename from board/freescale/mx53loco/imximage.cfg
rename to board/k+p/kp_imx53/imximage.cfg
configs/kp_imx53_defconfig +1 -1
index 717543805619..fd0405106b3c 100644
@@ -10,7 +10,7 @@ CONFIG_ENV_OFFSET_REDUND=0x102000
 CONFIG_DEFAULT_DEVICE_TREE="imx53-kp"
 CONFIG_FIT=y
 CONFIG_SUPPORT_RAW_INITRD=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx53loco/imximage.cfg"
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/k+p/kp_imx53/imximage.cfg"
 CONFIG_SHOW_BOOT_PROGRESS=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_STOP_STR="."
configs/mx53loco_defconfig deleted +0 -43

43 lines not on this page · raw message

include/configs/mx53loco.h deleted +0 -181

181 lines not on this page · raw message

Signature · 1 line
2.17.1
reviewer
#17 lore raw

PATCH 8/16 arm: Remove mx53loco board

Hi Tom,

Quoted 8 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

I have patches converting this board to DM, but need to test on the real hardware.

I will test them next week and if they work fine, I will submit the patches.

Please don't remove this board yet.

Thanks

author
#18 lore raw

PATCH 8/16 arm: Remove mx53loco board

Quoted 12 lines · Fabio Estevam

Hi Tom,

Quoted 8 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Quoted 6 lines

I have patches converting this board to DM, but need to test on the real hardware.

I will test them next week and if they work fine, I will submit the patches.

Please don't remove this board yet.

OK. What might be helpful would be looking over configs/*mx[235]* and running ./tools/rmboard.py and preemptively deleting everything I haven't sent a patch for yet, that there's no longer interest in. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210213/67d4ea02/attachment.sig>
reviewer
#19 lore raw

PATCH 8/16 arm: Remove mx53loco board

In reply to Fabio Estevam

Hi Tom,

Quoted 4 lines · Fabio Estevam

I have patches converting this board to DM, but need to test on the real hardware.

I will test them next week and if they work fine, I will submit the patches.

I managed to get access to an imx53-qsb and the conversion to DM worked well.

I have just submitted the series.

Regards,

Fabio Estevam

author
#20 lore raw

PATCH 9/16 ppc: Remove MPC8349ITX board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

---
 arch/powerpc/cpu/mpc83xx/Kconfig        |   6 -
 board/freescale/mpc8349itx/Kconfig      |  12 -
 board/freescale/mpc8349itx/MAINTAINERS  |   8 -
 board/freescale/mpc8349itx/Makefile     |   6 -
 board/freescale/mpc8349itx/README       | 186 ----------
 board/freescale/mpc8349itx/mpc8349itx.c | 401 ---------------------
 board/freescale/mpc8349itx/pci.c        | 104 ------
 configs/MPC8349ITXGP_defconfig          | 188 ----------
 configs/MPC8349ITX_LOWBOOT_defconfig    | 196 -----------
 configs/MPC8349ITX_defconfig            | 195 -----------
 include/configs/MPC8349ITX.h            | 441 ------------------------
 11 files changed, 1743 deletions(-)
 delete mode 100644 board/freescale/mpc8349itx/Kconfig
 delete mode 100644 board/freescale/mpc8349itx/MAINTAINERS
 delete mode 100644 board/freescale/mpc8349itx/Makefile
 delete mode 100644 board/freescale/mpc8349itx/README
 delete mode 100644 board/freescale/mpc8349itx/mpc8349itx.c
 delete mode 100644 board/freescale/mpc8349itx/pci.c
 delete mode 100644 configs/MPC8349ITXGP_defconfig
 delete mode 100644 configs/MPC8349ITX_LOWBOOT_defconfig
 delete mode 100644 configs/MPC8349ITX_defconfig
 delete mode 100644 include/configs/MPC8349ITX.h
arch/powerpc/cpu/mpc83xx/Kconfig +0 -6
index 2bae08e27863..f34acf7fa7f5 100644
@@ -75,11 +75,6 @@ config TARGET_MPC8349EMDS_SDRAM
 	select SYS_FSL_DDR_BE
 	select SYS_FSL_HAS_DDR2
 
-config TARGET_MPC8349ITX
-	bool "Support MPC8349ITX"
-	select ARCH_MPC8349
-	imply CMD_IRQ
-
 config TARGET_MPC837XEMDS
 	bool "Support MPC837XEMDS"
 	select ARCH_MPC837X
@@ -336,7 +331,6 @@ source "board/freescale/mpc8315erdb/Kconfig"
 source "board/freescale/mpc8323erdb/Kconfig"
 source "board/freescale/mpc832xemds/Kconfig"
 source "board/freescale/mpc8349emds/Kconfig"
-source "board/freescale/mpc8349itx/Kconfig"
 source "board/freescale/mpc837xemds/Kconfig"
 source "board/freescale/mpc837xerdb/Kconfig"
 source "board/ids/ids8313/Kconfig"
board/freescale/mpc8349itx/Kconfig deleted +0 -12
deleted file mode 100644
index ce3fffda7d82..000000000000
@@ -1,12 +0,0 @@
-if TARGET_MPC8349ITX
-
-config SYS_BOARD
-	default "mpc8349itx"
-
-config SYS_VENDOR
-	default "freescale"
-
-config SYS_CONFIG_NAME
-	default "MPC8349ITX"
-
-endif
board/freescale/mpc8349itx/MAINTAINERS deleted +0 -8
deleted file mode 100644
index d0388ad6e55c..000000000000
@@ -1,8 +0,0 @@
-MPC8349ITX BOARD
-#M:	-
-S:	Maintained
-F:	board/freescale/mpc8349itx/
-F:	include/configs/MPC8349ITX.h
-F:	configs/MPC8349ITX_defconfig
-F:	configs/MPC8349ITX_LOWBOOT_defconfig
-F:	configs/MPC8349ITXGP_defconfig
board/freescale/mpc8349itx/Makefile deleted +0 -6
deleted file mode 100644
index 803cba09ffb9..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright (C) Freescale Semiconductor, Inc. 2006.
-
-obj-y += mpc8349itx.o
-obj-$(CONFIG_PCI) += pci.o
board/freescale/mpc8349itx/README deleted +0 -186

186 lines not on this page · raw message

board/freescale/mpc8349itx/mpc8349itx.c deleted +0 -401

401 lines not on this page · raw message

board/freescale/mpc8349itx/pci.c deleted +0 -104

104 lines not on this page · raw message

configs/MPC8349ITXGP_defconfig deleted +0 -188

188 lines not on this page · raw message

configs/MPC8349ITX_LOWBOOT_defconfig deleted +0 -196

196 lines not on this page · raw message

configs/MPC8349ITX_defconfig deleted +0 -195

195 lines not on this page · raw message

include/configs/MPC8349ITX.h deleted +0 -441

441 lines not on this page · raw message

Signature · 1 line
2.17.1
author
#21 lore raw

PATCH 9/16 ppc: Remove MPC8349ITX board

Quoted 6 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210411/fe12d870/attachment.sig>
author
#22 lore raw

PATCH 10/16 ppc: Remove MPC8544DS board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Priyanka Jain <[email protected]>
---
 arch/powerpc/cpu/mpc85xx/Kconfig      |   6 -
 board/freescale/mpc8544ds/Kconfig     |  12 -
 board/freescale/mpc8544ds/MAINTAINERS |   6 -
 board/freescale/mpc8544ds/Makefile    |  10 -
 board/freescale/mpc8544ds/README      | 122 --------
 board/freescale/mpc8544ds/ddr.c       |  56 ----
 board/freescale/mpc8544ds/law.c       |  17 --
 board/freescale/mpc8544ds/mpc8544ds.c | 321 --------------------
 board/freescale/mpc8544ds/tlb.c       |  74 -----
 configs/MPC8544DS_defconfig           |  52 ----
 include/configs/MPC8544DS.h           | 408 --------------------------
 11 files changed, 1084 deletions(-)
 delete mode 100644 board/freescale/mpc8544ds/Kconfig
 delete mode 100644 board/freescale/mpc8544ds/MAINTAINERS
 delete mode 100644 board/freescale/mpc8544ds/Makefile
 delete mode 100644 board/freescale/mpc8544ds/README
 delete mode 100644 board/freescale/mpc8544ds/ddr.c
 delete mode 100644 board/freescale/mpc8544ds/law.c
 delete mode 100644 board/freescale/mpc8544ds/mpc8544ds.c
 delete mode 100644 board/freescale/mpc8544ds/tlb.c
 delete mode 100644 configs/MPC8544DS_defconfig
 delete mode 100644 include/configs/MPC8544DS.h
arch/powerpc/cpu/mpc85xx/Kconfig +0 -6
index c1a377067106..28c9f113d3f5 100644
@@ -52,11 +52,6 @@ config TARGET_MPC8541CDS
 	bool "Support MPC8541CDS"
 	select ARCH_MPC8541
 
-config TARGET_MPC8544DS
-	bool "Support MPC8544DS"
-	select ARCH_MPC8544
-	imply PANIC_HANG
-
 config TARGET_MPC8548CDS
 	bool "Support MPC8548CDS"
 	select ARCH_MPC8548
@@ -1443,7 +1438,6 @@ config SYS_FSL_LBC_CLK_DIV
 
 source "board/freescale/corenet_ds/Kconfig"
 source "board/freescale/mpc8541cds/Kconfig"
-source "board/freescale/mpc8544ds/Kconfig"
 source "board/freescale/mpc8548cds/Kconfig"
 source "board/freescale/mpc8555cds/Kconfig"
 source "board/freescale/mpc8568mds/Kconfig"
board/freescale/mpc8544ds/Kconfig deleted +0 -12
deleted file mode 100644
index c3e25b89a028..000000000000
@@ -1,12 +0,0 @@
-if TARGET_MPC8544DS
-
-config SYS_BOARD
-	default "mpc8544ds"
-
-config SYS_VENDOR
-	default "freescale"
-
-config SYS_CONFIG_NAME
-	default "MPC8544DS"
-
-endif
board/freescale/mpc8544ds/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 74e7249e4734..000000000000
@@ -1,6 +0,0 @@
-MPC8544DS BOARD
-M:	Priyanka Jain <[email protected]>
-S:	Maintained
-F:	board/freescale/mpc8544ds/
-F:	include/configs/MPC8544DS.h
-F:	configs/MPC8544DS_defconfig
board/freescale/mpc8544ds/Makefile deleted +0 -10
deleted file mode 100644
index 1693ae84330e..000000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright 2007 Freescale Semiconductor, Inc.
-# (C) Copyright 2001-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	+= mpc8544ds.o
-obj-y	+= ddr.o
-obj-y	+= law.o
-obj-y	+= tlb.o
board/freescale/mpc8544ds/README deleted +0 -122

122 lines not on this page · raw message

board/freescale/mpc8544ds/ddr.c deleted +0 -56

56 lines not on this page · raw message

board/freescale/mpc8544ds/law.c deleted +0 -17
deleted file mode 100644
index 52cec7fbb598..000000000000
@@ -1,17 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2008, 2010 Freescale Semiconductor, Inc.
- *
- * (C) Copyright 2000
- * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
- */
-
-#include <common.h>
-#include <asm/fsl_law.h>
-#include <asm/mmu.h>
-
-struct law_entry law_table[] = {
-	SET_LAW(CONFIG_SYS_LBC_NONCACHE_BASE, LAW_SIZE_128M, LAW_TRGT_IF_LBC),
-};
-
-int num_law_entries = ARRAY_SIZE(law_table);
board/freescale/mpc8544ds/mpc8544ds.c deleted +0 -321

321 lines not on this page · raw message

board/freescale/mpc8544ds/tlb.c deleted +0 -74

74 lines not on this page · raw message

configs/MPC8544DS_defconfig deleted +0 -52

52 lines not on this page · raw message

include/configs/MPC8544DS.h deleted +0 -408

408 lines not on this page · raw message

Signature · 1 line
2.17.1
#23 lore raw

PATCH 10/16 ppc: Remove MPC8544DS board

Quoted 7 lines

-----Original Message-----
From: Tom Rini <[email protected]>
Sent: Wednesday, February 10, 2021 8:13 AM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>
Subject: [PATCH 10/16] ppc: Remove MPC8544DS board

Quoted 8 lines

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Priyanka Jain <[email protected]>

---

author
#24 lore raw

PATCH 10/16 ppc: Remove MPC8544DS board

In reply to Tom Rini
Quoted 8 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210215/3b7caa2f/attachment.sig>
author
#25 lore raw

PATCH 11/16 ppc: Remove MPC8572DS board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Priyanka Jain <[email protected]>
---
 arch/powerpc/cpu/mpc85xx/Kconfig      |   9 -
 board/freescale/common/pixis.h        |  29 --
 board/freescale/mpc8572ds/Kconfig     |  12 -
 board/freescale/mpc8572ds/MAINTAINERS |   7 -
 board/freescale/mpc8572ds/Makefile    |  10 -
 board/freescale/mpc8572ds/README      | 166 -------
 board/freescale/mpc8572ds/ddr.c       | 166 -------
 board/freescale/mpc8572ds/law.c       |  19 -
 board/freescale/mpc8572ds/mpc8572ds.c | 260 -----------
 board/freescale/mpc8572ds/tlb.c       |  87 ----
 configs/MPC8572DS_36BIT_defconfig     |  56 ---
 configs/MPC8572DS_defconfig           |  54 ---
 include/configs/MPC8572DS.h           | 600 --------------------------
 13 files changed, 1475 deletions(-)
 delete mode 100644 board/freescale/mpc8572ds/Kconfig
 delete mode 100644 board/freescale/mpc8572ds/MAINTAINERS
 delete mode 100644 board/freescale/mpc8572ds/Makefile
 delete mode 100644 board/freescale/mpc8572ds/README
 delete mode 100644 board/freescale/mpc8572ds/ddr.c
 delete mode 100644 board/freescale/mpc8572ds/law.c
 delete mode 100644 board/freescale/mpc8572ds/mpc8572ds.c
 delete mode 100644 board/freescale/mpc8572ds/tlb.c
 delete mode 100644 configs/MPC8572DS_36BIT_defconfig
 delete mode 100644 configs/MPC8572DS_defconfig
 delete mode 100644 include/configs/MPC8572DS.h
arch/powerpc/cpu/mpc85xx/Kconfig +0 -9
index 28c9f113d3f5..870ab800e86b 100644
@@ -68,14 +68,6 @@ config TARGET_MPC8569MDS
 	bool "Support MPC8569MDS"
 	select ARCH_MPC8569
 
-config TARGET_MPC8572DS
-	bool "Support MPC8572DS"
-	select ARCH_MPC8572
-# Use DDR3 controller with DDR2 DIMMs on this board
-	select SYS_FSL_DDRC_GEN3
-	imply SCSI
-	imply PANIC_HANG
-
 config TARGET_P1010RDB_PA
 	bool "Support P1010RDB_PA"
 	select ARCH_P1010
@@ -1442,7 +1434,6 @@ source "board/freescale/mpc8548cds/Kconfig"
 source "board/freescale/mpc8555cds/Kconfig"
 source "board/freescale/mpc8568mds/Kconfig"
 source "board/freescale/mpc8569mds/Kconfig"
-source "board/freescale/mpc8572ds/Kconfig"
 source "board/freescale/p1010rdb/Kconfig"
 source "board/freescale/p1_p2_rdb_pc/Kconfig"
 source "board/freescale/p2041rdb/Kconfig"
board/freescale/common/pixis.h +0 -29
index 40053c45bb75..f927f2c754da 100644
@@ -72,35 +72,6 @@ typedef struct pixis {
 	u8 res2[34];
 } __attribute__ ((packed)) pixis_t;
 
-#elif defined(CONFIG_TARGET_MPC8572DS)
-typedef struct pixis {
-	u8 id;
-	u8 ver;
-	u8 pver;
-	u8 csr;
-	u8 rst;
-	u8 pwr1;
-	u8 aux1;
-	u8 spd;
-	u8 aux2;
-	u8 res[7];
-	u8 vctl;
-	u8 vstat;
-	u8 vcfgen0;
-	u8 vcfgen1;
-	u8 vcore0;
-	u8 res1;
-	u8 vboot;
-	u8 vspeed[3];
-	u8 res2[2];
-	u8 sclk[3];
-	u8 dclk[3];
-	u8 res3[2];
-	u8 watch;
-	u8 led;
-	u8 res4[25];
-} __attribute__ ((packed)) pixis_t;
-
 #elif defined(CONFIG_TARGET_MPC8610HPCD)
 typedef struct pixis {
 	u8 id;
board/freescale/mpc8572ds/Kconfig deleted +0 -12
deleted file mode 100644
index 38132cf3feba..000000000000
@@ -1,12 +0,0 @@
-if TARGET_MPC8572DS
-
-config SYS_BOARD
-	default "mpc8572ds"
-
-config SYS_VENDOR
-	default "freescale"
-
-config SYS_CONFIG_NAME
-	default "MPC8572DS"
-
-endif
board/freescale/mpc8572ds/MAINTAINERS deleted +0 -7
deleted file mode 100644
index d7e9b1f41f41..000000000000
@@ -1,7 +0,0 @@
-MPC8572DS BOARD
-M:	Priyanka Jain <[email protected]>
-S:	Maintained
-F:	board/freescale/mpc8572ds/
-F:	include/configs/MPC8572DS.h
-F:	configs/MPC8572DS_defconfig
-F:	configs/MPC8572DS_36BIT_defconfig
board/freescale/mpc8572ds/Makefile deleted +0 -10
deleted file mode 100644
index 5318e3be7280..000000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# Copyright 2007 Freescale Semiconductor, Inc.
-# (C) Copyright 2001-2006
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	+= mpc8572ds.o
-obj-y	+= ddr.o
-obj-y	+= law.o
-obj-y	+= tlb.o
board/freescale/mpc8572ds/README deleted +0 -166

166 lines not on this page · raw message

board/freescale/mpc8572ds/ddr.c deleted +0 -166

166 lines not on this page · raw message

board/freescale/mpc8572ds/law.c deleted +0 -19
deleted file mode 100644
index 10d1572c5de6..000000000000
@@ -1,19 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2008, 2010 Freescale Semiconductor, Inc.
- *
- * (C) Copyright 2000
- * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
- */
-
-#include <common.h>
-#include <asm/fsl_law.h>
-#include <asm/mmu.h>
-
-struct law_entry law_table[] = {
-	SET_LAW(CONFIG_SYS_FLASH_BASE_PHYS, LAW_SIZE_256M, LAW_TRGT_IF_LBC),
-	SET_LAW(PIXIS_BASE_PHYS, LAW_SIZE_4K, LAW_TRGT_IF_LBC),
-	SET_LAW(CONFIG_SYS_NAND_BASE_PHYS, LAW_SIZE_1M, LAW_TRGT_IF_LBC),
-};
-
-int num_law_entries = ARRAY_SIZE(law_table);
board/freescale/mpc8572ds/mpc8572ds.c deleted +0 -260

260 lines not on this page · raw message

board/freescale/mpc8572ds/tlb.c deleted +0 -87

87 lines not on this page · raw message

configs/MPC8572DS_36BIT_defconfig deleted +0 -56

56 lines not on this page · raw message

configs/MPC8572DS_defconfig deleted +0 -54

54 lines not on this page · raw message

include/configs/MPC8572DS.h deleted +0 -600

600 lines not on this page · raw message

Signature · 1 line
2.17.1
#26 lore raw

PATCH 11/16 ppc: Remove MPC8572DS board

Quoted 9 lines

-----Original Message-----
From: Tom Rini <[email protected]>
Sent: Wednesday, February 10, 2021 8:13 AM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>
Subject: [PATCH 11/16] ppc: Remove MPC8572DS board

Quoted 8 lines

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Priyanka Jain <[email protected]>

---

author
#27 lore raw

PATCH 11/16 ppc: Remove MPC8572DS board

In reply to Tom Rini
Quoted 8 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210215/d302ba98/attachment.sig>
author
#28 lore raw

PATCH 12/16 ppc: Remove MPC8610HPCD board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Priyanka Jain <[email protected]>
---
 arch/powerpc/cpu/mpc86xx/Kconfig              |   6 -
 board/freescale/common/pixis.h                |  30 -
 board/freescale/mpc8610hpcd/Kconfig           |  12 -
 board/freescale/mpc8610hpcd/MAINTAINERS       |   6 -
 board/freescale/mpc8610hpcd/Makefile          |   7 -
 board/freescale/mpc8610hpcd/README            |  73 ---
 board/freescale/mpc8610hpcd/ddr.c             |  56 --
 board/freescale/mpc8610hpcd/law.c             |  21 -
 board/freescale/mpc8610hpcd/mpc8610hpcd.c     | 335 -----------
 board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c |  72 ---
 configs/MPC8610HPCD_defconfig                 |  37 --
 include/configs/MPC8610HPCD.h                 | 559 ------------------
 12 files changed, 1214 deletions(-)
 delete mode 100644 board/freescale/mpc8610hpcd/Kconfig
 delete mode 100644 board/freescale/mpc8610hpcd/MAINTAINERS
 delete mode 100644 board/freescale/mpc8610hpcd/Makefile
 delete mode 100644 board/freescale/mpc8610hpcd/README
 delete mode 100644 board/freescale/mpc8610hpcd/ddr.c
 delete mode 100644 board/freescale/mpc8610hpcd/law.c
 delete mode 100644 board/freescale/mpc8610hpcd/mpc8610hpcd.c
 delete mode 100644 board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c
 delete mode 100644 configs/MPC8610HPCD_defconfig
 delete mode 100644 include/configs/MPC8610HPCD.h
arch/powerpc/cpu/mpc86xx/Kconfig +0 -6
index 0f253051f26d..294485794bdf 100644
@@ -13,11 +13,6 @@ config TARGET_SBC8641D
 	select ARCH_MPC8641
 	select BOARD_EARLY_INIT_F
 
-config TARGET_MPC8610HPCD
-	bool "Support MPC8610HPCD"
-	select ARCH_MPC8610
-	select BOARD_EARLY_INIT_F
-
 config TARGET_MPC8641HPCN
 	bool "Support MPC8641HPCN"
 	select ARCH_MPC8641
@@ -62,7 +57,6 @@ config SYS_FSL_NUM_LAWS
 		Number of local access windows. This is fixed per SoC.
 		If not sure, do not change.
 
-source "board/freescale/mpc8610hpcd/Kconfig"
 source "board/freescale/mpc8641hpcn/Kconfig"
 source "board/sbc8641d/Kconfig"
 source "board/xes/xpedite517x/Kconfig"
board/freescale/common/pixis.h +0 -30
index f927f2c754da..36c94862a55b 100644
@@ -72,36 +72,6 @@ typedef struct pixis {
 	u8 res2[34];
 } __attribute__ ((packed)) pixis_t;
 
-#elif defined(CONFIG_TARGET_MPC8610HPCD)
-typedef struct pixis {
-	u8 id;
-	u8 ver;	/* also called arch */
-	u8 pver;
-	u8 csr;
-	u8 rst;
-	u8 pwr;
-	u8 aux;
-	u8 spd;
-	u8 brdcfg0;
-	u8 brdcfg1;
-	u8 res[4];
-	u8 led;
-	u8 serno;
-	u8 vctl;
-	u8 vstat;
-	u8 vcfgen0;
-	u8 vcfgen1;
-	u8 vcore0;
-	u8 res1;
-	u8 vboot;
-	u8 vspeed[2];
-	u8 res2;
-	u8 sclk[3];
-	u8 res3;
-	u8 watch;
-	u8 res4[33];
-} __attribute__ ((packed)) pixis_t;
-
 #elif defined(CONFIG_TARGET_MPC8641HPCN)
 typedef struct pixis {
 	u8 id;
board/freescale/mpc8610hpcd/Kconfig deleted +0 -12
deleted file mode 100644
index 8f713beaa842..000000000000
@@ -1,12 +0,0 @@
-if TARGET_MPC8610HPCD
-
-config SYS_BOARD
-	default "mpc8610hpcd"
-
-config SYS_VENDOR
-	default "freescale"
-
-config SYS_CONFIG_NAME
-	default "MPC8610HPCD"
-
-endif
board/freescale/mpc8610hpcd/MAINTAINERS deleted +0 -6
deleted file mode 100644
index 9b1e0cd4e56b..000000000000
@@ -1,6 +0,0 @@
-MPC8610HPCD BOARD
-M:	Priyanka Jain <[email protected]>
-S:	Maintained
-F:	board/freescale/mpc8610hpcd/
-F:	include/configs/MPC8610HPCD.h
-F:	configs/MPC8610HPCD_defconfig
board/freescale/mpc8610hpcd/Makefile deleted +0 -7
deleted file mode 100644
index 3a02a0641690..000000000000
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-# Copyright 2007 Freescale Semiconductor, Inc.
-
-obj-y	+= mpc8610hpcd.o
-obj-$(CONFIG_SYS_FSL_DDR2) += ddr.o
-obj-y	+= law.o
-obj-$(CONFIG_FSL_DIU_FB)	+= mpc8610hpcd_diu.o
board/freescale/mpc8610hpcd/README deleted +0 -73

73 lines not on this page · raw message

board/freescale/mpc8610hpcd/ddr.c deleted +0 -56

56 lines not on this page · raw message

board/freescale/mpc8610hpcd/law.c deleted +0 -21
deleted file mode 100644
index 7bf5e6815d7b..000000000000
@@ -1,21 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * Copyright 2008,2010 Freescale Semiconductor, Inc.
- *
- * (C) Copyright 2000
- * Wolfgang Denk, DENX Software Engineering, wd at denx.de.
- */
-
-#include <common.h>
-#include <asm/fsl_law.h>
-#include <asm/mmu.h>
-
-struct law_entry law_table[] = {
-#if !defined(CONFIG_SPD_EEPROM)
-	SET_LAW(CONFIG_SYS_DDR_SDRAM_BASE, LAW_SIZE_512M, LAW_TRGT_IF_DDR_1),
-#endif
-	SET_LAW(PIXIS_BASE, LAW_SIZE_2M, LAW_TRGT_IF_LBC),
-	SET_LAW(CONFIG_SYS_FLASH_BASE, LAW_SIZE_256M, LAW_TRGT_IF_LBC),
-};
-
-int num_law_entries = ARRAY_SIZE(law_table);
board/freescale/mpc8610hpcd/mpc8610hpcd.c deleted +0 -335

335 lines not on this page · raw message

board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c deleted +0 -72

72 lines not on this page · raw message

configs/MPC8610HPCD_defconfig deleted +0 -37
deleted file mode 100644
index b9ef56620480..000000000000
@@ -1,37 +0,0 @@
-CONFIG_PPC=y
-CONFIG_SYS_TEXT_BASE=0xfff00000
-CONFIG_ENV_SIZE=0x2000
-CONFIG_ENV_SECT_SIZE=0x20000
-CONFIG_MPC86xx=y
-CONFIG_HIGH_BATS=y
-CONFIG_TARGET_MPC8610HPCD=y
-CONFIG_OF_BOARD_SETUP=y
-CONFIG_OF_STDOUT_VIA_ALIAS=y
-CONFIG_BOOTDELAY=10
-# CONFIG_CONSOLE_MUX is not set
-CONFIG_MISC_INIT_R=y
-CONFIG_HUSH_PARSER=y
-# CONFIG_AUTO_COMPLETE is not set
-CONFIG_CMD_IMLS=y
-CONFIG_CMD_I2C=y
-CONFIG_CMD_PCI=y
-CONFIG_CMD_USB=y
-# CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
-CONFIG_CMD_BMP=y
-CONFIG_CMD_EXT2=y
-CONFIG_DOS_PARTITION=y
-CONFIG_ENV_OVERWRITE=y
-CONFIG_ENV_ADDR=0xFFF80000
-CONFIG_SCSI_AHCI=y
-# CONFIG_MMC is not set
-CONFIG_MTD_NOR_FLASH=y
-CONFIG_FLASH_CFI_DRIVER=y
-CONFIG_SYS_FLASH_CFI=y
-CONFIG_SCSI=y
-CONFIG_SYS_NS16550=y
-CONFIG_USB=y
-CONFIG_USB_KEYBOARD=y
-CONFIG_VIDEO=y
-CONFIG_OF_LIBFDT=y
include/configs/MPC8610HPCD.h deleted +0 -559

559 lines not on this page · raw message

Signature · 1 line
2.17.1
#29 lore raw

PATCH 12/16 ppc: Remove MPC8610HPCD board

Quoted 7 lines

-----Original Message-----
From: Tom Rini <[email protected]>
Sent: Wednesday, February 10, 2021 8:13 AM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>
Subject: [PATCH 12/16] ppc: Remove MPC8610HPCD board

Quoted 8 lines

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Priyanka Jain <[email protected]>

---

author
#30 lore raw

PATCH 12/16 ppc: Remove MPC8610HPCD board

In reply to Tom Rini
Quoted 8 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210215/407a1103/attachment.sig>
author
#31 lore raw

PATCH 13/16 ppc: Remove MPC8641HPCN board

In reply to Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Priyanka Jain <[email protected]>
---
 arch/powerpc/cpu/mpc86xx/Kconfig          |   7 -
 board/freescale/common/pixis.h            |  24 -
 board/freescale/mpc8641hpcn/Kconfig       |  12 -
 board/freescale/mpc8641hpcn/MAINTAINERS   |   7 -
 board/freescale/mpc8641hpcn/Makefile      |   8 -
 board/freescale/mpc8641hpcn/README        | 186 -------
 board/freescale/mpc8641hpcn/ddr.c         | 107 ----
 board/freescale/mpc8641hpcn/law.c         |  43 --
 board/freescale/mpc8641hpcn/mpc8641hpcn.c | 247 ---------
 configs/MPC8641HPCN_36BIT_defconfig       |  48 --
 configs/MPC8641HPCN_defconfig             |  48 --
 include/configs/MPC8641HPCN.h             | 632 ----------------------
 12 files changed, 1369 deletions(-)
 delete mode 100644 board/freescale/mpc8641hpcn/Kconfig
 delete mode 100644 board/freescale/mpc8641hpcn/MAINTAINERS
 delete mode 100644 board/freescale/mpc8641hpcn/Makefile
 delete mode 100644 board/freescale/mpc8641hpcn/README
 delete mode 100644 board/freescale/mpc8641hpcn/ddr.c
 delete mode 100644 board/freescale/mpc8641hpcn/law.c
 delete mode 100644 board/freescale/mpc8641hpcn/mpc8641hpcn.c
 delete mode 100644 configs/MPC8641HPCN_36BIT_defconfig
 delete mode 100644 configs/MPC8641HPCN_defconfig
 delete mode 100644 include/configs/MPC8641HPCN.h
arch/powerpc/cpu/mpc86xx/Kconfig +0 -7
index 294485794bdf..7de42b5f2576 100644
@@ -13,12 +13,6 @@ config TARGET_SBC8641D
 	select ARCH_MPC8641
 	select BOARD_EARLY_INIT_F
 
-config TARGET_MPC8641HPCN
-	bool "Support MPC8641HPCN"
-	select ARCH_MPC8641
-	select FSL_DDR_INTERACTIVE
-	imply SCSI
-
 config TARGET_XPEDITE517X
 	bool "Support xpedite517x"
 	select ARCH_MPC8641
@@ -57,7 +51,6 @@ config SYS_FSL_NUM_LAWS
 		Number of local access windows. This is fixed per SoC.
 		If not sure, do not change.
 
-source "board/freescale/mpc8641hpcn/Kconfig"
 source "board/sbc8641d/Kconfig"
 source "board/xes/xpedite517x/Kconfig"
 
board/freescale/common/pixis.h +0 -24
index 36c94862a55b..049f1967c595 100644
@@ -72,30 +72,6 @@ typedef struct pixis {
 	u8 res2[34];
 } __attribute__ ((packed)) pixis_t;
 
-#elif defined(CONFIG_TARGET_MPC8641HPCN)
-typedef struct pixis {
-	u8 id;
-	u8 ver;
-	u8 pver;
-	u8 csr;
-	u8 rst;
-	u8 pwr;
-	u8 aux;
-	u8 spd;
-	u8 res[8];
-	u8 vctl;
-	u8 vstat;
-	u8 vcfgen0;
-	u8 vcfgen1;
-	u8 vcore0;
-	u8 res1;
-	u8 vboot;
-	u8 vspeed[2];
-	u8 vclkh;
-	u8 vclkl;
-	u8 watch;
-	u8 res3[36];
-} __attribute__ ((packed)) pixis_t;
 #else
 #error Need to define pixis_t for this board
 #endif
board/freescale/mpc8641hpcn/Kconfig deleted +0 -12
deleted file mode 100644
index ae45d6333748..000000000000
@@ -1,12 +0,0 @@
-if TARGET_MPC8641HPCN
-
-config SYS_BOARD
-	default "mpc8641hpcn"
-
-config SYS_VENDOR
-	default "freescale"
-
-config SYS_CONFIG_NAME
-	default "MPC8641HPCN"
-
-endif
board/freescale/mpc8641hpcn/MAINTAINERS deleted +0 -7
deleted file mode 100644
index c95721876751..000000000000
@@ -1,7 +0,0 @@
-MPC8641HPCN BOARD
-M:	Priyanka Jain <[email protected]>
-S:	Maintained
-F:	board/freescale/mpc8641hpcn/
-F:	include/configs/MPC8641HPCN.h
-F:	configs/MPC8641HPCN_defconfig
-F:	configs/MPC8641HPCN_36BIT_defconfig
board/freescale/mpc8641hpcn/Makefile deleted +0 -8
deleted file mode 100644
index 86b87193dd66..000000000000
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0+
-#
-# (C) Copyright 2001
-# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
-
-obj-y	+= mpc8641hpcn.o
-obj-y	+= law.o
-obj-$(CONFIG_SYS_FSL_DDR2) += ddr.o
board/freescale/mpc8641hpcn/README deleted +0 -186

186 lines not on this page · raw message

board/freescale/mpc8641hpcn/ddr.c deleted +0 -107

107 lines not on this page · raw message

board/freescale/mpc8641hpcn/law.c deleted +0 -43

43 lines not on this page · raw message

board/freescale/mpc8641hpcn/mpc8641hpcn.c deleted +0 -247

247 lines not on this page · raw message

configs/MPC8641HPCN_36BIT_defconfig deleted +0 -48

48 lines not on this page · raw message

configs/MPC8641HPCN_defconfig deleted +0 -48

48 lines not on this page · raw message

include/configs/MPC8641HPCN.h deleted +0 -632

632 lines not on this page · raw message

Signature · 1 line
2.17.1
#32 lore raw

PATCH 13/16 ppc: Remove MPC8641HPCN board

Quoted 9 lines

-----Original Message-----
From: Tom Rini <[email protected]>
Sent: Wednesday, February 10, 2021 8:13 AM
To: u-boot at lists.denx.de
Cc: Priyanka Jain <[email protected]>
Subject: [PATCH 13/16] ppc: Remove MPC8641HPCN board

Quoted 8 lines

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Cc Priyanka Jain <[email protected]>

---

author
#33 lore raw

PATCH 13/16 ppc: Remove MPC8641HPCN board

In reply to Tom Rini
Quoted 8 lines · Tom Rini

This board relies on using CONFIG_LIBATA but does not enable CONFIG_AHCI. The deadline for this conversion was the v2019.07 release. The use of CONFIG_AHCI requires CONFIG_DM. The deadline for this conversion was v2020.01. Remove this board.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210215/9817cfc9/attachment.sig>
author
#34 lore raw

PATCH 14/16 boards: Disable CMD_SATA on platforms that no longer have a SATA driver enabled

In reply to Tom Rini

There are a number of platforms that depend on a SATA driver that has been converted to require AHCI but the platforms themselves are behind on other migrations that would make it trivial to enable AHCI. Disable SATA in these cases.

---
 arch/powerpc/cpu/mpc83xx/Kconfig              |  2 --
 arch/powerpc/cpu/mpc85xx/Kconfig              | 20 -------------------
 configs/MPC8315ERDB_defconfig                 |  1 -
 configs/MPC837XERDB_SLAVE_defconfig           |  1 -
 configs/MPC837XERDB_defconfig                 |  1 -
 configs/cgtqmx6eval_defconfig                 |  1 -
 ...trolcenterd_36BIT_SDCARD_DEVELOP_defconfig |  1 -
 configs/controlcenterd_36BIT_SDCARD_defconfig |  1 -
 configs/udoo_defconfig                        |  1 -
 include/configs/udoo.h                        |  1 -
 10 files changed, 30 deletions(-)
arch/powerpc/cpu/mpc83xx/Kconfig +0 -2
index f34acf7fa7f5..b19c3cefabab 100644
@@ -79,8 +79,6 @@ config TARGET_MPC837XEMDS
 	bool "Support MPC837XEMDS"
 	select ARCH_MPC837X
 	select BOARD_EARLY_INIT_F
-	imply CMD_SATA
-	imply FSL_SATA
 
 config TARGET_MPC837XERDB
 	bool "Support MPC837XERDB"
arch/powerpc/cpu/mpc85xx/Kconfig +0 -20
index 870ab800e86b..4d3d310d07b4 100644
@@ -45,7 +45,6 @@ config TARGET_P5040DS
 	select PHYS_64BIT
 	select ARCH_P5040
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
-	imply CMD_SATA
 	imply PANIC_HANG
 
 config TARGET_MPC8541CDS
@@ -75,7 +74,6 @@ config TARGET_P1010RDB_PA
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	imply CMD_EEPROM
-	imply CMD_SATA
 	imply PANIC_HANG
 
 config TARGET_P1010RDB_PB
@@ -85,7 +83,6 @@ config TARGET_P1010RDB_PB
 	select SUPPORT_SPL
 	select SUPPORT_TPL
 	imply CMD_EEPROM
-	imply CMD_SATA
 	imply PANIC_HANG
 
 config TARGET_P1020RDB_PC
@@ -154,7 +151,6 @@ config TARGET_T1040RDB
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select PHYS_64BIT
-	imply CMD_SATA
 	imply PANIC_HANG
 
 config TARGET_T1040D4RDB
@@ -163,7 +159,6 @@ config TARGET_T1040D4RDB
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select PHYS_64BIT
-	imply CMD_SATA
 	imply PANIC_HANG
 
 config TARGET_T1042RDB
@@ -172,7 +167,6 @@ config TARGET_T1042RDB
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select PHYS_64BIT
-	imply CMD_SATA
 
 config TARGET_T1042D4RDB
 	bool "Support T1042D4RDB"
@@ -180,7 +174,6 @@ config TARGET_T1042D4RDB
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select PHYS_64BIT
-	imply CMD_SATA
 	imply PANIC_HANG
 
 config TARGET_T1042RDB_PI
@@ -189,7 +182,6 @@ config TARGET_T1042RDB_PI
 	select BOARD_LATE_INIT if CHAIN_OF_TRUST
 	select SUPPORT_SPL
 	select PHYS_64BIT
-	imply CMD_SATA
 	imply PANIC_HANG
 
 config TARGET_T2080QDS
@@ -528,10 +520,8 @@ config ARCH_P1010
 	imply CMD_EEPROM
 	imply CMD_MTDPARTS
 	imply CMD_NAND
-	imply CMD_SATA
 	imply CMD_PCI
 	imply CMD_REGINFO
-	imply FSL_SATA
 
 config ARCH_P1011
 	bool
@@ -791,9 +781,7 @@ config ARCH_P5020
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_PPC64
 	select FSL_ELBC
-	imply CMD_SATA
 	imply CMD_REGINFO
-	imply FSL_SATA
 
 config ARCH_P5040
 	bool
@@ -816,9 +804,7 @@ config ARCH_P5040
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_PPC64
 	select FSL_ELBC
-	imply CMD_SATA
 	imply CMD_REGINFO
-	imply FSL_SATA
 
 config ARCH_QEMU_E500
 	bool
@@ -886,9 +872,7 @@ config ARCH_T1040
 	select FSL_IFC
 	imply CMD_MTDPARTS
 	imply CMD_NAND
-	imply CMD_SATA
 	imply CMD_REGINFO
-	imply FSL_SATA
 
 config ARCH_T1042
 	bool
@@ -910,9 +894,7 @@ config ARCH_T1042
 	select FSL_IFC
 	imply CMD_MTDPARTS
 	imply CMD_NAND
-	imply CMD_SATA
 	imply CMD_REGINFO
-	imply FSL_SATA
 
 config ARCH_T2080
 	bool
@@ -985,10 +967,8 @@ config ARCH_T4160
 	select SYS_FSL_SEC_COMPAT_4
 	select SYS_PPC64
 	select FSL_IFC
-	imply CMD_SATA
 	imply CMD_NAND
 	imply CMD_REGINFO
-	imply FSL_SATA
 
 config ARCH_T4240
 	bool
configs/MPC8315ERDB_defconfig +0 -1
index f03fec92f867..1a8983584e9e 100644
@@ -118,7 +118,6 @@ CONFIG_CMD_IMLS=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_NAND=y
 CONFIG_CMD_PCI=y
-CONFIG_CMD_SATA=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/MPC837XERDB_SLAVE_defconfig +0 -1
index ea84564d9af8..388779bec1c3 100644
@@ -111,7 +111,6 @@ CONFIG_CMD_IMLS=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
-CONFIG_CMD_SATA=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
configs/MPC837XERDB_defconfig +0 -1
index 0d8ec8e9cafd..4c3076bb54b6 100644
@@ -152,7 +152,6 @@ CONFIG_CMD_IMLS=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
-CONFIG_CMD_SATA=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
configs/cgtqmx6eval_defconfig +0 -1
index 26f74662f80a..e92dcb637c8d 100644
@@ -37,7 +37,6 @@ CONFIG_CMD_DFU=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
-CONFIG_CMD_SATA=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_USB_MASS_STORAGE=y
configs/controlcenterd_36BIT_SDCARD_DEVELOP_defconfig +0 -1
index 41785d09d0fc..4414563f1875 100644
@@ -24,7 +24,6 @@ CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
-CONFIG_CMD_SATA=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_MII=y
configs/controlcenterd_36BIT_SDCARD_defconfig +0 -1
index 777f5aee41f8..24f7a8dbffeb 100644
@@ -24,7 +24,6 @@ CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
-CONFIG_CMD_SATA=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_MII=y
configs/udoo_defconfig +0 -1
index f72b9645dac3..d70a6ca41ce1 100644
@@ -24,7 +24,6 @@ CONFIG_SPL_I2C_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_MMC=y
-CONFIG_CMD_SATA=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_EXT4_WRITE=y
 CONFIG_ENV_OVERWRITE=y
include/configs/udoo.h +0 -1
index b4fbf8c6383d..e250c7e9d922 100644
@@ -65,7 +65,6 @@
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 0) \
-	func(SATA, sata, 0) \
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
Signature · 1 line
2.17.1
author
#35 lore raw

PATCH 15/16 drivers: ata: Remove mvsata_ide driver

In reply to Tom Rini

The mvsata_ide driver was due for DM conversion by v2019.07. As that has long passed, remove the driver and disable it in the boards which had enabled it.

---
 Makefile                                     |  10 -
 arch/arm/mach-kirkwood/include/mach/config.h |   2 -
 configs/dns325_defconfig                     |   1 -
 configs/dreamplug_defconfig                  |   1 -
 configs/ds109_defconfig                      |   1 -
 configs/edminiv2_defconfig                   |   1 -
 configs/goflexhome_defconfig                 |   1 -
 configs/guruplug_defconfig                   |   1 -
 configs/ib62x0_defconfig                     |   1 -
 configs/nas220_defconfig                     |   1 -
 configs/nsa310s_defconfig                    |   1 -
 drivers/ata/Kconfig                          |   6 -
 drivers/ata/Makefile                         |   1 -
 drivers/ata/mvsata_ide.c                     | 199 -------------------
 include/configs/dns325.h                     |   8 -
 include/configs/dreamplug.h                  |   7 -
 include/configs/ds109.h                      |   7 -
 include/configs/edminiv2.h                   |   3 -
 include/configs/goflexhome.h                 |   7 -
 include/configs/guruplug.h                   |   7 -
 include/configs/ib62x0.h                     |   3 -
 include/configs/nas220.h                     |   8 -
 include/configs/nsa310s.h                    |   2 -
 include/configs/sheevaplug.h                 |   3 -
 scripts/config_whitelist.txt                 |   2 -
 25 files changed, 284 deletions(-)
 delete mode 100644 drivers/ata/mvsata_ide.c
Makefile +0 -10
index ebbedb1fb1af..9d6ac5e16fe5 100644
@@ -1064,16 +1064,6 @@ ifneq ($(CONFIG_DM_USB)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy)
 	@echo >&2 "===================================================="
 endif
 endif
-ifeq ($(CONFIG_MVSATA_IDE),y)
-	@echo >&2 "===================== WARNING ======================"
-	@echo >&2 "This board does use CONFIG_MVSATA_IDE which is not"
-	@echo >&2 "ported to driver-model (DM) yet. Please update the storage"
-	@echo >&2 "controller driver to use CONFIG_AHCI before the v2019.07"
-	@echo >&2 "release."
-	@echo >&2 "Failure to update by the deadline may result in board removal."
-	@echo >&2 "See doc/driver-model/migration.rst for more info."
-	@echo >&2 "===================================================="
-endif
 ifeq ($(CONFIG_LIBATA),y)
 ifneq ($(CONFIG_AHCI),y)
 	@echo >&2 "===================== WARNING ======================"
arch/arm/mach-kirkwood/include/mach/config.h +0 -2
index 3bd032e08790..ef68fc86b22e 100644
@@ -74,8 +74,6 @@
  */
 #ifdef CONFIG_IDE
 #define __io
-#define CONFIG_IDE_PREINIT
-#define CONFIG_MVSATA_IDE_USE_PORT1
 /* Needs byte-swapping for ATA data register */
 #define CONFIG_IDE_SWAP_IO
 /* Data, registers and alternate blocks are at the same offset */
configs/dns325_defconfig +0 -1
index a5fe9cd33160..493c802d5208 100644
@@ -36,7 +36,6 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_MVSATA_IDE=y
 CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
configs/dreamplug_defconfig +0 -1
index 2c27726fcde4..b4dedc9e59b1 100644
@@ -34,7 +34,6 @@ CONFIG_ENV_SPI_MAX_HZ=50000000
 CONFIG_ENV_ADDR=0x100000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_MVSATA_IDE=y
 CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
configs/ds109_defconfig +0 -1
index e412e3f5937c..77c094b76637 100644
@@ -30,7 +30,6 @@ CONFIG_ENV_SPI_MAX_HZ=50000000
 CONFIG_ENV_ADDR=0x3D0000
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_MVSATA_IDE=y
 CONFIG_BLK=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
configs/edminiv2_defconfig +0 -1
index 916775e9ed17..0aacb35e44c4 100644
@@ -32,7 +32,6 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_FLASH=y
 CONFIG_ENV_ADDR=0xFFF84000
 CONFIG_NETCONSOLE=y
-CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
configs/goflexhome_defconfig +0 -1
index b271822dcbfd..6e3e6325e921 100644
@@ -37,7 +37,6 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_MVSATA_IDE=y
 CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
configs/guruplug_defconfig +0 -1
index f7e934bcf89e..a3fe98cabf7a 100644
@@ -38,7 +38,6 @@ CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_MVSATA_IDE=y
 CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
configs/ib62x0_defconfig +0 -1
index 1fbf03442d0c..57ccfe71fbd7 100644
@@ -35,7 +35,6 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NETCONSOLE=y
-CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
configs/nas220_defconfig +0 -1
index e89b6b9e14d6..3e031604eec2 100644
@@ -38,7 +38,6 @@ CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_DM=y
-CONFIG_MVSATA_IDE=y
 CONFIG_BLK=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
configs/nsa310s_defconfig +0 -1
index bec1707ddc13..e4cf1c470e05 100644
@@ -32,7 +32,6 @@ CONFIG_ENV_OVERWRITE=y
 CONFIG_ENV_IS_IN_NAND=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NETCONSOLE=y
-CONFIG_MVSATA_IDE=y
 # CONFIG_MMC is not set
 CONFIG_MTD=y
 CONFIG_MTD_RAW_NAND=y
drivers/ata/Kconfig +0 -6
index 3914f996d91c..9ff4b8736c1f 100644
@@ -83,12 +83,6 @@ config FSL_SATA
 	  Enable this driver to support the SATA controller found in
 	  some Freescale PowerPC SoCs.
 
-config MVSATA_IDE
-	bool "Enable Marvell SATA controller driver support via IDE interface"
-	help
-	  Enable this driver to support the SATA controller found in
-	  some Marvell SoCs, running in IDE compatibility mode using PIO.
-
 config SATA_MV
 	bool "Enable Marvell SATA controller driver support"
 	select AHCI
drivers/ata/Makefile +0 -1
index 98fb4807008e..4811b2f82c4e 100644
@@ -10,7 +10,6 @@ obj-$(CONFIG_SCSI_AHCI) += ahci.o
 obj-$(CONFIG_DWC_AHSATA) += dwc_ahsata.o
 obj-$(CONFIG_FSL_SATA) += fsl_sata.o
 obj-$(CONFIG_LIBATA) += libata.o
-obj-$(CONFIG_MVSATA_IDE) += mvsata_ide.o
 obj-$(CONFIG_SATA) += sata.o
 obj-$(CONFIG_SATA_CEVA) += sata_ceva.o
 obj-$(CONFIG_SATA_MV) += sata_mv.o
drivers/ata/mvsata_ide.c deleted +0 -199

199 lines not on this page · raw message

include/configs/dns325.h +0 -8
index ea8d28b5b536..8990efb3f68b 100644
@@ -35,14 +35,6 @@
 #define CONFIG_MVGBE_PORTS		{1, 0} /* enable port 0 only */
 #endif
 
-/*
- * SATA Driver configuration
- */
-#ifdef CONFIG_MVSATA_IDE
-#define CONFIG_SYS_ATA_IDE0_OFFSET      MV_SATA_PORT0_OFFSET
-#define CONFIG_SYS_ATA_IDE1_OFFSET      MV_SATA_PORT1_OFFSET
-#endif
-
 /*
  * Enable GPI0 support
  */
include/configs/dreamplug.h +0 -7
index 09bac0177902..9106203ebc46 100644
@@ -52,11 +52,4 @@
 #define CONFIG_PHY_BASE_ADR	0
 #endif /* CONFIG_CMD_NET */
 
-/*
- * SATA Driver configuration
- */
-#ifdef CONFIG_MVSATA_IDE
-#define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
-#endif /*CONFIG_MVSATA_IDE*/
-
 #endif /* _CONFIG_DREAMPLUG_H */
include/configs/ds109.h +0 -7
index 1f033ababf6e..ea563b04d1a8 100644
@@ -54,11 +54,4 @@
 #define CONFIG_PHY_BASE_ADR	8
 #endif /* CONFIG_CMD_NET */
 
-/*
- * SATA Driver configuration
- */
-#ifdef CONFIG_MVSATA_IDE
-#define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
-#endif /*CONFIG_MVSATA_IDE*/
-
 #endif /* _CONFIG_DS109_H */
include/configs/edminiv2.h +0 -3
index dd16e3fbda43..949ff55624d6 100644
@@ -122,9 +122,6 @@
  */
 #ifdef CONFIG_IDE
 #define __io
-#define CONFIG_IDE_PREINIT
-/* ED Mini V has an IDE-compatible SATA connector for port 1 */
-#define CONFIG_MVSATA_IDE_USE_PORT1
 /* Needs byte-swapping for ATA data register */
 #define CONFIG_IDE_SWAP_IO
 /* Data, registers and alternate blocks are at the same offset */
include/configs/goflexhome.h +0 -7
index 51325047ecda..a18e7869b08f 100644
@@ -72,11 +72,4 @@
 #define CONFIG_PHY_BASE_ADR	0
 #endif /* CONFIG_CMD_NET */
 
-/*
- *  * SATA Driver configuration
- *   */
-#ifdef CONFIG_MVSATA_IDE
-#define CONFIG_SYS_ATA_IDE0_OFFSET      MV_SATA_PORT0_OFFSET
-#endif /*CONFIG_MVSATA_IDE*/
-
 #endif /* _CONFIG_GOFLEXHOME_H */
include/configs/guruplug.h +0 -7
index 1e1e5da4d52f..8de888fe7e06 100644
@@ -66,11 +66,4 @@
 #define CONFIG_PHY_BASE_ADR	0
 #endif /* CONFIG_CMD_NET */
 
-/*
- * SATA Driver configuration
- */
-#ifdef CONFIG_MVSATA_IDE
-#define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
-#endif /*CONFIG_MVSATA_IDE*/
-
 #endif /* _CONFIG_GURUPLUG_H */
include/configs/ib62x0.h +0 -3
index 41483a2f7e40..ba859a9a2499 100644
@@ -56,9 +56,6 @@
  */
 #ifdef CONFIG_IDE
 #define __io
-#define CONFIG_IDE_PREINIT
-#define CONFIG_MVSATA_IDE_USE_PORT0
-#define CONFIG_MVSATA_IDE_USE_PORT1
 #define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
 #define CONFIG_SYS_ATA_IDE1_OFFSET	MV_SATA_PORT1_OFFSET
 #endif /* CONFIG_IDE */
include/configs/nas220.h +0 -8
index b95c7fc3be77..1fd5471ac5ff 100644
@@ -80,14 +80,6 @@
 #define CONFIG_JFFS2_NAND
 #define CONFIG_JFFS2_LZO
 
-/*
- * SATA
- */
-#ifdef CONFIG_MVSATA_IDE
-#define CONFIG_SYS_ATA_IDE0_OFFSET      MV_SATA_PORT0_OFFSET
-#define CONFIG_SYS_ATA_IDE1_OFFSET      MV_SATA_PORT1_OFFSET
-#endif
-
 /*
  * EFI partition
  */
include/configs/nsa310s.h +0 -2
index 1cb0d68b5af2..e38c65a48583 100644
@@ -48,8 +48,6 @@
 /* SATA driver configuration */
 #ifdef CONFIG_IDE
 #define __io
-#define CONFIG_IDE_PREINIT
-#define CONFIG_MVSATA_IDE_USE_PORT0
 #define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
 #endif /* CONFIG_IDE */
 
include/configs/sheevaplug.h +0 -3
index e1f8fb8ac84b..bb11fd66c467 100644
@@ -63,9 +63,6 @@
  */
 #ifdef CONFIG_IDE
 #define __io
-#define CONFIG_IDE_PREINIT
-#define CONFIG_MVSATA_IDE_USE_PORT0
-#define CONFIG_MVSATA_IDE_USE_PORT1
 #define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
 #define CONFIG_SYS_ATA_IDE1_OFFSET	MV_SATA_PORT1_OFFSET
 #endif /* CONFIG_IDE */
scripts/config_whitelist.txt +0 -2
index c6a831249569..5e725f4dccec 100644
@@ -1096,8 +1096,6 @@ CONFIG_MVEBU_MMC
 CONFIG_MVGBE_PORTS
 CONFIG_MVMFP_V2
 CONFIG_MVS
-CONFIG_MVSATA_IDE_USE_PORT0
-CONFIG_MVSATA_IDE_USE_PORT1
 CONFIG_MV_ETH_RXQ
 CONFIG_MV_I2C_NUM
 CONFIG_MV_I2C_REG
Signature · 1 line
2.17.1
author
#36 lore raw

PATCH 15/16 drivers: ata: Remove mvsata_ide driver

Quoted 5 lines · Tom Rini

The mvsata_ide driver was due for DM conversion by v2019.07. As that has long passed, remove the driver and disable it in the boards which had enabled it.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210411/830aca98/attachment.sig>
author
#37 lore raw

PATCH 16/16 ata: Make LIBATA means AHCI is enabled mandatory.

In reply to Tom Rini

The migration deadline for having LIBATA mean that AHCI is also enabled was v2019.07. As that has long since passed, adjust the Kconfig dependencies.

---
 Makefile            | 11 -----------
 drivers/ata/Kconfig |  6 ++++--
 2 files changed, 4 insertions(+), 13 deletions(-)
Makefile +0 -11
index 9d6ac5e16fe5..a71b66c8449a 100644
@@ -1064,17 +1064,6 @@ ifneq ($(CONFIG_DM_USB)$(CONFIG_OF_CONTROL)$(CONFIG_BLK),yyy)
 	@echo >&2 "===================================================="
 endif
 endif
-ifeq ($(CONFIG_LIBATA),y)
-ifneq ($(CONFIG_AHCI),y)
-	@echo >&2 "===================== WARNING ======================"
-	@echo >&2 "This board does use CONFIG_LIBATA but has CONFIG_AHCI not"
-	@echo >&2 "enabled. Please update the storage controller driver to use"
-	@echo >&2 "CONFIG_AHCI before the v2019.07 release."
-	@echo >&2 "Failure to update by the deadline may result in board removal."
-	@echo >&2 "See doc/driver-model/migration.rst for more info."
-	@echo >&2 "===================================================="
-endif
-endif
 ifeq ($(CONFIG_PCI),y)
 ifneq ($(CONFIG_DM_PCI),y)
 	@echo >&2 "===================== WARNING ======================"
drivers/ata/Kconfig +4 -2
index 9ff4b8736c1f..5bbd76a3c70c 100644
@@ -77,8 +77,9 @@ config DWC_AHSATA_AHCI
 
 config FSL_SATA
 	bool "Enable Freescale SATA controller driver support"
+	select AHCI
 	select LIBATA
-	select AHCI if BLK
+	depends on BLK
 	help
 	  Enable this driver to support the SATA controller found in
 	  some Freescale PowerPC SoCs.
@@ -94,8 +95,9 @@ config SATA_MV
 
 config SATA_SIL
 	bool "Enable Silicon Image SIL3131 / SIL3132 / SIL3124 SATA driver support"
+	select AHCI
 	select LIBATA
-	select AHCI if BLK
+	depends on BLK
 	help
 	  Enable this driver to support the SIL3131, SIL3132 and SIL3124
 	  SATA controllers.
Signature · 1 line
2.17.1