Skip to contentSkip to conversation

ARM: Removing ARCH_S5P6442

PATCH New Kukjin Kim 3 participants 7 messages May 12, 2011 – May 18, 2011

Subsystems (8)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

cover ARM: Removing ARCH_S5P6442

This patch remvoes mach-s5p6442 directory for ARCH_S5P6442 in arch/arm.

If any problems, please let me know immediately.

[PATCH 1/3] ARM: S5P6442: Removing ARCH_S5P6442 [PATCH 2/3] ASoC: Remove to support sound for S5P6442 [PATCH 3/3] tty: Remove to support serial for S5P6442

author
#1 lore raw

PATCH 1/3 ARM: S5P6442: Removing ARCH_S5P6442

---
 Documentation/arm/Samsung/Overview.txt           |    2 -
 arch/arm/Kconfig                                 |   16 +-
 arch/arm/Makefile                                |    1 -
 arch/arm/common/Kconfig                          |    2 +-
 arch/arm/configs/s5p6442_defconfig               |   65 ----
 arch/arm/mach-s5p6442/Kconfig                    |   25 --
 arch/arm/mach-s5p6442/Makefile                   |   24 --
 arch/arm/mach-s5p6442/Makefile.boot              |    2 -
 arch/arm/mach-s5p6442/clock.c                    |  420 ----------------------
 arch/arm/mach-s5p6442/cpu.c                      |  143 --------
 arch/arm/mach-s5p6442/dev-audio.c                |  217 -----------
 arch/arm/mach-s5p6442/dev-spi.c                  |  121 -------
 arch/arm/mach-s5p6442/dma.c                      |  105 ------
 arch/arm/mach-s5p6442/include/mach/debug-macro.S |   35 --
 arch/arm/mach-s5p6442/include/mach/dma.h         |   26 --
 arch/arm/mach-s5p6442/include/mach/entry-macro.S |   48 ---
 arch/arm/mach-s5p6442/include/mach/gpio.h        |  123 -------
 arch/arm/mach-s5p6442/include/mach/hardware.h    |   18 -
 arch/arm/mach-s5p6442/include/mach/io.h          |   17 -
 arch/arm/mach-s5p6442/include/mach/irqs.h        |   87 -----
 arch/arm/mach-s5p6442/include/mach/map.h         |   76 ----
 arch/arm/mach-s5p6442/include/mach/memory.h      |   19 -
 arch/arm/mach-s5p6442/include/mach/pwm-clock.h   |   70 ----
 arch/arm/mach-s5p6442/include/mach/regs-clock.h  |  104 ------
 arch/arm/mach-s5p6442/include/mach/regs-irq.h    |   19 -
 arch/arm/mach-s5p6442/include/mach/spi-clocks.h  |   17 -
 arch/arm/mach-s5p6442/include/mach/system.h      |   23 --
 arch/arm/mach-s5p6442/include/mach/tick.h        |   26 --
 arch/arm/mach-s5p6442/include/mach/timex.h       |   24 --
 arch/arm/mach-s5p6442/include/mach/uncompress.h  |   24 --
 arch/arm/mach-s5p6442/include/mach/vmalloc.h     |   17 -
 arch/arm/mach-s5p6442/init.c                     |   44 ---
 arch/arm/mach-s5p6442/mach-smdk6442.c            |  102 ------
 arch/arm/mach-s5p6442/setup-i2c0.c               |   28 --
 arch/arm/plat-s5p/Kconfig                        |    2 +-
 arch/arm/plat-s5p/cpu.c                          |   10 -
 arch/arm/plat-s5p/include/plat/s5p6442.h         |   33 --
 arch/arm/plat-samsung/include/plat/cpu.h         |    1 -
 arch/arm/plat-samsung/include/plat/debug-macro.S |    2 +-
 arch/arm/plat-samsung/include/plat/devs.h        |    6 -
 arch/arm/plat-samsung/include/plat/regs-serial.h |    2 +-
 arch/arm/plat-samsung/include/plat/s3c64xx-spi.h |    1 -
 42 files changed, 6 insertions(+), 2141 deletions(-)
 delete mode 100644 arch/arm/configs/s5p6442_defconfig
 delete mode 100644 arch/arm/mach-s5p6442/Kconfig
 delete mode 100644 arch/arm/mach-s5p6442/Makefile
 delete mode 100644 arch/arm/mach-s5p6442/Makefile.boot
 delete mode 100644 arch/arm/mach-s5p6442/clock.c
 delete mode 100644 arch/arm/mach-s5p6442/cpu.c
 delete mode 100644 arch/arm/mach-s5p6442/dev-audio.c
 delete mode 100644 arch/arm/mach-s5p6442/dev-spi.c
 delete mode 100644 arch/arm/mach-s5p6442/dma.c
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/debug-macro.S
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/dma.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/entry-macro.S
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/gpio.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/hardware.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/io.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/irqs.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/map.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/memory.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/pwm-clock.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/regs-clock.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/regs-irq.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/spi-clocks.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/system.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/tick.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/timex.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/uncompress.h
 delete mode 100644 arch/arm/mach-s5p6442/include/mach/vmalloc.h
 delete mode 100644 arch/arm/mach-s5p6442/init.c
 delete mode 100644 arch/arm/mach-s5p6442/mach-smdk6442.c
 delete mode 100644 arch/arm/mach-s5p6442/setup-i2c0.c
 delete mode 100644 arch/arm/plat-s5p/include/plat/s5p6442.h
