mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
bcm53xx: refresh kernel patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
This commit is contained in:
parent
96fa9aa13b
commit
a3be48593b
@ -13,7 +13,7 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
|||||||
|
|
||||||
--- a/drivers/mtd/spi-nor/spi-nor.c
|
--- a/drivers/mtd/spi-nor/spi-nor.c
|
||||||
+++ b/drivers/mtd/spi-nor/spi-nor.c
|
+++ b/drivers/mtd/spi-nor/spi-nor.c
|
||||||
@@ -870,6 +870,18 @@ static const struct flash_info *spi_nor_
|
@@ -871,6 +871,18 @@ static const struct flash_info *spi_nor_
|
||||||
}
|
}
|
||||||
dev_err(nor->dev, "unrecognized JEDEC id bytes: %02x, %2x, %2x\n",
|
dev_err(nor->dev, "unrecognized JEDEC id bytes: %02x, %2x, %2x\n",
|
||||||
id[0], id[1], id[2]);
|
id[0], id[1], id[2]);
|
||||||
|
@ -42,6 +42,6 @@ Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
|
|||||||
+ of_machine_is_compatible("netgear,r8000"))
|
+ of_machine_is_compatible("netgear,r8000"))
|
||||||
+ sw_dev->cpu_port = 5;
|
+ sw_dev->cpu_port = 5;
|
||||||
+
|
+
|
||||||
/* cpu port is always last */
|
|
||||||
sw_dev->ports = sw_dev->cpu_port + 1;
|
|
||||||
dev->enabled_ports |= BIT(sw_dev->cpu_port);
|
dev->enabled_ports |= BIT(sw_dev->cpu_port);
|
||||||
|
sw_dev->ports = fls(dev->enabled_ports);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user