Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58662
b: refs/heads/master
c: f74cf6f
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jul 10, 2007
1 parent 7fdea59 commit 3bb9753
Show file tree
Hide file tree
Showing 11 changed files with 220 additions and 696 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: 3896b05418b9b8548a678231db754206b3ebe56e
refs/heads/master: f74cf6ff99a49741b0f243996b621777b2d610d4
54 changes: 51 additions & 3 deletions trunk/arch/mips/configs/rbhma4500_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,20 @@ CONFIG_LEGACY_PTY_COUNT=256
#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
CONFIG_SPI=y
CONFIG_SPI_MASTER=y

#
# SPI Master Controller Drivers
#
# CONFIG_SPI_BITBANG is not set
CONFIG_SPI_TXX9=y

#
# SPI Protocol Masters
#
CONFIG_SPI_AT25=y
# CONFIG_SPI_SPIDEV is not set

#
# Dallas's 1-wire bus
Expand Down Expand Up @@ -1207,7 +1219,43 @@ CONFIG_USB_MON=y
#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
CONFIG_RTC_INTF_DEV_UIE_EMUL=y
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#

#
# SPI RTC drivers
#
CONFIG_RTC_DRV_RS5C348=y
# CONFIG_RTC_DRV_MAX6902 is not set

#
# Platform RTC drivers
#
# CONFIG_RTC_DRV_CMOS is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#

#
# DMA Engine support
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,6 +6,6 @@
# unless it's something special (ie not a .c file).
#

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

192 changes: 0 additions & 192 deletions trunk/arch/mips/tx4938/common/rtc_rx5c348.c

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/arch/mips/tx4938/toshiba_rbtx4938/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# unless it's something special (ie not a .c file).
#

obj-y += prom.o setup.o irq.o spi_eeprom.o spi_txx9.o
obj-y += prom.o setup.o irq.o spi_eeprom.o
6 changes: 0 additions & 6 deletions trunk/arch/mips/tx4938/toshiba_rbtx4938/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ toshiba_rbtx4938_irq_ioc_disable(unsigned int irq)
TX4938_RD08(TOSHIBA_RBTX4938_IOC_INTR_ENAB);
}

extern void __init txx9_spi_irqinit(int irc_irq);

void __init arch_init_irq(void)
{
extern void tx4938_irq_init(void);
Expand All @@ -185,9 +183,5 @@ void __init arch_init_irq(void)
/* Onboard 10M Ether: High Active */
TX4938_WR(TX4938_MKA(TX4938_IRC_IRDM0), 0x00000040);

if (tx4938_ccfgptr->pcfg & TX4938_PCFG_SPI_SEL) {
txx9_spi_irqinit(RBTX4938_IRQ_IRC_SPI);
}

wbflush();
}
Loading

0 comments on commit 3bb9753

Please sign in to comment.