Documentation/arm/Samsung/Overview.txt +0 -2
index c3094ea..658abb2 100644
@@ -14,7 +14,6 @@ Introduction
   - S3C24XX: See Documentation/arm/Samsung-S3C24XX/Overview.txt for full list
   - S3C64XX: S3C6400 and S3C6410
   - S5P6440
-  - S5P6442
   - S5PC100
   - S5PC110 / S5PV210
 
@@ -36,7 +35,6 @@ Configuration
   unifying all the SoCs into one kernel.
 
   s5p6440_defconfig - S5P6440 specific default configuration
-  s5p6442_defconfig - S5P6442 specific default configuration
   s5pc100_defconfig - S5PC100 specific default configuration
   s5pc110_defconfig - S5PC110 specific default configuration
   s5pv210_defconfig - S5PV210 specific default configuration
arch/arm/Kconfig +2 -14
index 377a7a5..e81c72c 100644
@@ -736,16 +736,6 @@ config ARCH_S5P64X0
 	  Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
 	  SMDK6450.
 
-config ARCH_S5P6442
-	bool "Samsung S5P6442"
-	select CPU_V6
-	select GENERIC_GPIO
-	select HAVE_CLK
-	select ARCH_USES_GETTIMEOFFSET
-	select HAVE_S3C2410_WATCHDOG if WATCHDOG
-	help
-	  Samsung S5P6442 CPU based systems
-
 config ARCH_S5PC100
 	bool "Samsung S5PC100"
 	select GENERIC_GPIO
@@ -995,8 +985,6 @@ endif
 
 source "arch/arm/mach-s5p64x0/Kconfig"
 
-source "arch/arm/mach-s5p6442/Kconfig"
-
 source "arch/arm/mach-s5pc100/Kconfig"
 
 source "arch/arm/mach-s5pv210/Kconfig"
@@ -1424,7 +1412,7 @@ source kernel/Kconfig.preempt
 config HZ
 	int
 	default 200 if ARCH_EBSA110 || ARCH_S3C2410 || ARCH_S5P64X0 || \
-		ARCH_S5P6442 || ARCH_S5PV210 || ARCH_EXYNOS4
+		ARCH_S5PV210 || ARCH_EXYNOS4
 	default OMAP_32K_TIMER_HZ if ARCH_OMAP && OMAP_32K_TIMER
 	default AT91_TIMER_HZ if ARCH_AT91
 	default SHMOBILE_TIMER_HZ if ARCH_SHMOBILE
@@ -2010,7 +1998,7 @@ menu "Power management options"
 source "kernel/power/Kconfig"
 
 config ARCH_SUSPEND_POSSIBLE
