brcm63xx: Use model name for ADB P.DG A4001N1
[oweals/openwrt.git] / target / linux / brcm63xx / patches-3.14 / 339-MIPS-BCM63XX-add-support-for-BCM63268.patch
index a5bdbbdb2a268ec04360da3446de212e52267297..0dc9d7b18c416d763acafb696ff5d97a586b367c 100644 (file)
@@ -35,7 +35,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  source "arch/mips/bcm63xx/boards/Kconfig"
 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-@@ -825,7 +825,7 @@ void __init board_prom_init(void)
+@@ -765,7 +765,7 @@ void __init board_prom_init(void)
        /* read base address of boot chip select (0)
         * 6328/6362 do not have MPI but boot from a fixed address
         */
@@ -572,7 +572,7 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
  #define REV_CHIPID_MASK                       (0xffff << REV_CHIPID_SHIFT)
 +#define REV_LONG_CHIPID_SHIFT         12
 +#define REV_LONG_CHIPID_MASK          (0xfffff << REV_LONG_CHIPID_SHIFT)
- #define REV_VARID_SHIFT                       8
+ #define REV_VARID_SHIFT                       12
  #define REV_VARID_MASK                        (0xf << REV_VARID_SHIFT)
  #define REV_REVID_SHIFT                       0
 @@ -211,6 +213,52 @@