Skip to contentSkip to conversation

ARM: imx: Remove mx51_babbage board file

PATCH New Fabio Estevam 2 participants 3 messages Apr 4, 2014 – Apr 15, 2014

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: imx: Remove mx51_babbage board file

From: Fabio Estevam <[email protected]>

The device tree version for the babbage board (imx51-babbage.dtb) has a more complete support than the board file version, so remove the board file source code.

---
Hi Eric,

Do you think we could remove CPUIMX51SD board file well?

If so, then this would allow us to make imx51 to be device tree only (like mx53 and mx6).

 arch/arm/mach-imx/Kconfig             |  15 --
 arch/arm/mach-imx/Makefile            |   1 -
 arch/arm/mach-imx/mach-mx51_babbage.c | 428 ----------------------------------
 3 files changed, 444 deletions(-)
 delete mode 100644 arch/arm/mach-imx/mach-mx51_babbage.c
arch/arm/mach-imx/Kconfig +0 -15
index 5740296d..d56eb1a 100644
@@ -711,21 +711,6 @@ config MACH_IMX51_DT
 	  Include support for Freescale i.MX51 based platforms
 	  using the device tree for discovery
 
-config MACH_MX51_BABBAGE
-	bool "Support MX51 BABBAGE platforms"
-	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
-	select IMX_HAVE_PLATFORM_IMX2_WDT
-	select IMX_HAVE_PLATFORM_IMX_I2C
-	select IMX_HAVE_PLATFORM_IMX_UART
-	select IMX_HAVE_PLATFORM_MXC_EHCI
-	select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
-	select IMX_HAVE_PLATFORM_SPI_IMX
-	select SOC_IMX51
-	help
-	  Include support for MX51 Babbage platform, also known as MX51EVK in
-	  u-boot. This includes specific configurations for the board and its
-	  peripherals.
-
 config MACH_EUKREA_CPUIMX51SD
 	bool "Support Eukrea CPUIMX51SD module"
 	select IMX_HAVE_PLATFORM_FSL_USB2_UDC
arch/arm/mach-imx/Makefile +0 -1
index f4ed830..8dd377b 100644
@@ -109,7 +109,6 @@ endif
 obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
 
 # i.MX5 based machines
-obj-$(CONFIG_MACH_MX51_BABBAGE) += mach-mx51_babbage.o
 obj-$(CONFIG_MACH_EUKREA_CPUIMX51SD) += mach-cpuimx51sd.o
 obj-$(CONFIG_MACH_EUKREA_MBIMXSD51_BASEBOARD) += eukrea_mbimxsd51-baseboard.o
 
arch/arm/mach-imx/mach-mx51_babbage.c deleted +0 -428

428 lines not on this page · raw message

Signature · 1 line
1.8.3.2
Applied
#1 lore raw

PATCH 1/1 ARM: imx: Remove mx51_babbage board file

Quoted 7 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The device tree version for the babbage board (imx51-babbage.dtb) has a more complete support than the board file version, so remove the board file source code.

Applied, thanks.

author reviewer
#2 lore raw

PATCH 1/1 ARM: imx: Remove mx51_babbage board file

In reply to Fabio Estevam

Hi Eric,

Quoted 6 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

The device tree version for the babbage board (imx51-babbage.dtb) has a more complete support than the board file version, so remove the board file source code.

Quoted 8 lines

---
Hi Eric,

Do you think we could remove CPUIMX51SD board file well?

If so, then this would allow us to make imx51 to be device tree only (like mx53 and mx6).

Looking at mach-imx51cpusd.c the only support missing on the device tree version is the mcp2515 node (which has dt support in place).

Do you plan to add mcp2515 in the dts file so that we could remove mach-imx51cpusd.c and convert mx51 to a dt-only platform?

Regards,

Fabio Estevam