-	depends on !ARCH_S5P64X0 && !ARCH_S5P6442
+	depends on !ARCH_S5P64X0
 	depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
 		CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE
 	def_bool y
arch/arm/Makefile +0 -1
index c7d321a..c17304b 100644
@@ -178,7 +178,6 @@ machine-$(CONFIG_ARCH_S3C2410)		:= s3c2410 s3c2400 s3c2412 s3c2416 s3c2440 s3c24
 machine-$(CONFIG_ARCH_S3C24A0)		:= s3c24a0
 machine-$(CONFIG_ARCH_S3C64XX)		:= s3c64xx
 machine-$(CONFIG_ARCH_S5P64X0)		:= s5p64x0
-machine-$(CONFIG_ARCH_S5P6442)		:= s5p6442
 machine-$(CONFIG_ARCH_S5PC100)		:= s5pc100
 machine-$(CONFIG_ARCH_S5PV210)		:= s5pv210
 machine-$(CONFIG_ARCH_EXYNOS4)		:= exynos4
arch/arm/common/Kconfig +1 -1
index ea5ee4d..4b71766 100644
@@ -7,7 +7,7 @@ config ARM_VIC
 config ARM_VIC_NR
 	int
 	default 4 if ARCH_S5PV210
-	default 3 if ARCH_S5P6442 || ARCH_S5PC100
+	default 3 if ARCH_S5PC100
 	default 2
 	depends on ARM_VIC
 	help
arch/arm/configs/s5p6442_defconfig deleted +0 -65

65 lines not on this page · raw message

arch/arm/mach-s5p6442/Kconfig deleted +0 -25
deleted file mode 100644
index 33569e4..0000000
@@ -1,25 +0,0 @@
-# arch/arm/mach-s5p6442/Kconfig
-#
-# Copyright (c) 2010 Samsung Electronics Co., Ltd.
-#		http://www.samsung.com/
-#
-# Licensed under GPLv2
-
-# Configuration options for the S5P6442
-
-if ARCH_S5P6442
-
-config CPU_S5P6442
-	bool
-	select S3C_PL330_DMA
-	help
-	  Enable S5P6442 CPU support
-
-config MACH_SMDK6442
-	bool "SMDK6442"
-	select CPU_S5P6442
-	select S3C_DEV_WDT
-	help
-	  Machine support for Samsung SMDK6442
-
-endif
arch/arm/mach-s5p6442/Makefile deleted +0 -24
deleted file mode 100644
index 90a3d83..0000000
@@ -1,24 +0,0 @@
-# arch/arm/mach-s5p6442/Makefile
-#
-# Copyright (c) 2010 Samsung Electronics Co., Ltd.
-# 		http://www.samsung.com/
-#
-# Licensed under GPLv2
-
-obj-y				:=
-obj-m				:=
-obj-n				:=
-obj-				:=
-
-# Core support for S5P6442 system
-
-obj-$(CONFIG_CPU_S5P6442)	+= cpu.o init.o clock.o dma.o
-obj-$(CONFIG_CPU_S5P6442)	+= setup-i2c0.o
-
-# machine support
-
-obj-$(CONFIG_MACH_SMDK6442)	+= mach-smdk6442.o
-
-# device support
-obj-y				+= dev-audio.o
-obj-$(CONFIG_S3C64XX_DEV_SPI)	+= dev-spi.o
arch/arm/mach-s5p6442/Makefile.boot deleted +0 -2
deleted file mode 100644
index ff90aa1..0000000
@@ -1,2 +0,0 @@
-   zreladdr-y	:= 0x20008000
-params_phys-y	:= 0x20000100
arch/arm/mach-s5p6442/clock.c deleted +0 -420

420 lines not on this page · raw message

arch/arm/mach-s5p6442/cpu.c deleted +0 -143

143 lines not on this page · raw message

arch/arm/mach-s5p6442/dev-audio.c deleted +0 -217

217 lines not on this page · raw message

arch/arm/mach-s5p6442/dev-spi.c deleted +0 -121

121 lines not on this page · raw message

