Paul Mundt
a7aa92d1b4
sh: Kill off SH-5 enter_deep_standby() cruft.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:49 +09:00
Paul Mundt
b4db3aec83
sh: Fix up the _stext references for SH-5.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:49 +09:00
Paul Mundt
6694e8250e
sh: Sync up the _64 linker script with the _32 version.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:49 +09:00
Paul Mundt
1cb80fcfe2
sh: Merge sh and sh64 module.c.
...
This is trivial, in that they're both effectively the same for the base
relocations anyways. SH-5 doesn't need the unaligned bits, and has a
few extra relocations, which are never hit on non-SH5 parts.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:49 +09:00
Paul Mundt
ba2727b556
sh: ioremap_64 needs after_bootmem.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:49 +09:00
Paul Mundt
99432700cf
sh: Tidy up lib64 udelay impl.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:49 +09:00
Paul Mundt
600ee240d1
sh: Move over and enable FPU support for SH-5.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:48 +09:00
Paul Mundt
061854fd15
sh: Common swapper_pg_dir usage for SH-5.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:48 +09:00
Paul Mundt
bba89e1f40
sh: Provide dummy swapper pt_regs for SH-5 ctx switch.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:48 +09:00
Paul Mundt
7cfee5ac3e
sh: Move over sh64 switch_to and stack unwinder.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:47 +09:00
Paul Mundt
3eeffb3204
sh: Split out tlb-flush in to _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:47 +09:00
Paul Mundt
249cfea914
sh: Split out pgtable.h in to _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:47 +09:00
Paul Mundt
2b6a8d455b
sh: ioremap_64 needs proc_fs.h.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:47 +09:00
Paul Mundt
ad81eb9173
sh: Split out ioremap in to _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:46 +09:00
Paul Mundt
4b7be4f2e0
sh: Split out sh_ksyms.c in to _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:46 +09:00
Paul Mundt
343ac72248
sh: Move over the SH-5 entry.S.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:46 +09:00
Paul Mundt
49e6c3e746
sh: Split out linker script to _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:45 +09:00
Paul Mundt
1b6cf8175e
sh: Split out syscall ABI for _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:45 +09:00
Paul Mundt
4c91d6b105
sh: Fix up the head-y targets for _32 and _64.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:45 +09:00
Paul Mundt
151468d2b4
sh: Fix up header reference for arch/sh/lib64/panic.c.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:45 +09:00
Paul Mundt
e32acaf601
sh: Kill off lib64 version of iomap wrappers.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:45 +09:00
Paul Mundt
fcfdd0f14f
sh: Split out checksum.h in to _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:45 +09:00
Paul Mundt
079060c6ff
sh: Fix up 64kB page size selection on SH-5.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:45 +09:00
Paul Mundt
83ce3ac1d1
sh: Split out extable.c _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:44 +09:00
Paul Mundt
8a7bcf0dd0
sh: Add SH-5 support to the consistent DMA impl.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:44 +09:00
Paul Mundt
b613881ead
sh: flush_cache_sigtramp() takes 1 arg only.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:44 +09:00
Paul Mundt
959f7d587e
sh: Move over the SH-5 head.S and tlb.h.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:44 +09:00
Paul Mundt
256b22ca66
sh: Have SH-5 provide an {en,dis}able_fpu() impl.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:44 +09:00
Paul Mundt
27a511c6f3
sh: Disable initial cache flush on SH-5.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:43 +09:00
Paul Mundt
c881cbc033
sh: Don't reference UBC code in CPU init on sh64.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:43 +09:00
Paul Mundt
cc8eae7f51
sh: imask IRQ depends on sh32.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:43 +09:00
Paul Mundt
2f75fbf16b
sh: Move in the SH-5 traps.c impl.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:43 +09:00
Paul Mundt
c3c307c83c
sh: Move arch/sh64/kernel/sys_sh64.c to arch/sh/kernel/
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:43 +09:00
Paul Mundt
f7a7b15344
sh: Move in the SH-5 signal trampoline impl.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:43 +09:00
Paul Mundt
48b22cf993
sh: Move in the SH-5 ptrace impl.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:42 +09:00
Paul Mundt
36bcd39dbc
sh: Split out 29-bit and 32-bit physical mode definitions.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:42 +09:00
Paul Mundt
af3c7dfe82
sh: Split out processor.h in to _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:42 +09:00
Paul Mundt
fe51bc9eaf
sh: Split out arch/sh/kernel/process.c for _32 and _64 variants.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:42 +09:00
Paul Mundt
5055235554
sh: Have 32-bit use arch/sh/kernel/Makefile_32.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:41 +09:00
Paul Mundt
9085fa1255
sh: Kill off lib64 version of io.c.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:41 +09:00
Paul Mundt
62d6b66edc
sh: Move sh32 optimized I/O routines to arch/sh/lib/
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:41 +09:00
Paul Mundt
4690bdc7c6
sh: Consolidate CPU features in Kconfig.cpu.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:41 +09:00
Paul Mundt
2f72594582
sh64: Kill off arch/sh64/oprofile.
...
The same implementation exists in arch/sh/oprofile, so get rid of
this version.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:40 +09:00
Paul Mundt
f493473a90
sh: Move sh64 board defconfigs to arch/sh/configs.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:40 +09:00
Paul Mundt
db092ee650
sh: Move sh64 boards to arch/sh/.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:40 +09:00
Paul Mundt
a09063da33
sh: Switch Kconfig.sh64 to use arch/sh/mm/Kconfig.
...
Consolidates the HUGETLB definitions and others.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:39 +09:00
Paul Mundt
c20c20047b
sh: Plug SH-5 in to arch/sh/Makefile.
...
Adds the ISA tuning and a lib64 rule.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:39 +09:00
Paul Mundt
dd730b8ff8
sh: Move arch/sh64/lib to arch/sh/lib64.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:39 +09:00
Paul Mundt
2c6deb5ea4
sh: Move the sh64 Kconfig to arch/sh/Kconfig.sh64.
...
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:38 +09:00
Paul Mundt
39d28a2dbe
sh: Add a SUPERH32 config symbol.
...
We need to differentiate from SUPERH64, so add a SUPERH32 for
regular sh.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-01-28 13:18:38 +09:00