ARM: i.MX: Remove Phytec i.MX27 PCM038/PCM970 board files
Subsystems (3)
PATCH 1/1 ARM: i.MX: Remove Phytec i.MX27 PCM038/PCM970 board files
pcm970-baseboard.c and mach-pcm038.c can be replaced with their devicetree equivalents: imx27-phytec-phycore-rdk.dts and imx27-phytec-phycore-som.dtsi respectively, so remove the board files.
Signed-off-by Alexander Shiyan <[email protected]>
--- arch/arm/configs/imx_v4_v5_defconfig | 1 - arch/arm/mach-imx/Kconfig | 30 --- arch/arm/mach-imx/Makefile | 2 - arch/arm/mach-imx/board-pcm038.h | 36 ---- arch/arm/mach-imx/mach-pcm038.c | 358 ----------------------------------- arch/arm/mach-imx/pcm970-baseboard.c | 231 ---------------------- 6 files changed, 658 deletions(-) delete mode 100644 arch/arm/mach-imx/board-pcm038.h delete mode 100644 arch/arm/mach-imx/mach-pcm038.c delete mode 100644 arch/arm/mach-imx/pcm970-baseboard.c
arch/arm/configs/imx_v4_v5_defconfig +0 -1
@@ -30,7 +30,6 @@ CONFIG_MACH_MX25_3DS=y CONFIG_MACH_EUKREA_CPUIMX25SD=y CONFIG_MACH_IMX25_DT=y CONFIG_MACH_MX27ADS=y -CONFIG_MACH_PCM038=y CONFIG_MACH_MX27_3DS=y CONFIG_MACH_IMX27_VISSTRIM_M10=y CONFIG_MACH_PCA100=y
arch/arm/mach-imx/Kconfig +0 -30
@@ -231,36 +231,6 @@ config MACH_MX27ADS Include support for MX27ADS platform. This includes specific configurations for the board and its peripherals. -config MACH_PCM038 - bool "Phytec phyCORE-i.MX27 CPU module (pcm038)" - 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_MXC_NAND - select IMX_HAVE_PLATFORM_MXC_W1 - select IMX_HAVE_PLATFORM_SPI_IMX - select USB_ULPI_VIEWPORT if USB_ULPI - select SOC_IMX27 - help - Include support for phyCORE-i.MX27 (aka pcm038) platform. This - includes specific configurations for the module and its peripherals. - -choice - prompt "Baseboard" - depends on MACH_PCM038 - default MACH_PCM970_BASEBOARD - -config MACH_PCM970_BASEBOARD - bool "PHYTEC PCM970 development board" - select IMX_HAVE_PLATFORM_IMX_FB - select IMX_HAVE_PLATFORM_MXC_MMC - help - This adds board specific devices that can be found on Phytec's - PCM970 evaluation board. - -endchoice - config MACH_MX27_3DS bool "MX27PDK platform" select IMX_HAVE_PLATFORM_FSL_USB2_UDC
arch/arm/mach-imx/Makefile +0 -2
@@ -57,8 +57,6 @@ obj-$(CONFIG_MACH_IMX25_DT) += imx25-dt.o # i.MX27 based machines obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o -obj-$(CONFIG_MACH_PCM038) += mach-pcm038.o -obj-$(CONFIG_MACH_PCM970_BASEBOARD) += pcm970-baseboard.o obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
arch/arm/mach-imx/board-pcm038.h deleted +0 -36
@@ -1,36 +0,0 @@ -/* -* Copyright (C) 2008 Juergen Beisert (kernel at pengutronix.de) -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* of the License, or (at your option) any later version. -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, -* MA 02110-1301, USA. -*/ - -#ifndef __ASM_ARCH_MXC_BOARD_PCM038_H__ -#define __ASM_ARCH_MXC_BOARD_PCM038_H__ - -#ifndef __ASSEMBLY__ -/* -* This CPU module needs a baseboard to work. After basic initializing -* its own devices, it calls the baseboard's init function. -* TODO: Add your own baseboard init function and call it from -* inside pcm038_init(). -* -* This example here is for the development board. Refer pcm970-baseboard.c -*/ - -extern void pcm970_baseboard_init (void ); - -#endif - -#endif /* __ASM_ARCH_MXC_BOARD_PCM038_H__ */
arch/arm/mach-imx/mach-pcm038.c deleted +0 -358
358 lines not on this page · raw message
arch/arm/mach-imx/pcm970-baseboard.c deleted +0 -231
231 lines not on this page · raw message
Signature · 1 line
1.8.5.5
Shawn Guo
AppliedPATCH 1/1 ARM: i.MX: Remove Phytec i.MX27 PCM038/PCM970 board files
Quoted 5 lines · Alexander Shiyan
pcm970-baseboard.candmach-pcm038.ccan be replaced with their devicetree equivalents:imx27-phytec-phycore-rdk.dtsandimx27-phytec-phycore-som.dtsirespectively, so remove the board files.Signed-off-by Alexander Shiyan <[email protected]>
Applied, thanks.