diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 13:39:38 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-13 13:39:38 -0500 |
| commit | 86f6f9b64a730844f1438cbedfacd6fb0170a7f7 (patch) | |
| tree | cd80f8610b444ae3bd2ebfc136c2c3299a52bd9b /arch/sh/kernel | |
| parent | d33a6291c1c577ff2272edab7416a0f7308e1cef (diff) | |
| parent | 8b6f08eaef16dfcfebc32fa9a017bf70336ad9ec (diff) | |
Merge branch 'sh-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (31 commits)
sh: Add support for AP-SH4AD-0A board.
sh: Add support for AP-SH4A-3A board.
sh: Add a new mach type for alpha project boards.
serial: sh-sci: build fixes.
sh: sh7372 SH4AL-DSP probe support
sh: sh7366 Enable SDIO IRQs
sh: sh7343 Enable SDIO IRQs
sh: mach-ecovec24: enable runtime PM for SDHI
sh: sh7723 / ap325rxa enable SDIO IRQs
sh: sh7722 Enable SDIO IRQs
sh: sh7724 Enable SDIO IRQs
sh: Fix up legacy PTEA space attribute mapping.
sh: Stub out legacy PCC pgprot encoding for X2 TLBs.
sh: constify prefetch pointers.
sh: Add a machvec callback for early memblock reservations.
sh: update sh7757lcr_defconfig
sh: add PVR probing for SH7757 3rd cut
sh: Use device_initcall() instead of __initcall()
sh: intc - convert board specific landisk code
sh: Move init_landisk_IRQ to header file
...
Diffstat (limited to 'arch/sh/kernel')
27 files changed, 254 insertions, 38 deletions
diff --git a/arch/sh/kernel/cpu/proc.c b/arch/sh/kernel/cpu/proc.c index e80a936f409a..f47be8727b3b 100644 --- a/arch/sh/kernel/cpu/proc.c +++ b/arch/sh/kernel/cpu/proc.c | |||
| @@ -25,7 +25,7 @@ static const char *cpu_name[] = { | |||
| 25 | [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", | 25 | [CPU_SH5_101] = "SH5-101", [CPU_SH5_103] = "SH5-103", |
| 26 | [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", | 26 | [CPU_MXG] = "MX-G", [CPU_SH7723] = "SH7723", |
| 27 | [CPU_SH7366] = "SH7366", [CPU_SH7724] = "SH7724", | 27 | [CPU_SH7366] = "SH7366", [CPU_SH7724] = "SH7724", |
| 28 | [CPU_SH_NONE] = "Unknown" | 28 | [CPU_SH7372] = "SH7372", [CPU_SH_NONE] = "Unknown" |
| 29 | }; | 29 | }; |
| 30 | 30 | ||
| 31 | const char *get_cpu_subtype(struct sh_cpuinfo *c) | 31 | const char *get_cpu_subtype(struct sh_cpuinfo *c) |
diff --git a/arch/sh/kernel/cpu/sh2/setup-sh7619.c b/arch/sh/kernel/cpu/sh2/setup-sh7619.c index c3638516bffc..0f8befccf9fa 100644 --- a/arch/sh/kernel/cpu/sh2/setup-sh7619.c +++ b/arch/sh/kernel/cpu/sh2/setup-sh7619.c | |||
| @@ -62,6 +62,8 @@ static DECLARE_INTC_DESC(intc_desc, "sh7619", vectors, NULL, | |||
| 62 | static struct plat_sci_port scif0_platform_data = { | 62 | static struct plat_sci_port scif0_platform_data = { |
| 63 | .mapbase = 0xf8400000, | 63 | .mapbase = 0xf8400000, |
| 64 | .flags = UPF_BOOT_AUTOCONF, | 64 | .flags = UPF_BOOT_AUTOCONF, |
| 65 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 66 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 65 | .type = PORT_SCIF, | 67 | .type = PORT_SCIF, |
| 66 | .irqs = { 88, 88, 88, 88 }, | 68 | .irqs = { 88, 88, 88, 88 }, |
| 67 | }; | 69 | }; |
| @@ -77,6 +79,8 @@ static struct platform_device scif0_device = { | |||
| 77 | static struct plat_sci_port scif1_platform_data = { | 79 | static struct plat_sci_port scif1_platform_data = { |
| 78 | .mapbase = 0xf8410000, | 80 | .mapbase = 0xf8410000, |
| 79 | .flags = UPF_BOOT_AUTOCONF, | 81 | .flags = UPF_BOOT_AUTOCONF, |
| 82 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 83 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 80 | .type = PORT_SCIF, | 84 | .type = PORT_SCIF, |
| 81 | .irqs = { 92, 92, 92, 92 }, | 85 | .irqs = { 92, 92, 92, 92 }, |
| 82 | }; | 86 | }; |
| @@ -92,6 +96,8 @@ static struct platform_device scif1_device = { | |||
| 92 | static struct plat_sci_port scif2_platform_data = { | 96 | static struct plat_sci_port scif2_platform_data = { |
| 93 | .mapbase = 0xf8420000, | 97 | .mapbase = 0xf8420000, |
| 94 | .flags = UPF_BOOT_AUTOCONF, | 98 | .flags = UPF_BOOT_AUTOCONF, |
| 99 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 100 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 95 | .type = PORT_SCIF, | 101 | .type = PORT_SCIF, |
| 96 | .irqs = { 96, 96, 96, 96 }, | 102 | .irqs = { 96, 96, 96, 96 }, |
| 97 | }; | 103 | }; |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-mxg.c b/arch/sh/kernel/cpu/sh2a/setup-mxg.c index 6c96ea02bf8d..949bf2bac28c 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-mxg.c +++ b/arch/sh/kernel/cpu/sh2a/setup-mxg.c | |||
| @@ -201,6 +201,8 @@ static struct platform_device mtu2_2_device = { | |||
| 201 | static struct plat_sci_port scif0_platform_data = { | 201 | static struct plat_sci_port scif0_platform_data = { |
| 202 | .mapbase = 0xff804000, | 202 | .mapbase = 0xff804000, |
| 203 | .flags = UPF_BOOT_AUTOCONF, | 203 | .flags = UPF_BOOT_AUTOCONF, |
| 204 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 205 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 204 | .type = PORT_SCIF, | 206 | .type = PORT_SCIF, |
| 205 | .irqs = { 220, 220, 220, 220 }, | 207 | .irqs = { 220, 220, 220, 220 }, |
| 206 | }; | 208 | }; |
diff --git a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c index d08bf4c07d60..9df558dcdb86 100644 --- a/arch/sh/kernel/cpu/sh2a/setup-sh7201.c +++ b/arch/sh/kernel/cpu/sh2a/setup-sh7201.c | |||
| @@ -180,6 +180,8 @@ static DECLARE_INTC_DESC(intc_desc, "sh7201", vectors, groups, | |||
| 180 | static struct plat_sci_port scif0_platform_data = { | 180 | static struct plat_sci_port scif0_platform_data = { |
| 181 | .mapbase = 0xfffe8000, | 181 | .mapbase = 0xfffe8000, |
| 182 | .flags = UPF_BOOT_AUTOCONF, | 182 | .flags = UPF_BOOT_AUTOCONF, |
| 183 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 184 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 183 | .type = PORT_SCIF, | 185 | .type = PORT_SCIF, |
| 184 | .irqs = { 180, 180, 180, 180 } | 186 | .irqs = { 180, 180, 180, 180 } |
| 185 | }; | 187 | }; |
| @@ -195,6 +197,8 @@ static struct platform_device scif0_device = { | |||
| 195 | static struct plat_sci_port scif1_platform_data = { | 197 | static struct plat_sci_port scif1_platform_data = { |
| 196 | .mapbase = 0xfffe8800, | 198 | .mapbase = 0xfffe8800, |
| 197 | .flags = UPF_BOOT_AUTOCONF, | 199 | .flags = UPF_BOOT_AUTOCONF, |
| 200 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 201 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 198 | .type = PORT_SCIF, | 202 | .type = PORT_SCIF, |
| 199 | .irqs = { 184, 184, 184, 184 } | 203 | .irqs = { 184, 184, 184, 184 } |
| 200 | }; | 204 | }; |
| @@ -210,6 +214,8 @@ static struct platform_device scif1_device = { | |||
| 210 | static struct plat_sci_port scif2_platform_data = { | 214 | static struct plat_sci_port scif2_platform_data = { |
| 211 | .mapbase = 0xfffe9000, | 215 | .mapbase = 0xfffe9000, |
| 212 | .flags = UPF_BOOT_AUTOCONF, | 216 | .flags = UPF_BOOT_AUTOCONF, |
| 217 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 218 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 213 | .type = PORT_SCIF, | 219 | .type = PORT_SCIF, |
| 214 | .irqs = { 188, 188, 188, 188 } | 220 | .irqs = { 188, 188, 188, 188 } |
| 215 | }; | 221 | }; |
| @@ -225,6 +231,8 @@ static struct platform_device scif2_device = { | |||
| 225 | static struct plat_sci_port scif3_platform_data = { | 231 | static struct plat_sci_port scif3_platform_data = { |
| 226 | .mapbase = 0xfffe9800, | 232 | .mapbase = 0xfffe9800, |
| 227 | .flags = UPF_BOOT_AUTOCONF, | 233 | .flags = UPF_BOOT_AUTOCONF, |
| 234 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 235 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 228 | .type = PORT_SCIF, | 236 | .type = PORT_SCIF, |
| 229 | .irqs = { 192, 192, 192, 192 } | 237 | .irqs = { 192, 192, 192, 192 } |
| 230 | }; | 238 | }; |
| @@ -240,6 +248,8 @@ static struct platform_device scif3_device = { | |||
| 240 | static struct plat_sci_port scif4_platform_data = { | 248 | static struct plat_sci_port scif4_platform_data = { |
| 241 | .mapbase = 0xfffea000, | 249 | .mapbase = 0xfffea000, |
| 242 | .flags = UPF_BOOT_AUTOCONF, | 250 | .flags = UPF_BOOT_AUTOCONF, |
| 251 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 252 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 243 | .type = PORT_SCIF, | 253 | .type = PORT_SCIF, |
| 244 | .irqs = { 196, 196, 196, 196 } | 254 | .irqs = { 196, 196, 196, 196 } |
| 245 | }; | 255 | }; |
| @@ -255,6 +265,8 @@ static struct platform_device scif4_device = { | |||
| 255 | static struct plat_sci_port scif5_platform_data = { | 265 | static struct plat_sci_port scif5_platform_data = { |
| 256 | .mapbase = 0xfffea800, | 266 | .mapbase = 0xfffea800, |
| 257 | .flags = UPF_BOOT_AUTOCONF, | 267 | .flags = UPF_BOOT_AUTOCONF, |
| 268 | .scscr = SCSCR_RE | SCSCR_TE | SCSCR_REIE, | ||
| 269 | .scbrr_algo_id = SCBRR_ALGO_2, | ||
| 258 | .type = PORT_SCIF, | 270 | .type = PORT_SCIF, |
| 259 | .irqs = { 200, 200, 200, 200 } | 271 | .irqs = { 200, 200, 200, 200 } |