arch/arm/mach-s5p6442/dma.c deleted +0 -105

105 lines not on this page · raw message

arch/arm/mach-s5p6442/include/mach/debug-macro.S deleted +0 -35
deleted file mode 100644
index e221320..0000000
@@ -1,35 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/include/mach/debug-macro.S
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * Based on arch/arm/mach-s3c6400/include/mach/debug-macro.S
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-/* pull in the relevant register and map files. */
-
-#include <mach/map.h>
-#include <plat/regs-serial.h>
-
-	.macro addruart, rp, rv
-		ldr	\rp, = S3C_PA_UART
-		ldr	\rv, = S3C_VA_UART
-#if CONFIG_DEBUG_S3C_UART != 0
-		add	\rp, \rp, #(0x400 * CONFIG_DEBUG_S3C_UART)
-		add	\rv, \rv, #(0x400 * CONFIG_DEBUG_S3C_UART)
-#endif
-	.endm
-
-#define fifo_full fifo_full_s5pv210
-#define fifo_level fifo_level_s5pv210
-
-/* include the reset of the code which will do the work, we're only
- * compiling for a single cpu processor type so the default of s3c2440
- * will be fine with us.
- */
-
-#include <plat/debug-macro.S>
arch/arm/mach-s5p6442/include/mach/dma.h deleted +0 -26
deleted file mode 100644
index 81209eb..0000000
@@ -1,26 +0,0 @@
-/*
- * Copyright (C) 2010 Samsung Electronics Co. Ltd.
- *	Jaswinder Singh <[email protected]>
- *
- * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-#ifndef __MACH_DMA_H
-#define __MACH_DMA_H
-
-/* This platform uses the common S3C DMA API driver for PL330 */
-#include <plat/s3c-dma-pl330.h>
-
-#endif /* __MACH_DMA_H */
arch/arm/mach-s5p6442/include/mach/entry-macro.S deleted +0 -48

48 lines not on this page · raw message

arch/arm/mach-s5p6442/include/mach/gpio.h deleted +0 -123

123 lines not on this page · raw message

arch/arm/mach-s5p6442/include/mach/hardware.h deleted +0 -18
deleted file mode 100644
index 8cd7b67..0000000
@@ -1,18 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/include/mach/hardware.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6442 - Hardware support
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_HARDWARE_H
-#define __ASM_ARCH_HARDWARE_H __FILE__
-
-/* currently nothing here, placeholder */
-
-#endif /* __ASM_ARCH_HARDWARE_H */
arch/arm/mach-s5p6442/include/mach/io.h deleted +0 -17
deleted file mode 100644
index 5d2195a..0000000
@@ -1,17 +0,0 @@
-/* arch/arm/mach-s5p6442/include/mach/io.h
- *
- * Copyright 2008-2010 Ben Dooks <[email protected]>
- *
- * Default IO routines for S5P6442
- */
-
-#ifndef __ASM_ARM_ARCH_IO_H
-#define __ASM_ARM_ARCH_IO_H
-
-/* No current ISA/PCI bus support. */
-#define __io(a)		__typesafe_io(a)
-#define __mem_pci(a)	(a)
-
-#define IO_SPACE_LIMIT (0xFFFFFFFF)
-
-#endif
arch/arm/mach-s5p6442/include/mach/irqs.h deleted +0 -87

87 lines not on this page · raw message

arch/arm/mach-s5p6442/include/mach/map.h deleted +0 -76

76 lines not on this page · raw message

arch/arm/mach-s5p6442/include/mach/memory.h deleted +0 -19
deleted file mode 100644
index cfe259d..0000000
@@ -1,19 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/include/mach/memory.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6442 - Memory definitions
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_MEMORY_H
-#define __ASM_ARCH_MEMORY_H
-
-#define PLAT_PHYS_OFFSET		UL(0x20000000)
-#define CONSISTENT_DMA_SIZE	SZ_8M
-
-#endif /* __ASM_ARCH_MEMORY_H */
arch/arm/mach-s5p6442/include/mach/pwm-clock.h deleted +0 -70

