diff options
author | Songmao Tian <tiansm@lemote.com> | 2007-06-06 10:52:38 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 20:33:02 +0400 |
commit | 42d226c7248a28ff8c478c06b7e9bd9ef5d73574 (patch) | |
tree | 7749c1204cbdb481ddece008dc09234c48b769db /include/asm-mips/mips-boards | |
parent | 2a21c7300b53b744d16903256a172d9cbcfdd03e (diff) | |
download | linux-42d226c7248a28ff8c478c06b7e9bd9ef5d73574.tar.xz |
[MIPS] New files for lemote fulong mini-PC support
Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
Signed-off-by: Songmao Tian <tiansm@lemote.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mips-boards')
-rw-r--r-- | include/asm-mips/mips-boards/bonito64.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/asm-mips/mips-boards/bonito64.h b/include/asm-mips/mips-boards/bonito64.h index cd7125610100..dc3fc32eedd8 100644 --- a/include/asm-mips/mips-boards/bonito64.h +++ b/include/asm-mips/mips-boards/bonito64.h @@ -26,7 +26,12 @@ /* offsets from base register */ #define BONITO(x) (x) -#else /* !__ASSEMBLY__ */ +#elif defined(CONFIG_LEMOTE_FULONG) + +#define BONITO(x) (*(volatile u32 *)((char *)CKSEG1ADDR(BONITO_REG_BASE) + (x))) +#define BONITO_IRQ_BASE 32 + +#else /* * Algorithmics Bonito64 system controller register base. |