Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78016
b: refs/heads/master
c: 8b6c232
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jan 29, 2008
1 parent 1ff3e58 commit c8f4ab4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 281 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 619b6e18fce20e4b2d0082cde989f37e1be7b3e1
refs/heads/master: 8b6c2324bf2b023e26d53052bbcddcbf2f2c97ee
5 changes: 0 additions & 5 deletions trunk/arch/mips/jmr3927/rbhma3100/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,16 @@

#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/kdev_t.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/ide.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#ifdef CONFIG_SERIAL_TXX9
#include <linux/tty.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#endif

#include <asm/addrspace.h>
#include <asm/txx9tmr.h>
#include <asm/reboot.h>
#include <asm/jmr3927/jmr3927.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/tx4927/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# unless it's something special (ie not a .c file).
#

obj-y += tx4927_prom.o tx4927_setup.o tx4927_irq.o
obj-y += tx4927_prom.o tx4927_irq.o

obj-$(CONFIG_TOSHIBA_FPCIB0) += smsc_fdc37m81x.o
obj-$(CONFIG_KGDB) += tx4927_dbgio.o
Expand Down
186 changes: 0 additions & 186 deletions trunk/arch/mips/tx4927/common/tx4927_setup.c

This file was deleted.

41 changes: 4 additions & 37 deletions trunk/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,70 +45,45 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/swap.h>
#include <linux/ioport.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/timex.h>
#include <linux/pm.h>
#include <linux/platform_device.h>

#include <asm/bootinfo.h>
#include <asm/page.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/irq_regs.h>
#include <asm/processor.h>
#include <asm/reboot.h>
#include <asm/time.h>
#include <asm/txx9tmr.h>
#include <linux/bootmem.h>
#include <linux/blkdev.h>
#ifdef CONFIG_TOSHIBA_FPCIB0
#include <asm/tx4927/smsc_fdc37m81x.h>
#endif
#include <asm/tx4927/toshiba_rbtx4927.h>
#ifdef CONFIG_PCI
#include <asm/tx4927/tx4927_pci.h>
#endif
#ifdef CONFIG_BLK_DEV_IDEPCI
#include <linux/hdreg.h>
#include <linux/ide.h>
#endif
#ifdef CONFIG_SERIAL_TXX9
#include <linux/tty.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#endif

#undef TOSHIBA_RBTX4927_SETUP_DEBUG

#ifdef TOSHIBA_RBTX4927_SETUP_DEBUG
#define TOSHIBA_RBTX4927_SETUP_NONE 0x00000000

#define TOSHIBA_RBTX4927_SETUP_INFO ( 1 << 0 )
#define TOSHIBA_RBTX4927_SETUP_WARN ( 1 << 1 )
#define TOSHIBA_RBTX4927_SETUP_EROR ( 1 << 2 )

#define TOSHIBA_RBTX4927_SETUP_EFWFU ( 1 << 3 )
#define TOSHIBA_RBTX4927_SETUP_SETUP ( 1 << 4 )
#define TOSHIBA_RBTX4927_SETUP_PCIBIOS ( 1 << 7 )
#define TOSHIBA_RBTX4927_SETUP_PCI1 ( 1 << 8 )
#define TOSHIBA_RBTX4927_SETUP_PCI2 ( 1 << 9 )
#define TOSHIBA_RBTX4927_SETUP_PCI66 ( 1 << 10 )

#define TOSHIBA_RBTX4927_SETUP_ALL 0xffffffff
#endif

#ifdef TOSHIBA_RBTX4927_SETUP_DEBUG
static const u32 toshiba_rbtx4927_setup_debug_flag =
(TOSHIBA_RBTX4927_SETUP_NONE | TOSHIBA_RBTX4927_SETUP_INFO |
TOSHIBA_RBTX4927_SETUP_WARN | TOSHIBA_RBTX4927_SETUP_EROR |
TOSHIBA_RBTX4927_SETUP_EFWFU | TOSHIBA_RBTX4927_SETUP_SETUP |
(TOSHIBA_RBTX4927_SETUP_SETUP |
| TOSHIBA_RBTX4927_SETUP_PCIBIOS | TOSHIBA_RBTX4927_SETUP_PCI1 |
TOSHIBA_RBTX4927_SETUP_PCI2 | TOSHIBA_RBTX4927_SETUP_PCI66);
TOSHIBA_RBTX4927_SETUP_PCI2);
#endif

#ifdef TOSHIBA_RBTX4927_SETUP_DEBUG
Expand Down Expand Up @@ -718,7 +693,7 @@ void toshiba_rbtx4927_power_off(void)
/* no return */
}

void __init toshiba_rbtx4927_setup(void)
void __init plat_mem_setup(void)
{
int i;
u32 cp0_config;
Expand All @@ -741,13 +716,6 @@ void __init toshiba_rbtx4927_setup(void)
cp0_config = cp0_config & ~(TX49_CONF_IC | TX49_CONF_DC);
write_c0_config(cp0_config);

#ifdef TOSHIBA_RBTX4927_SETUP_DEBUG
{
extern void dump_cp0(char *);
dump_cp0("toshiba_rbtx4927_early_fw_fixup");
}
#endif

set_io_port_base(KSEG1 + TBTX4927_ISA_IO_OFFSET);
TOSHIBA_RBTX4927_SETUP_DPRINTK(TOSHIBA_RBTX4927_SETUP_SETUP,
":mips_io_port_base=0x%08lx\n",
Expand Down Expand Up @@ -936,8 +904,7 @@ void __init toshiba_rbtx4927_setup(void)
"+\n");
}

void __init
toshiba_rbtx4927_time_init(void)
void __init plat_time_init(void)
{
mips_hpt_frequency = tx4927_cpu_clock / 2;
if (tx4927_ccfgptr->ccfg & TX4927_CCFG_TINTDIS)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/tx4938/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# unless it's something special (ie not a .c file).
#

obj-y += prom.o setup.o irq.o
obj-y += prom.o irq.o
obj-$(CONFIG_KGDB) += dbgio.o

EXTRA_CFLAGS += -Werror
45 changes: 0 additions & 45 deletions trunk/arch/mips/tx4938/common/setup.c

This file was deleted.

Loading

0 comments on commit c8f4ab4

Please sign in to comment.