MIPS: TXx9: Make spi_eeprom.c more generic
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 19 Aug 2008 13:55:14 +0000 (22:55 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 11 Oct 2008 15:18:44 +0000 (16:18 +0100)
commitd75a40e90e9eb08c2159e719a90a7922dab231d3
tree5218a3fd78998fb47247ccbc35115a1cc42a265d
parente6332374770ae5aa370af5792115261edbad05c1
MIPS: TXx9: Make spi_eeprom.c more generic

Helper routines in txx9/rbtx4938/spi_eeprom.c is not TX4938 specific.
Move it to txx9/generic/ directory and make it works with SPI bus
number other than 0.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
 create mode 100644 arch/mips/txx9/generic/spi_eeprom.c
 delete mode 100644 arch/mips/txx9/rbtx4938/spi_eeprom.c
arch/mips/txx9/generic/Makefile
arch/mips/txx9/generic/spi_eeprom.c [new file with mode: 0644]
arch/mips/txx9/rbtx4938/Makefile
arch/mips/txx9/rbtx4938/setup.c
arch/mips/txx9/rbtx4938/spi_eeprom.c [deleted file]
include/asm-mips/txx9/spi.h