diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-18 12:51:47 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-20 09:38:21 -0400 |
commit | 94a4c32939dede9328c6e4face335eb8441fc18d (patch) | |
tree | 0ac510bf3b90cb79fe94112b95dd77d96c190bf9 /include/asm-mips/txx9/generic.h | |
parent | 255033a9bb900a06c9a7798908ce12557d24fb66 (diff) |
[MIPS] TXx9: Add 64-bit support
SYS_SUPPORTS_64BIT_KERNEL is enabled for RBTX4927/RBTX4938, but
actually it was broken for long time (or from the beginning). Now it
should work.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/txx9/generic.h')
-rw-r--r-- | include/asm-mips/txx9/generic.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-mips/txx9/generic.h b/include/asm-mips/txx9/generic.h index d8756660523d..cbae37ec3d88 100644 --- a/include/asm-mips/txx9/generic.h +++ b/include/asm-mips/txx9/generic.h | |||
@@ -12,6 +12,8 @@ | |||
12 | #include <linux/ioport.h> /* for struct resource */ | 12 | #include <linux/ioport.h> /* for struct resource */ |
13 | 13 | ||
14 | extern struct resource txx9_ce_res[]; | 14 | extern struct resource txx9_ce_res[]; |
15 | #define TXX9_CE(n) (unsigned long)(txx9_ce_res[(n)].start) | ||
16 | extern unsigned int txx9_pcode; | ||
15 | extern char txx9_pcode_str[8]; | 17 | extern char txx9_pcode_str[8]; |
16 | void txx9_reg_res_init(unsigned int pcode, unsigned long base, | 18 | void txx9_reg_res_init(unsigned int pcode, unsigned long base, |
17 | unsigned long size); | 19 | unsigned long size); |
@@ -19,6 +21,11 @@ void txx9_reg_res_init(unsigned int pcode, unsigned long base, | |||
19 | extern unsigned int txx9_master_clock; | 21 | extern unsigned int txx9_master_clock; |
20 | extern unsigned int txx9_cpu_clock; | 22 | extern unsigned int txx9_cpu_clock; |
21 | extern unsigned int txx9_gbus_clock; | 23 | extern unsigned int txx9_gbus_clock; |
24 | #define TXX9_IMCLK (txx9_gbus_clock / 2) | ||
25 | |||
26 | extern int txx9_ccfg_toeon; | ||
27 | struct uart_port; | ||
28 | int early_serial_txx9_setup(struct uart_port *port); | ||
22 | 29 | ||
23 | struct pci_dev; | 30 | struct pci_dev; |
24 | struct txx9_board_vec { | 31 | struct txx9_board_vec { |