70 lines not on this page · raw message

arch/arm/mach-s5p6442/include/mach/regs-clock.h deleted +0 -104

104 lines not on this page · raw message

arch/arm/mach-s5p6442/include/mach/regs-irq.h deleted +0 -19
deleted file mode 100644
index 73782b5..0000000
@@ -1,19 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/include/mach/regs-irq.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6442 - IRQ register definitions
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_REGS_IRQ_H
-#define __ASM_ARCH_REGS_IRQ_H __FILE__
-
-#include <asm/hardware/vic.h>
-#include <mach/map.h>
-
-#endif /* __ASM_ARCH_REGS_IRQ_H */
arch/arm/mach-s5p6442/include/mach/spi-clocks.h deleted +0 -17
deleted file mode 100644
index 7fd8820..0000000
@@ -1,17 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/include/mach/spi-clocks.h
- *
- * Copyright (C) 2010 Samsung Electronics Co. Ltd.
- *	Jaswinder Singh <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef __S5P6442_PLAT_SPI_CLKS_H
-#define __S5P6442_PLAT_SPI_CLKS_H __FILE__
-
-#define S5P6442_SPI_SRCCLK_PCLK		0
-#define S5P6442_SPI_SRCCLK_SCLK		1
-
-#endif /* __S5P6442_PLAT_SPI_CLKS_H */
arch/arm/mach-s5p6442/include/mach/system.h deleted +0 -23
deleted file mode 100644
index c30c1cc..0000000
@@ -1,23 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/include/mach/system.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6442 - system support header
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_SYSTEM_H
-#define __ASM_ARCH_SYSTEM_H __FILE__
-
-#include <plat/system-reset.h>
-
-static void arch_idle(void)
-{
-	/* nothing here yet */
-}
-
-#endif /* __ASM_ARCH_SYSTEM_H */
arch/arm/mach-s5p6442/include/mach/tick.h deleted +0 -26
deleted file mode 100644
index e1d4cab..0000000
@@ -1,26 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/include/mach/tick.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * Based on arch/arm/mach-s3c6400/include/mach/tick.h
- *
- * S5P6442 - Timer tick support definitions
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_TICK_H
-#define __ASM_ARCH_TICK_H __FILE__
-
-static inline u32 s3c24xx_ostimer_pending(void)
-{
-	u32 pend = __raw_readl(VA_VIC0 + VIC_RAW_STATUS);
-	return pend & (1 << (IRQ_TIMER4_VIC - S5P_IRQ_VIC0(0)));
-}
-
-#define TICK_MAX	(0xffffffff)
-
-#endif /* __ASM_ARCH_TICK_H */
arch/arm/mach-s5p6442/include/mach/timex.h deleted +0 -24
deleted file mode 100644
index ff8f2fc..0000000
@@ -1,24 +0,0 @@
-/* arch/arm/mach-s5p6442/include/mach/timex.h
- *
- * Copyright (c) 2003-2010 Simtec Electronics
- *	Ben Dooks <[email protected]>
- *
- * S5P6442 - time parameters
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_TIMEX_H
-#define __ASM_ARCH_TIMEX_H
-
-/* CLOCK_TICK_RATE needs to be evaluatable by the cpp, so making it
- * a variable is useless. It seems as long as we make our timers an
- * exact multiple of HZ, any value that makes a 1->1 correspondence
- * for the time conversion functions to/from jiffies is acceptable.
-*/
-
-#define CLOCK_TICK_RATE 12000000
-
-#endif /* __ASM_ARCH_TIMEX_H */
arch/arm/mach-s5p6442/include/mach/uncompress.h deleted +0 -24
deleted file mode 100644
index 5ac7cbe..0000000
@@ -1,24 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/include/mach/uncompress.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * S5P6442 - uncompress code
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#ifndef __ASM_ARCH_UNCOMPRESS_H
-#define __ASM_ARCH_UNCOMPRESS_H
-
-#include <mach/map.h>
-#include <plat/uncompress.h>
-
-static void arch_detect_cpu(void)
-{
-	/* we do not need to do any cpu detection here at the moment. */
-}
-
-#endif /* __ASM_ARCH_UNCOMPRESS_H */
arch/arm/mach-s5p6442/include/mach/vmalloc.h deleted +0 -17
deleted file mode 100644
index 4aa55e5..0000000
@@ -1,17 +0,0 @@
-/* arch/arm/mach-s5p6442/include/mach/vmalloc.h
- *
- * Copyright 2010 Ben Dooks <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * S5P6442 vmalloc definition
-*/
-
-#ifndef __ASM_ARCH_VMALLOC_H
-#define __ASM_ARCH_VMALLOC_H
-
-#define VMALLOC_END	0xF6000000UL
-
-#endif /* __ASM_ARCH_VMALLOC_H */
arch/arm/mach-s5p6442/init.c deleted +0 -44

