Skip to content

Commit

Permalink
Merge branch 'next/cleanup-samsung' of git://git.kernel.org/pub/scm/l…
Browse files Browse the repository at this point in the history
…inux/kernel/git/kgene/linux-samsung into next/cleanup

From Kukjin Kim <kgene.kim@samsung.com>:

Samsung cleanup patches for v3.6 and most of them are removing
useless codes

* 'next/cleanup-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: EXYNOS: Remove the L2 cache latency setting for EXYNOS5
  ARM: EXYNOS: Remove leftovers of the Samsung specific power domain control
  ARM: SAMSUNG: Remove unused variable 'running' on PWM
  ARM: SAMSUNG: remove unused SPI clock headers
  ARM: S3C24XX: remove unused header <mach/bast-pmu.h>
  ARM: S3C24XX: Remove duplicate header file inclusion
  ARM: SAMSUNG: Remove description corresponding to a deleted element
  ARM: S5PC100: Remove unused variable in dma.c file
  ARM: S5P64X0: Remove unused variable in dma.c file

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Jul 10, 2012
2 parents 5914f1a + c8dd511 commit bd977ef
Show file tree
Hide file tree
Showing 21 changed files with 0 additions and 306 deletions.
25 changes: 0 additions & 25 deletions arch/arm/mach-exynos/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,31 +712,6 @@ static int __init exynos4_l2x0_cache_init(void)
early_initcall(exynos4_l2x0_cache_init);
#endif

static int __init exynos5_l2_cache_init(void)
{
unsigned int val;

if (!soc_is_exynos5250())
return 0;

asm volatile("mrc p15, 0, %0, c1, c0, 0\n"
"bic %0, %0, #(1 << 2)\n" /* cache disable */
"mcr p15, 0, %0, c1, c0, 0\n"
"mrc p15, 1, %0, c9, c0, 2\n"
: "=r"(val));

val |= (1 << 9) | (1 << 5) | (2 << 6) | (2 << 0);

asm volatile("mcr p15, 1, %0, c9, c0, 2\n" : : "r"(val));
asm volatile("mrc p15, 0, %0, c1, c0, 0\n"
"orr %0, %0, #(1 << 2)\n" /* cache enable */
"mcr p15, 0, %0, c1, c0, 0\n"
: : "r"(val));

return 0;
}
early_initcall(exynos5_l2_cache_init);

static int __init exynos_init(void)
{
printk(KERN_INFO "EXYNOS: Initializing architecture\n");
Expand Down
16 changes: 0 additions & 16 deletions arch/arm/mach-exynos/include/mach/spi-clocks.h

This file was deleted.

1 change: 0 additions & 1 deletion arch/arm/mach-exynos/mach-nuri.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#include <plat/gpio-cfg.h>
#include <plat/iic.h>
#include <plat/mfc.h>
#include <plat/pd.h>
#include <plat/fimc-core.h>
#include <plat/camport.h>
#include <plat/mipi_csis.h>
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-exynos/mach-origen.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include <plat/clock.h>
#include <plat/gpio-cfg.h>
#include <plat/backlight.h>
#include <plat/pd.h>
#include <plat/fb.h>
#include <plat/mfc.h>

Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-exynos/mach-smdkv310.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <plat/keypad.h>
#include <plat/sdhci.h>
#include <plat/iic.h>
#include <plat/pd.h>
#include <plat/gpio-cfg.h>
#include <plat/backlight.h>
#include <plat/mfc.h>
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-exynos/mach-universal_c210.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <plat/fb.h>
#include <plat/mfc.h>
#include <plat/sdhci.h>
#include <plat/pd.h>
#include <plat/regs-fb-v4.h>
#include <plat/fimc-core.h>
#include <plat/s5p-time.h>
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-s3c24xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>

#include <mach/regs-clock.h>
#include <mach/regs-gpio.h>
#include <plat/regs-serial.h>

Expand Down
40 changes: 0 additions & 40 deletions arch/arm/mach-s3c24xx/include/mach/bast-pmu.h

This file was deleted.

18 changes: 0 additions & 18 deletions arch/arm/mach-s3c64xx/include/mach/spi-clocks.h

This file was deleted.

2 changes: 0 additions & 2 deletions arch/arm/mach-s5p64x0/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
#include <plat/devs.h>
#include <plat/irqs.h>

static u64 dma_dmamask = DMA_BIT_MASK(32);

static u8 s5p6440_pdma_peri[] = {
DMACH_UART0_RX,
DMACH_UART0_TX,
Expand Down
20 changes: 0 additions & 20 deletions arch/arm/mach-s5p64x0/include/mach/spi-clocks.h

This file was deleted.

2 changes: 0 additions & 2 deletions arch/arm/mach-s5pc100/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
#include <mach/irqs.h>
#include <mach/dma.h>

static u64 dma_dmamask = DMA_BIT_MASK(32);

static u8 pdma0_peri[] = {
DMACH_UART0_RX,
DMACH_UART0_TX,
Expand Down
18 changes: 0 additions & 18 deletions arch/arm/mach-s5pc100/include/mach/spi-clocks.h

This file was deleted.

17 changes: 0 additions & 17 deletions arch/arm/mach-s5pv210/include/mach/spi-clocks.h

This file was deleted.

8 changes: 0 additions & 8 deletions arch/arm/plat-samsung/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -491,14 +491,6 @@ config S5P_SLEEP
Internal config node to apply common S5P sleep management code.
Can be selected by S5P and newer SoCs with similar sleep procedure.

comment "Power Domain"

config SAMSUNG_PD
bool "Samsung Power Domain"
depends on PM_RUNTIME
help
Say Y here if you want to control Power Domain by Runtime PM.

config DEBUG_S3C_UART
depends on PLAT_SAMSUNG
int
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/plat-samsung/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
obj-$(CONFIG_S5P_PM) += s5p-pm.o s5p-irq-pm.o
obj-$(CONFIG_S5P_SLEEP) += s5p-sleep.o

# PD support

obj-$(CONFIG_SAMSUNG_PD) += pd.o

# PWM support

obj-$(CONFIG_HAVE_PWM) += pwm.o
1 change: 0 additions & 1 deletion arch/arm/plat-samsung/include/plat/devs.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ extern struct platform_device exynos4_device_ohci;
extern struct platform_device exynos4_device_pcm0;
extern struct platform_device exynos4_device_pcm1;
extern struct platform_device exynos4_device_pcm2;
extern struct platform_device exynos4_device_pd[];
extern struct platform_device exynos4_device_spdif;

extern struct platform_device exynos_device_drm;
Expand Down
1 change: 0 additions & 1 deletion arch/arm/plat-samsung/include/plat/fb.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ struct s3c_fb_pd_win {
* @setup_gpio: Setup the external GPIO pins to the right state to transfer
* the data from the display system to the connected display
* device.
* @default_win: default window layer number to be used for UI layer.
* @vidcon0: The base vidcon0 values to control the panel data format.
* @vidcon1: The base vidcon1 values to control the panel data output.
* @vtiming: Video timing when connected to a RGB type panel.
Expand Down
30 changes: 0 additions & 30 deletions arch/arm/plat-samsung/include/plat/pd.h

This file was deleted.

95 changes: 0 additions & 95 deletions arch/arm/plat-samsung/pd.c

This file was deleted.

Loading

0 comments on commit bd977ef

Please sign in to comment.