brcm63xx: drop bogus SPROM section from SR102
authorJonas Gorski <jonas.gorski@gmail.com>
Wed, 1 Aug 2018 09:39:57 +0000 (11:39 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:47:42 +0000 (17:47 +0100)
The integrated SoC wifi will likely never be supported, and if,
it will go through DT with the sprom contents there.

Fixes: d59126040701 ("brcm63xx: initial support for Sky SR102 router")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
(backported from bc1c706bb32ee1087357e5258a147bd792612d00)

target/linux/brcm63xx/patches-4.9/598-board_sr102.patch

index 1a9578ead1b3491a874d6f5268125280ead223be..9383e55f7c198c906c4dfbdfb1e3de667df170ee 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -2457,6 +2457,56 @@
+@@ -2642,6 +2642,49 @@ static struct board_info __initdata boar
                },
        },
  };
 +
 +              },
 +      },
-+/*
-+      .fallback_sprom = {
-+              .type                           = SPROM_BCM435F,
-+              .pci_bus                        = 0,
-+              .pci_dev                        = 0,
-+      },
-+*/
 +};
  #endif /* CONFIG_BCM63XX_CPU_63268 */
  
  /*
-@@ -2557,6 +2609,7 @@
+@@ -2750,6 +2793,7 @@ static const struct board_info __initcon
        &board_963268bu_p300,
        &board_963269bhr,
        &board_vw6339gu,
@@ -65,7 +58,7 @@
  #endif
  };
  
-@@ -2661,6 +2714,7 @@
+@@ -2862,6 +2906,7 @@ static struct of_device_id const bcm963x
        { .compatible = "brcm,bcm963268bu_p300", .data = &board_963268bu_p300, },
        { .compatible = "brcm,bcm963269bhr", .data = &board_963269bhr, },
        { .compatible = "inteno,vg50", .data = &board_vw6339gu, },