44 lines not on this page · raw message

arch/arm/mach-s5p6442/mach-smdk6442.c deleted +0 -102

102 lines not on this page · raw message

arch/arm/mach-s5p6442/setup-i2c0.c deleted +0 -28
deleted file mode 100644
index aad8565..0000000
@@ -1,28 +0,0 @@
-/* linux/arch/arm/mach-s5p6442/setup-i2c0.c
- *
- * Copyright (c) 2009 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * I2C0 GPIO configuration.
- *
- * Based on plat-s3c64xx/setup-i2c0.c
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#include <linux/kernel.h>
-#include <linux/types.h>
-#include <linux/gpio.h>
-
-struct platform_device; /* don't need the contents */
-
-#include <plat/gpio-cfg.h>
-#include <plat/iic.h>
-
-void s3c_i2c0_cfg_gpio(struct platform_device *dev)
-{
-	s3c_gpio_cfgall_range(S5P6442_GPD1(0), 2,
-			      S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP);
-}
arch/arm/plat-s5p/Kconfig +1 -1
index 8492297..5878bd9 100644
@@ -7,7 +7,7 @@
 
 config PLAT_S5P
 	bool
-	depends on (ARCH_S5P64X0 || ARCH_S5P6442 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS4)
+	depends on (ARCH_S5P64X0 || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS4)
 	default y
 	select ARM_VIC if !ARCH_EXYNOS4
 	select ARM_GIC if ARCH_EXYNOS4
arch/arm/plat-s5p/cpu.c +0 -10
index 5cf5e72..bbc2aa7 100644
@@ -21,7 +21,6 @@
 
 #include <plat/cpu.h>
 #include <plat/s5p6440.h>
-#include <plat/s5p6442.h>
 #include <plat/s5p6450.h>
 #include <plat/s5pc100.h>
 #include <plat/s5pv210.h>
@@ -30,7 +29,6 @@
 /* table of supported CPUs */
 
 static const char name_s5p6440[] = "S5P6440";
-static const char name_s5p6442[] = "S5P6442";
 static const char name_s5p6450[] = "S5P6450";
 static const char name_s5pc100[] = "S5PC100";
 static const char name_s5pv210[] = "S5PV210/S5PC110";
