Skip to contentSkip to conversation

board: davinci: Remove DA850 EVM support

PATCH In review Adam Ford 2 participants 2 messages Sep 13 – Sep 30

Subsystems (5)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 board: davinci: Remove DA850 EVM support

Remove the TI DA850 EVM board support along with its defconfigs, config header, U-Boot device tree overlay and Kconfig target. The OMAP-L138 LCDK continues to live in board/davinci/da8xxevm, so only the DA850 EVM specific pieces are dropped and the shared README files are updated to no longer describe the EVM.

The SPL linker script in the board directory is kept since it is used by every DaVinci board.

---
 arch/arm/dts/da850-evm-u-boot.dtsi    |  45 ---
 arch/arm/mach-davinci/Kconfig         |   7 -
 board/davinci/da8xxevm/Kconfig        |  28 --
 board/davinci/da8xxevm/MAINTAINERS    |   9 -
 board/davinci/da8xxevm/Makefile       |   1 -
 board/davinci/da8xxevm/README.da850   |  23 +-
 board/davinci/da8xxevm/da850evm.c     | 433 --------------------------
 configs/da850evm_defconfig            | 116 -------
 configs/da850evm_direct_nor_defconfig |  95 ------
 configs/da850evm_nand_defconfig       | 119 -------
 doc/README.davinci                    |  29 +-
 drivers/mtd/nand/raw/Kconfig          |   1 -
 include/configs/da850evm.h            | 172 ----------
 13 files changed, 6 insertions(+), 1072 deletions(-)
 delete mode 100644 arch/arm/dts/da850-evm-u-boot.dtsi
 delete mode 100644 board/davinci/da8xxevm/da850evm.c
 delete mode 100644 configs/da850evm_defconfig
 delete mode 100644 configs/da850evm_direct_nor_defconfig
 delete mode 100644 configs/da850evm_nand_defconfig
 delete mode 100644 include/configs/da850evm.h
arch/arm/dts/da850-evm-u-boot.dtsi deleted +0 -45
deleted file mode 100644
index 309130479a5..00000000000
@@ -1,45 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * da850-evm U-Boot Additions
- *
- * Copyright (C) 2017 Logic PD, Inc.
- * Copyright (C) Adam Ford
- */
-
-/ {
-	soc@1c00000 {
-		bootph-pre-ram;
-	};
-
-	nand {
-		compatible = "ti,davinci-nand";
-	};
-
-	panel {
-		bootph-all;
-	};
-};
-
-&eth0 {
-	pinctrl-0 = <&mii_pins>, <&mdio_pins>;
-};
-
-&flash {
-	compatible = "m25p64", "jedec,spi-nor";
-};
-
-&mmc0 {
-	bootph-pre-ram;
-};
-
-&serial2 {
-	bootph-pre-ram;
-};
-
-&spi1 {
-	bootph-pre-ram;
-};
-
-&gpio {
-	bootph-pre-ram;
-};
arch/arm/mach-davinci/Kconfig +0 -7
index 8fa2660a0cd..2b84b7c4a7e 100644
@@ -4,13 +4,6 @@ choice
 	prompt "DaVinci board select"
 	optional
 
-config TARGET_DA850EVM
-	bool "DA850 EVM board"
-	select MACH_DAVINCI_DA850_EVM
-	select SOC_DA850
-	select SUPPORT_SPL
-	imply OF_UPSTREAM
-
 config TARGET_OMAPL138_LCDK
 	bool "OMAPL138 LCDK"
 	select SOC_DA8XX
board/davinci/da8xxevm/Kconfig +0 -28
index 34055f69754..633f1c54354 100644
@@ -1,31 +1,3 @@
-if TARGET_DA850EVM
-
-config SYS_BOARD
-	default "da8xxevm"
-
-config SYS_VENDOR
-	default "davinci"
-
-config SYS_CONFIG_NAME
-	default "da850evm"
-
-menuconfig DA850_MAC
-	bool "Use MAC Address"
-	default y
-
-if DA850_MAC
-config MAC_ADDR_IN_SPIFLASH
-	bool "MAC address in SPI Flash"
-	default y
-	help
-	  The OMAP-L138 and AM1808 SoM are programmed with
-	  their MAC address in SPI Flash from the factory
-	  Enable this option to read the MAC from SPI Flash
-
-endif
-
-endif
-
 if TARGET_OMAPL138_LCDK
 
 config SYS_BOARD
board/davinci/da8xxevm/MAINTAINERS +0 -9
index 993b22f2f63..4ee7df12b72 100644
@@ -1,12 +1,3 @@
-DA850_EVM BOARD
-M:	Adam Ford <[email protected]>
-S:	Maintained
-F:	board/davinci/da8xxevm/
-F:	include/configs/da850evm.h
-F:	configs/da850evm_defconfig
-F:	configs/da850evm_nand_defconfig
-F:	configs/da850evm_direct_nor_defconfig
-
 OMAPL138_LCDK BOARD
 M:	Tom Rini <[email protected]>
 S:	Maintained
board/davinci/da8xxevm/Makefile +0 -1
index fe043d517f2..974c4a79ef9 100644
@@ -5,5 +5,4 @@
 #
 # Copyright (C) 2007 Sergey Kubushyn <[email protected]>
 
-obj-$(CONFIG_MACH_DAVINCI_DA850_EVM)	+= da850evm.o
 obj-$(CONFIG_TARGET_OMAPL138_LCDK)	+= omapl138_lcdk.o
