summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/tx4927/toshiba_rbtx4927.h
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2007-08-28 00:28:09 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-10-11 23:46:02 +0100
commita02eb8da02741f43efb6f06adf534f9f2b913d80 (patch)
tree3913502d4c3e371a872fdcc1cf1484a8eb366dd4 /include/asm-mips/tx4927/toshiba_rbtx4927.h
parent4e45171c4e31578157189ca22cfb7b2bcc5f69f2 (diff)
downloadkernel-crypto-a02eb8da02741f43efb6f06adf534f9f2b913d80.tar.gz
kernel-crypto-a02eb8da02741f43efb6f06adf534f9f2b913d80.tar.xz
kernel-crypto-a02eb8da02741f43efb6f06adf534f9f2b913d80.zip
[MIPS] tx4927: Cleanup unused macros and non-standard IO accessors.
This patch removes many unused constants, replaces non-standard IO accessors with standard ones, and kills terrible tx4927_mips.h file. 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/tx4927/toshiba_rbtx4927.h')
-rw-r--r--include/asm-mips/tx4927/toshiba_rbtx4927.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/asm-mips/tx4927/toshiba_rbtx4927.h b/include/asm-mips/tx4927/toshiba_rbtx4927.h
index a60649569c2..b188a659ce0 100644
--- a/include/asm-mips/tx4927/toshiba_rbtx4927.h
+++ b/include/asm-mips/tx4927/toshiba_rbtx4927.h
@@ -28,24 +28,20 @@
#define __ASM_TX4927_TOSHIBA_RBTX4927_H
#include <asm/tx4927/tx4927.h>
-#include <asm/tx4927/tx4927_mips.h>
#ifdef CONFIG_PCI
#include <asm/tx4927/tx4927_pci.h>
#endif
-#define TOSHIBA_RBTX4927_WR08(a,b) do { TX4927_WR08(a,b); wbflush(); } while ( 0 )
-
-
#ifdef CONFIG_PCI
#define TBTX4927_ISA_IO_OFFSET TX4927_PCIIO
#else
#define TBTX4927_ISA_IO_OFFSET 0
#endif
-#define RBTX4927_SW_RESET_DO 0xbc00f000
+#define RBTX4927_SW_RESET_DO (void __iomem *)0xbc00f000UL
#define RBTX4927_SW_RESET_DO_SET 0x01
-#define RBTX4927_SW_RESET_ENABLE 0xbc00f002
+#define RBTX4927_SW_RESET_ENABLE (void __iomem *)0xbc00f002UL
#define RBTX4927_SW_RESET_ENABLE_SET 0x01