Atsushi Nemoto
740ebe4a54
MIPS: TXx9: Fix possible overflow in clock calculations
...
Addition of -fwrapv option in 2.6.29 discloses possible overflow with
signed arithmetics. For example, result of "a * 6 / 12" (int a =
400000000) is 200000000 without -fwrapv but -157913941 with -fwrapv.
Change some variable to unsigned to avoid such overflows.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2009-05-14 13:50:27 +01:00
Atsushi Nemoto
a591f5d35e
[MTD] [NAND] TXx9: add NDFMC support
...
Add platform support for NAND Flash Memory Controller of TXx9 SoCs.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp >
Acked-By: Ralf Bächle <ralf@linux-mips.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com >
2009-03-20 18:07:39 +00:00
Atsushi Nemoto
65655b5a94
MIPS: TXx9: Add support for TX4939 internal RTC
...
Add platform support to use rtc-tx4939 driver.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2009-01-30 21:32:58 +00:00
Atsushi Nemoto
4bacc68766
MIPS: TXx9: Add TX4939 ATA support (v2)
...
Add a helper routine to register tx4939ide driver and use it on
RBTX4939 board.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp >
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2008-10-11 16:18:54 +01:00
Atsushi Nemoto
0dcdbe6add
MIPS: TXx9: Add TX4939 SoC support
...
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
create mode 100644 arch/mips/pci/pci-tx4939.c
create mode 100644 arch/mips/txx9/generic/irq_tx4939.c
create mode 100644 arch/mips/txx9/generic/setup_tx4939.c
create mode 100644 include/asm-mips/txx9/tx4939.h
2008-10-11 16:18:49 +01:00