board/davinci/da8xxevm/README.da850 +4 -19
index 50ef401b7c9..f9c6b40ea71 100644
@@ -27,11 +27,10 @@ loading the next image from a different media, etc).
 
 Compilation
 ===========
-The exact build target you need will depend on the board you have.  For
-Logic PD boards, or other boards which store the ethernet MAC address at
-the end of SPI flash, run 'make da850evm'.  Once this build completes you will have a
-u-boot.ais file that needs to be written to the correct persistent
-storage.
+The exact build target you need will depend on the board you have, for
+example 'make omapl138_lcdk_defconfig'.  Once this build completes you
+will have a u-boot.ais file that needs to be written to the correct
+persistent storage.
 
 
 Flashing the images to SPI
@@ -86,14 +85,6 @@ In this case the commands would be simplified to:
   U-Boot > nand erase.part bootloader
   U-Boot > nand write 0xc0700000 bootloader
 
-On the DA850-EVM, NAND can also be written with SW7:7-8 ON and
-
-  sudo mono sfh_OMAP-L138.exe -targetType AM1808 -p /dev/ttyUSB0 \
-	-flash_noubl -flashType NAND ~/src/u-boot/u-boot.ais
-
-To boot the DA850-EVM from NAND, SW7:5 should be switched on and all others
-off.
-
 Flashing the images to MMC
 ==========================
 If the boot pins are set to boot from mmc, the RBL will try to load the
@@ -127,16 +118,10 @@ to initialize hardware that's normally done by SPL.
 For this case, CONFIG_TEXT_BASE=0x60000000 which is the address to
 which the bootloader jumps when powered on.
 
-Example:
-For the da850evm, there is a defconfig setup to use the NOR flash on
-the UI expander board called da850evm_direct_nor_defconfig.
-
 Flash to NOR directly using
 sudo mono ./sfh_OMAP-L138.exe -p /dev/ttyUSB0 -flash_noubl
   -flashType NOR u-boot.bin
 
-SW7:5 through SW7:7 should be switched on and all others off.
-
 Recovery
 ========
 
board/davinci/da8xxevm/da850evm.c deleted +0 -433

433 lines not on this page · raw message

configs/da850evm_defconfig deleted +0 -116

116 lines not on this page · raw message

configs/da850evm_direct_nor_defconfig deleted +0 -95

95 lines not on this page · raw message

configs/da850evm_nand_defconfig deleted +0 -119

119 lines not on this page · raw message

doc/README.davinci +2 -27
index ea81279a0f3..97ca0dc39a6 100644
@@ -9,8 +9,6 @@ part number but is very similar to the DaVinci series.
 
 Currently the following boards are supported:
 
-* TI DA850 EVM
-
 * TI OMAP-L138 LCDK
 
 * Lego EV3
@@ -18,11 +16,6 @@ Currently the following boards are supported:
 Build
 =====
 
-* TI DA850 EVM:
-
-make da850evm_config
-make
-
 * TI OMAP-L138 LCDK
 
 make omapl138_lcdk_defconfig
@@ -42,33 +35,15 @@ initialization.
 
 The SPL is built as u-boot.ais for all DA850 defconfigs except those booting
 from NOR flash. The resulting image file can be programmed to the SPI flash
-of the DA850 EVM/LCDK.
+of the LCDK.
 
 Devices that support booting from NOR utilize execute in place (XIP) and do
 not require SPL to perform low level initialization.
 
-Environment Variables
-=====================
-
-The DA850 EVM allows the user to specify the maximum cpu clock allowed by the
-silicon, in Hz, via an environment variable "maxcpuclk".
-
-The maximum clock rate allowed depends on the silicon populated on the EVM.
-Please make sure you understand the restrictions placed on this clock in the
-device specific datasheet before setting up this variable. This information is
-passed to the Linux kernel using the ATAG_REVISION atag.
-
-If "maxcpuclk" is not defined, the configuration CFG_DA850_EVM_MAX_CPU_CLK
-is used to obtain this information.
-
 Links
 =====
 
-1) TI DA850 EVM
-http://focus.ti.com/docs/prod/folders/print/omap-l138.html
-http://www.logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit
-
-2) TI OMAP-L138 LCDK
+1) TI OMAP-L138 LCDK
 http://focus.ti.com/docs/prod/folders/print/omap-l138.html
 https://www.ti.com/tool/TMDXLCDK138
 
drivers/mtd/nand/raw/Kconfig +0 -1
index b5dfad7380f..6084b614358 100644
@@ -155,7 +155,6 @@ config NAND_BRCMNAND_IPROC
 config NAND_DAVINCI
 	bool "Support TI Davinci NAND controller"
 	depends on ARCH_DAVINCI || ARCH_KEYSTONE
-	select SYS_NAND_SELF_INIT if TARGET_DA850EVM
 	help
 	  Enable this driver for NAND flash controllers available in TI Davinci
 	  and Keystone2 platforms
include/configs/da850evm.h deleted +0 -172

172 lines not on this page · raw message

Signature · 1 line
2.53.0
#1 lore raw
Quoted 10 lines · Adam Ford

Remove the TI DA850 EVM board support along with its defconfigs, config header, U-Boot device tree overlay and Kconfig target. The OMAP-L138 LCDK continues to live in board/davinci/da8xxevm, so only the DA850 EVM specific pieces are dropped and the shared README files are updated to no longer describe the EVM.

The SPL linker script in the board directory is kept since it is used by every DaVinci board.

[...]

Applied to u-boot/main, thanks!

[1/1] board: davinci: Remove DA850 EVM support

      commit: 774283055ac6a030be36331e39b4be0c4a418184
Signature · 1 line
Tom