diff options
21 files changed, 0 insertions, 306 deletions
diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c index 742edd3bbec3..0ec1a91388c7 100644 --- a/arch/arm/mach-exynos/common.c +++ b/arch/arm/mach-exynos/common.c | |||
| @@ -712,31 +712,6 @@ static int __init exynos4_l2x0_cache_init(void) | |||
| 712 | early_initcall(exynos4_l2x0_cache_init); | 712 | early_initcall(exynos4_l2x0_cache_init); |
| 713 | #endif | 713 | #endif |
| 714 | 714 | ||
| 715 | static int __init exynos5_l2_cache_init(void) | ||
| 716 | { | ||
| 717 | unsigned int val; | ||
| 718 | |||
| 719 | if (!soc_is_exynos5250()) | ||
| 720 | return 0; | ||
| 721 | |||
| 722 | asm volatile("mrc p15, 0, %0, c1, c0, 0\n" | ||
| 723 | "bic %0, %0, #(1 << 2)\n" /* cache disable */ | ||
| 724 | "mcr p15, 0, %0, c1, c0, 0\n" | ||
| 725 | "mrc p15, 1, %0, c9, c0, 2\n" | ||
| 726 | : "=r"(val)); | ||
| 727 | |||
| 728 | val |= (1 << 9) | (1 << 5) | (2 << 6) | (2 << 0); | ||
| 729 | |||
| 730 | asm volatile("mcr p15, 1, %0, c9, c0, 2\n" : : "r"(val)); | ||
| 731 | asm volatile("mrc p15, 0, %0, c1, c0, 0\n" | ||
| 732 | "orr %0, %0, #(1 << 2)\n" /* cache enable */ | ||
| 733 | "mcr p15, 0, %0, c1, c0, 0\n" | ||
| 734 | : : "r"(val)); | ||
| 735 | |||
| 736 | return 0; | ||
| 737 | } | ||
| 738 | early_initcall(exynos5_l2_cache_init); | ||
| 739 | |||
| 740 | static int __init exynos_init(void) | 715 | static int __init exynos_init(void) |
| 741 | { | 716 | { |
| 742 | printk(KERN_INFO "EXYNOS: Initializing architecture\n"); | 717 | printk(KERN_INFO "EXYNOS: Initializing architecture\n"); |
diff --git a/arch/arm/mach-exynos/include/mach/spi-clocks.h b/arch/arm/mach-exynos/include/mach/spi-clocks.h deleted file mode 100644 index c71a5fba6a84..000000000000 --- a/arch/arm/mach-exynos/include/mach/spi-clocks.h +++ /dev/null | |||
| @@ -1,16 +0,0 @@ | |||
| 1 | /* linux/arch/arm/mach-exynos4/include/mach/spi-clocks.h | ||
| 2 | * | ||
| 3 | * Copyright (C) 2011 Samsung Electronics Co. Ltd. | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | */ | ||
| 9 | |||
| 10 | #ifndef __ASM_ARCH_SPI_CLKS_H | ||
| 11 | #define __ASM_ARCH_SPI_CLKS_H __FILE__ | ||
| 12 | |||
| 13 | /* Must source from SCLK_SPI */ | ||
| 14 | #define EXYNOS_SPI_SRCCLK_SCLK 0 | ||
| 15 | |||
| 16 | #endif /* __ASM_ARCH_SPI_CLKS_H */ | ||
diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-nuri.c index 656f8fc9addd..f3b328d0aff6 100644 --- a/arch/arm/mach-exynos/mach-nuri.c +++ b/arch/arm/mach-exynos/mach-nuri.c | |||
| @@ -50,7 +50,6 @@ | |||
| 50 | #include <plat/gpio-cfg.h> | 50 | #include <plat/gpio-cfg.h> |
| 51 | #include <plat/iic.h> | 51 | #include <plat/iic.h> |
| 52 | #include <plat/mfc.h> | 52 | #include <plat/mfc.h> |
| 53 | #include <plat/pd.h> | ||
| 54 | #include <plat/fimc-core.h> | 53 | #include <plat/fimc-core.h> |
| 55 | #include <plat/camport.h> | 54 | #include <plat/camport.h> |
| 56 | #include <plat/mipi_csis.h> | 55 | #include <plat/mipi_csis.h> |
diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-exynos/mach-origen.c index f5572be9d7bf..873c708fd340 100644 --- a/arch/arm/mach-exynos/mach-origen.c +++ b/arch/arm/mach-exynos/mach-origen.c | |||
| @@ -38,7 +38,6 @@ | |||
| 38 | #include <plat/clock.h> | 38 | #include <plat/clock.h> |
| 39 | #include <plat/gpio-cfg.h> | 39 | #include <plat/gpio-cfg.h> |
| 40 | #include <plat/backlight.h> | 40 | #include <plat/backlight.h> |
| 41 | #include <plat/pd.h> | ||
| 42 | #include <plat/fb.h> | 41 | #include <plat/fb.h> |
| 43 | #include <plat/mfc.h> | 42 | #include <plat/mfc.h> |
| 44 | 43 | ||
diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-exynos/mach-smdkv310.c index 262e9e446a96..5fb209c4a594 100644 --- a/arch/arm/mach-exynos/mach-smdkv310.c +++ b/arch/arm/mach-exynos/mach-smdkv310.c | |||
| @@ -34,7 +34,6 @@ | |||
| 34 | #include <plat/keypad.h> | 34 | #include <plat/keypad.h> |
| 35 | #include <plat/sdhci.h> | 35 | #include <plat/sdhci.h> |
| 36 | #include <plat/iic.h> | 36 | #include <plat/iic.h> |
| 37 | #include <plat/pd.h> | ||
| 38 | #include <plat/gpio-cfg.h> | 37 | #include <plat/gpio-cfg.h> |
| 39 | #include <plat/backlight.h> | 38 | #include <plat/backlight.h> |
| 40 | #include <plat/mfc.h> | 39 | #include <plat/mfc.h> |
diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-exynos/mach-universal_c210.c index cd92fa86ba41..68719f57dcea 100644 --- a/arch/arm/mach-exynos/mach-universal_c210.c +++ b/arch/arm/mach-exynos/mach-universal_c210.c | |||
| @@ -39,7 +39,6 @@ | |||
| 39 | #include <plat/fb.h> | 39 | #include <plat/fb.h> |
| 40 | #include <plat/mfc.h> | 40 | #include <plat/mfc.h> |
| 41 | #include <plat/sdhci.h> | 41 | #include <plat/sdhci.h> |
| 42 | #include <plat/pd.h> | ||
| 43 | #include <plat/regs-fb-v4.h> | 42 | #include <plat/regs-fb-v4.h> |
| 44 | #include <plat/fimc-core.h> | 43 | #include <plat/fimc-core.h> |
| 45 | #include <plat/s5p-time.h> | 44 | #include <plat/s5p-time.h> |
diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c index 56cdd34cce41..0c9e9a785ef6 100644 --- a/arch/arm/mach-s3c24xx/common.c +++ b/arch/arm/mach-s3c24xx/common.c | |||
| @@ -41,7 +41,6 @@ | |||
| 41 | #include <asm/mach/arch.h> | 41 | #include <asm/mach/arch.h> |
| 42 | #include <asm/mach/map.h> | 42 | #include <asm/mach/map.h> |
| 43 | 43 | ||
| 44 | #include <mach/regs-clock.h> | ||
| 45 | #include <mach/regs-gpio.h> | 44 | #include <mach/regs-gpio.h> |
| 46 | #include <plat/regs-serial.h> | 45 | #include <plat/regs-serial.h> |
| 47 | 46 | ||
diff --git a/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h b/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h deleted file mode 100644 index 4c38b39b741d..000000000000 --- a/arch/arm/mach-s3c24xx/include/mach/bast-pmu.h +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | /* arch/arm/mach-s3c2410/include/mach/bast-pmu.h | ||
| 2 | * | ||
| 3 | * Copyright (c) 2003-2004 Simtec Electronics | ||
| 4 | * Ben Dooks <ben@simtec.co.uk> | ||
| 5 | * Vincent Sanders <vince@simtec.co.uk> | ||
| 6 | * | ||
| 7 | * Machine BAST - Power Management chip | ||
| 8 | * | ||
| 9 | * This program is free software; you can redistribute it and/or modify | ||
| 10 | * it under the terms of the GNU General Public License version 2 as | ||
| 11 | * published by the Free Software Foundation. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #ifndef __ASM_ARCH_BASTPMU_H | ||
| 15 | #define __ASM_ARCH_BASTPMU_H "08_OCT_2004" | ||
| 16 | |||
| 17 | #define BASTPMU_REG_IDENT (0x00) | ||
| 18 | #define BASTPMU_REG_VERSION (0x01) | ||
| 19 | #define BASTPMU_REG_DDCCTRL (0x02) | ||
| 20 | #define BASTPMU_REG_POWER (0x03) | ||
| 21 | #define BASTPMU_REG_RESET (0x04) | ||
| 22 | #define BASTPMU_REG_GWO (0x05) | ||
| 23 | #define BASTPMU_REG_WOL (0x06) | ||
| 24 | #define BASTPMU_REG_WOR (0x07) | ||
| 25 | #define BASTPMU_REG_UID (0x09) | ||
| 26 | |||
| 27 | #define BASTPMU_EEPROM (0xC0) | ||
| 28 | |||
| 29 | #define BASTPMU_EEP_UID (BASTPMU_EEPROM + 0) | ||
| 30 | #define BASTPMU_EEP_WOL (BASTPMU_EEPROM + 8) | ||
| 31 | #define BASTPMU_EEP_WOR (BASTPMU_EEPROM + 9) | ||
| 32 | |||
| 33 | #define BASTPMU_IDENT_0 0x53 | ||
| 34 | #define BASTPMU_IDENT_1 0x42 | ||
| 35 | #define BASTPMU_IDENT_2 0x50 | ||
| 36 | #define BASTPMU_IDENT_3 0x4d | ||
| 37 | |||
| 38 | #define BASTPMU_RESET_GUARD (0x55) | ||
| 39 | |||
| 40 | #endif /* __ASM_ARCH_BASTPMU_H */ | ||
diff --git a/arch/arm/mach-s3c64xx/include/mach/spi-clocks.h b/arch/arm/mach-s3c64xx/include/mach/spi-clocks.h deleted file mode 100644 index 9d0c43b4b687..000000000000 --- a/arch/arm/mach-s3c64xx/include/mach/spi-clocks.h +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | /* linux/arch/arm/mach-s3c64xx/include/mach/spi-clocks.h | ||
| 2 | * | ||
