diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-09-19 06:00:02 -0400 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-09-19 06:00:02 -0400 |
| commit | aa3090005d27f3c7fba915ccea36b97b669fa3ab (patch) | |
| tree | e4de079bac5b51b1e1cfacc5393006b857045444 | |
| parent | 151b6a5f1d4c547c92ec67a5a6fedc16f435956e (diff) | |
| parent | 448352ae72ef1760c19631a728a3791c1efc52f2 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-2.6-tcc into devel-stable
30 files changed, 2687 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 8540dea232af..8dd9f4320fd3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -973,6 +973,13 @@ S: Supported | |||
| 973 | F: arch/arm/mach-shmobile/ | 973 | F: arch/arm/mach-shmobile/ |
| 974 | F: drivers/sh/ | 974 | F: drivers/sh/ |
| 975 | 975 | ||
| 976 | ARM/TELECHIPS ARM ARCHITECTURE | ||
| 977 | M: "Hans J. Koch" <hjk@linutronix.de> | ||
| 978 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | ||
| 979 | S: Maintained | ||
| 980 | F: arch/arm/plat-tcc/ | ||
| 981 | F: arch/arm/mach-tcc8k/ | ||
| 982 | |||
| 976 | ARM/TECHNOLOGIC SYSTEMS TS7250 MACHINE SUPPORT | 983 | ARM/TECHNOLOGIC SYSTEMS TS7250 MACHINE SUPPORT |
| 977 | M: Lennert Buytenhek <kernel@wantstofly.org> | 984 | M: Lennert Buytenhek <kernel@wantstofly.org> |
| 978 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) | 985 | L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 553b7cf17bfb..8d395352f1c9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
| @@ -748,6 +748,15 @@ config ARCH_SHARK | |||
| 748 | Support for the StrongARM based Digital DNARD machine, also known | 748 | Support for the StrongARM based Digital DNARD machine, also known |
| 749 | as "Shark" (<http://www.shark-linux.de/shark.html>). | 749 | as "Shark" (<http://www.shark-linux.de/shark.html>). |
| 750 | 750 | ||
| 751 | config ARCH_TCC_926 | ||
| 752 | bool "Telechips TCC ARM926-based systems" | ||
| 753 | select CPU_ARM926T | ||
| 754 | select HAVE_CLK | ||
| 755 | select COMMON_CLKDEV | ||
| 756 | select GENERIC_CLOCKEVENTS | ||
| 757 | help | ||
| 758 | Support for Telechips TCC ARM926-based systems. | ||
| 759 | |||
| 751 | config ARCH_LH7A40X | 760 | config ARCH_LH7A40X |
| 752 | bool "Sharp LH7A40X" | 761 | bool "Sharp LH7A40X" |
| 753 | select CPU_ARM922T | 762 | select CPU_ARM922T |
| @@ -916,6 +925,8 @@ source "arch/arm/plat-s5p/Kconfig" | |||
| 916 | 925 | ||
| 917 | source "arch/arm/plat-spear/Kconfig" | 926 | source "arch/arm/plat-spear/Kconfig" |
| 918 | 927 | ||
| 928 | source "arch/arm/plat-tcc/Kconfig" | ||
| 929 | |||
| 919 | if ARCH_S3C2410 | 930 | if ARCH_S3C2410 |
| 920 | source "arch/arm/mach-s3c2400/Kconfig" | 931 | source "arch/arm/mach-s3c2400/Kconfig" |
| 921 | source "arch/arm/mach-s3c2410/Kconfig" | 932 | source "arch/arm/mach-s3c2410/Kconfig" |
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 59c1ce858fc8..4e0b6c8d7ed3 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
| @@ -183,6 +183,7 @@ machine-$(CONFIG_ARCH_SHARK) := shark | |||
| 183 | machine-$(CONFIG_ARCH_SHMOBILE) := shmobile | 183 | machine-$(CONFIG_ARCH_SHMOBILE) := shmobile |
| 184 | machine-$(CONFIG_ARCH_STMP378X) := stmp378x | 184 | machine-$(CONFIG_ARCH_STMP378X) := stmp378x |
| 185 | machine-$(CONFIG_ARCH_STMP37XX) := stmp37xx | 185 | machine-$(CONFIG_ARCH_STMP37XX) := stmp37xx |
| 186 | machine-$(CONFIG_ARCH_TCC8K) := tcc8k | ||
| 186 | machine-$(CONFIG_ARCH_TEGRA) := tegra | 187 | machine-$(CONFIG_ARCH_TEGRA) := tegra |
| 187 | machine-$(CONFIG_ARCH_U300) := u300 | 188 | machine-$(CONFIG_ARCH_U300) := u300 |
| 188 | machine-$(CONFIG_ARCH_U8500) := ux500 | 189 | machine-$(CONFIG_ARCH_U8500) := ux500 |
| @@ -202,6 +203,7 @@ plat-$(CONFIG_ARCH_MXC) := mxc | |||
| 202 | plat-$(CONFIG_ARCH_OMAP) := omap | 203 | plat-$(CONFIG_ARCH_OMAP) := omap |
| 203 | plat-$(CONFIG_ARCH_S3C64XX) := samsung | 204 | plat-$(CONFIG_ARCH_S3C64XX) := samsung |
| 204 | plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx | 205 | plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx |
| 206 | plat-$(CONFIG_ARCH_TCC_926) := tcc | ||
| 205 | plat-$(CONFIG_PLAT_IOP) := iop | 207 | plat-$(CONFIG_PLAT_IOP) := iop |
| 206 | plat-$(CONFIG_PLAT_NOMADIK) := nomadik | 208 | plat-$(CONFIG_PLAT_NOMADIK) := nomadik |
| 207 | plat-$(CONFIG_PLAT_ORION) := orion | 209 | plat-$(CONFIG_PLAT_ORION) := orion |
diff --git a/arch/arm/mach-tcc8k/Kconfig b/arch/arm/mach-tcc8k/Kconfig new file mode 100644 index 000000000000..ad86415d1577 --- /dev/null +++ b/arch/arm/mach-tcc8k/Kconfig | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | if ARCH_TCC8K | ||
| 2 | |||
| 3 | comment "TCC8000 systems:" | ||
| 4 | |||
| 5 | config MACH_TCC8000_SDK | ||
| 6 | bool "Telechips TCC8000-SDK development kit" | ||
| 7 | default y | ||
| 8 | help | ||
| 9 | Support for the Telechips TCC8000-SDK board. | ||
| 10 | |||
| 11 | endif | ||
diff --git a/arch/arm/mach-tcc8k/Makefile b/arch/arm/mach-tcc8k/Makefile new file mode 100644 index 000000000000..9bacf31e49ba --- /dev/null +++ b/arch/arm/mach-tcc8k/Makefile | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | # | ||
| 2 | # Makefile for TCC8K boards and common files. | ||
| 3 | # | ||
| 4 | |||
| 5 | # Common support | ||
| 6 | obj-y += clock.o irq.o time.o io.o devices.o | ||
| 7 | |||
| 8 | # Board specific support | ||
| 9 | obj-$(CONFIG_MACH_TCC8000_SDK) += board-tcc8000-sdk.o | ||
diff --git a/arch/arm/mach-tcc8k/Makefile.boot b/arch/arm/mach-tcc8k/Makefile.boot new file mode 100644 index 000000000000..f135c9deae10 --- /dev/null +++ b/arch/arm/mach-tcc8k/Makefile.boot | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | zreladdr-y := 0x20008000 | ||
| 2 | params_phys-y := 0x20000100 | ||
| 3 | initrd_phys-y := 0x20800000 | ||
diff --git a/arch/arm/mach-tcc8k/board-tcc8000-sdk.c b/arch/arm/mach-tcc8k/board-tcc8000-sdk.c new file mode 100644 index 000000000000..4e42555b2009 --- /dev/null +++ b/arch/arm/mach-tcc8k/board-tcc8000-sdk.c | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2009 Hans J. Koch <hjk@linutronix.de> | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2 as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #include <linux/init.h> | ||
| 10 | #include <linux/kernel.h> | ||
| 11 | #include <linux/platform_device.h> | ||
| 12 | |||
| 13 | #include <asm/mach-types.h> | ||
| 14 | |||
| 15 | #include <asm/mach/arch.h> | ||
| 16 | #include <asm/mach/map.h> | ||
| 17 | #include <asm/mach/time.h> | ||
| 18 | |||
| 19 | #include <mach/clock.h> | ||
| 20 | |||
| 21 | #include "common.h" | ||
| 22 | |||
| 23 | #define XI_FREQUENCY 12000000 | ||
| 24 | #define XTI_FREQUENCY 32768 | ||
| 25 | |||
| 26 | #ifdef CONFIG_MTD_NAND_TCC | ||
| 27 | /* NAND */ | ||
| 28 | static struct tcc_nand_platform_data tcc8k_sdk_nand_data = { | ||
| 29 | .width = 1, | ||
| 30 | .hw_ecc = 0, | ||
| 31 | }; | ||
| 32 | #endif | ||
| 33 | |||
| 34 | static void __init tcc8k_init(void) | ||
| 35 | { | ||
| 36 | #ifdef CONFIG_MTD_NAND_TCC | ||
| 37 | tcc_nand_device.dev.platform_data = &tcc8k_sdk_nand_data; | ||
| 38 | platform_device_register(&tcc_nand_device); | ||
| 39 | #endif | ||
| 40 | } | ||
| 41 | |||
| 42 | static void __init tcc8k_init_timer(void) | ||
| 43 | { | ||
| 44 | tcc_clocks_init(XI_FREQUENCY, XTI_FREQUENCY); | ||
| 45 | } | ||
| 46 | |||
| 47 | static struct sys_timer tcc8k_timer = { | ||
| 48 | .init = tcc8k_init_timer, | ||
