diff options
Diffstat (limited to 'arch/mips/bcm63xx/dev-spi.c')
-rw-r--r-- | arch/mips/bcm63xx/dev-spi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/bcm63xx/dev-spi.c b/arch/mips/bcm63xx/dev-spi.c index 3065bb61820d..d12daed749bc 100644 --- a/arch/mips/bcm63xx/dev-spi.c +++ b/arch/mips/bcm63xx/dev-spi.c | |||
@@ -37,7 +37,8 @@ static __init void bcm63xx_spi_regs_init(void) | |||
37 | { | 37 | { |
38 | if (BCMCPU_IS_6338() || BCMCPU_IS_6348()) | 38 | if (BCMCPU_IS_6338() || BCMCPU_IS_6348()) |
39 | bcm63xx_regs_spi = bcm6348_regs_spi; | 39 | bcm63xx_regs_spi = bcm6348_regs_spi; |
40 | if (BCMCPU_IS_6358() || BCMCPU_IS_6362() || BCMCPU_IS_6368()) | 40 | if (BCMCPU_IS_3368() || BCMCPU_IS_6358() || |
41 | BCMCPU_IS_6362() || BCMCPU_IS_6368()) | ||
41 | bcm63xx_regs_spi = bcm6358_regs_spi; | 42 | bcm63xx_regs_spi = bcm6358_regs_spi; |
42 | } | 43 | } |
43 | #else | 44 | #else |
@@ -87,7 +88,8 @@ int __init bcm63xx_spi_register(void) | |||
87 | spi_pdata.msg_ctl_width = SPI_6348_MSG_CTL_WIDTH; | 88 | spi_pdata.msg_ctl_width = SPI_6348_MSG_CTL_WIDTH; |
88 | } | 89 | } |
89 | 90 | ||
90 | if (BCMCPU_IS_6358() || BCMCPU_IS_6362() || BCMCPU_IS_6368()) { | 91 | if (BCMCPU_IS_3368() || BCMCPU_IS_6358() || BCMCPU_IS_6362() || |
92 | BCMCPU_IS_6368()) { | ||
91 | spi_resources[0].end += BCM_6358_RSET_SPI_SIZE - 1; | 93 | spi_resources[0].end += BCM_6358_RSET_SPI_SIZE - 1; |
92 | spi_pdata.fifo_size = SPI_6358_MSG_DATA_SIZE; | 94 | spi_pdata.fifo_size = SPI_6358_MSG_DATA_SIZE; |
93 | spi_pdata.msg_type_shift = SPI_6358_MSG_TYPE_SHIFT; | 95 | spi_pdata.msg_type_shift = SPI_6358_MSG_TYPE_SHIFT; |