From a6425f8437235d789fd1966c8e03bbc303dd6efb Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 14 Jan 2014 05:22:45 +0000 Subject: [PATCH] brcm63xx: allow HSSPI registration on 6318 A missing condition check in dev-hsspi.c prevented the controller from being registered on 6318 where it is fully functional. Signed-off-by: Florian Fainelli SVN-Revision: 39278 --- .../341-MIPS-BCM63XX-add-support-for-BCM6318.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/target/linux/brcm63xx/patches-3.10/341-MIPS-BCM63XX-add-support-for-BCM6318.patch b/target/linux/brcm63xx/patches-3.10/341-MIPS-BCM63XX-add-support-for-BCM6318.patch index b0c9efb9ab7..74028436c91 100644 --- a/target/linux/brcm63xx/patches-3.10/341-MIPS-BCM63XX-add-support-for-BCM6318.patch +++ b/target/linux/brcm63xx/patches-3.10/341-MIPS-BCM63XX-add-support-for-BCM6318.patch @@ -590,3 +590,14 @@ Subject: [PATCH 51/53] MIPS: BCM63XX: add support for BCM6318 case BCM6328_CPU_ID: case BCM6362_CPU_ID: case BCM6368_CPU_ID: +--- a/arch/mips/bcm63xx/dev-hsspi.c ++++ b/arch/mips/bcm63xx/dev-hsspi.c +@@ -35,7 +35,7 @@ static struct platform_device bcm63xx_hs + + int __init bcm63xx_hsspi_register(void) + { +- if (!BCMCPU_IS_6328() && !BCMCPU_IS_6362()) ++ if (!BCMCPU_IS_6318() && !BCMCPU_IS_6328() && !BCMCPU_IS_6362()) + return -ENODEV; + + spi_resources[0].start = bcm63xx_regset_address(RSET_HSSPI); -- 2.30.2