@@ -46,14 +44,6 @@ static struct cpu_table cpu_ids[] __initdata = {
 		.init		= s5p64x0_init,
 		.name		= name_s5p6440,
 	}, {
-		.idcode		= 0x36442000,
-		.idmask		= 0xfffff000,
-		.map_io		= s5p6442_map_io,
-		.init_clocks	= s5p6442_init_clocks,
-		.init_uarts	= s5p6442_init_uarts,
-		.init		= s5p6442_init,
-		.name		= name_s5p6442,
-	}, {
 		.idcode		= 0x36450000,
 		.idmask		= 0xfffff000,
 		.map_io		= s5p6450_map_io,
arch/arm/plat-s5p/include/plat/s5p6442.h deleted +0 -33
deleted file mode 100644
index 7b88013..0000000
@@ -1,33 +0,0 @@
-/* arch/arm/plat-s5p/include/plat/s5p6442.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- *		http://www.samsung.com/
- *
- * Header file for s5p6442 cpu support
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-/* Common init code for S5P6442 related SoCs */
-
-extern void s5p6442_common_init_uarts(struct s3c2410_uartcfg *cfg, int no);
-extern void s5p6442_register_clocks(void);
-extern void s5p6442_setup_clocks(void);
-
-#ifdef CONFIG_CPU_S5P6442
-
-extern  int s5p6442_init(void);
-extern void s5p6442_init_irq(void);
-extern void s5p6442_map_io(void);
-extern void s5p6442_init_clocks(int xtal);
-
-#define s5p6442_init_uarts s5p6442_common_init_uarts
-
-#else
-#define s5p6442_init_clocks NULL
-#define s5p6442_init_uarts NULL
-#define s5p6442_map_io NULL
-#define s5p6442_init NULL
-#endif
arch/arm/plat-samsung/include/plat/cpu.h +0 -1
index cedfff5..6ff205b 100644
@@ -80,7 +80,6 @@ extern struct sysdev_class s3c2443_sysclass;
 extern struct sysdev_class s3c6410_sysclass;
 extern struct sysdev_class s3c64xx_sysclass;
 extern struct sysdev_class s5p64x0_sysclass;
-extern struct sysdev_class s5p6442_sysclass;
 extern struct sysdev_class s5pv210_sysclass;
 extern struct sysdev_class exynos4_sysclass;
 
arch/arm/plat-samsung/include/plat/debug-macro.S +1 -1
index dc6efd9..207e275 100644
@@ -11,7 +11,7 @@
 
 #include <plat/regs-serial.h>
 
-/* The S5PV210/S5PC110 and S5P6442 implementations are as belows. */
+/* The S5PV210/S5PC110 implementations are as belows. */
 
 	.macro fifo_level_s5pv210 rd, rx
 		ldr	\rd, [ \rx, # S3C2410_UFSTAT ]
arch/arm/plat-samsung/include/plat/devs.h +0 -6
index f0da6b7..d64adf1 100644
@@ -110,12 +110,6 @@ extern struct platform_device exynos4_device_spdif;
 extern struct platform_device exynos4_device_pd[];
 extern struct platform_device exynos4_device_ahci;
 
-extern struct platform_device s5p6442_device_pcm0;
-extern struct platform_device s5p6442_device_pcm1;
-extern struct platform_device s5p6442_device_iis0;
-extern struct platform_device s5p6442_device_iis1;
-extern struct platform_device s5p6442_device_spi;
-
 extern struct platform_device s5p6440_device_pcm;
 extern struct platform_device s5p6440_device_iis;
 
arch/arm/plat-samsung/include/plat/regs-serial.h +1 -1
index 788837e..c151c5f 100644
@@ -194,7 +194,7 @@
 #define S3C64XX_UINTSP		0x34
 #define S3C64XX_UINTM		0x38
 
-/* Following are specific to S5PV210 and S5P6442 */
+/* Following are specific to S5PV210 */
 #define S5PV210_UCON_CLKMASK	(1<<10)
 #define S5PV210_UCON_PCLK	(0<<10)
 #define S5PV210_UCON_UCLK	(1<<10)
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h +0 -1
index ff1a561..0ffe34a 100644
@@ -69,6 +69,5 @@ extern void s3c64xx_spi_set_info(int cntrlr, int src_clk_nr, int num_cs);
 extern void s5pc100_spi_set_info(int cntrlr, int src_clk_nr, int num_cs);
 extern void s5pv210_spi_set_info(int cntrlr, int src_clk_nr, int num_cs);
 extern void s5p64x0_spi_set_info(int cntrlr, int src_clk_nr, int num_cs);
-extern void s5p6442_spi_set_info(int cntrlr, int src_clk_nr, int num_cs);
 
 #endif /* __S3C64XX_PLAT_SPI_H */
Signature · 1 line
1.7.1
author
#2 lore raw

PATCH 2/3 ASoC: Remove to support sound for S5P6442

In reply to Kukjin Kim

According to removing ARCH_S5P6442, we don't need to support sound for S5P6442.

Cc Jassi Brar <[email protected]>
Cc Mark Brown <[email protected]>
---
 sound/soc/samsung/Kconfig       |    4 ++--
 sound/soc/samsung/smdk_wm8580.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
sound/soc/samsung/Kconfig +2 -2
index a3fdfb6..4b96b18 100644
@@ -1,6 +1,6 @@
 config SND_SOC_SAMSUNG
 	tristate "ASoC support for Samsung"
-	depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_S5P64X0 || ARCH_S5P6442 || ARCH_EXYNOS4
+	depends on ARCH_S3C2410 || ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_S5P64X0 || ARCH_EXYNOS4
 	select S3C64XX_DMA if ARCH_S3C64XX
 	select S3C2410_DMA if ARCH_S3C2410
 	help
@@ -55,7 +55,7 @@ config SND_SOC_SAMSUNG_JIVE_WM8750
 
 config SND_SOC_SAMSUNG_SMDK_WM8580
 	tristate "SoC I2S Audio support for WM8580 on SMDK"
-	depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDK6440 || MACH_SMDK6450 || MACH_SMDK6442 || MACH_SMDKV210 || MACH_SMDKC110)
+	depends on SND_SOC_SAMSUNG && (MACH_SMDK6410 || MACH_SMDKC100 || MACH_SMDK6440 || MACH_SMDK6450 || MACH_SMDKV210 || MACH_SMDKC110)
 	select SND_SOC_WM8580
 	select SND_SAMSUNG_I2S
 	help
sound/soc/samsung/smdk_wm8580.c +1 -1
index 8aacf23..3d26f66 100644
@@ -249,7 +249,7 @@ static int __init smdk_audio_init(void)
 	int ret;
 	char *str;
 
-	if (machine_is_smdkc100() || machine_is_smdk6442()
+	if (machine_is_smdkc100()
 			|| machine_is_smdkv210() || machine_is_smdkc110()) {
 		smdk.num_links = 3;
 		/* Secondary is at offset SAMSUNG_I2S_SECOFF from Primary */
Signature · 1 line
1.7.1
author
#4 lore raw

PATCH 3/3 tty: Remove to support serial for S5P6442

In reply to Kukjin Kim

According to removing ARCH_S5P6442, we don't need to support serial for S5P6442.

Cc Alan Cox <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/tty/serial/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/tty/serial/Kconfig +1 -1
index 80484af..2892f22 100644
@@ -537,7 +537,7 @@ config SERIAL_S3C6400
 
 config SERIAL_S5PV210
 	tristate "Samsung S5PV210 Serial port support"
-	depends on SERIAL_SAMSUNG && (CPU_S5PV210 || CPU_S5P6442 || CPU_EXYNOS4210)
+	depends on SERIAL_SAMSUNG && (CPU_S5PV210 || CPU_EXYNOS4210)
 	select SERIAL_SAMSUNG_UARTS_4 if (CPU_S5PV210 || CPU_EXYNOS4210)
 	default y
 	help
Signature · 1 line
1.7.1
#5 lore raw

cover ARM: Removing ARCH_S5P6442

In reply to Kukjin Kim
Quoted 1 line · Kukjin Kim

This patch remvoes mach-s5p6442 directory for ARCH_S5P6442 in arch/arm.

Why remove it? No users? Broken? ...?

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
author
#6 lore raw

cover ARM: Removing ARCH_S5P6442

Quoted 6 lines · Pavel Machek
Quoted 1 line · Kukjin Kim

This patch remvoes mach-s5p6442 directory for ARCH_S5P6442 in arch/arm.

Why remove it? No users? Broken? ...?

Hmm...do you want to keep it in upcoming mainline?

Actually, it works fine current mainline on smdk6442. Of course, every features/devices is not supported yet.

I'm not sure how many developers/companies use it current mainline now but at least as I know, no one would do it soon.

S5P6442 and S5PC100 were selected when I thought about removing mach-s5pxxxx.
As you know, I got concerns about C100, but 6442 and I agree with their opinions.

If S5P6442 is really required later, I think, we can implement it with other S5P64XX :)

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.