diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-08-07 09:14:15 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-08-07 10:34:31 +0200 |
commit | 81fdb4235e4e5efe7f0fde06b908a4f6ce6a96f3 (patch) | |
tree | f3c63f93b4e7e489e2af24ba39a8ac23c1e22369 /target/linux/bcm63xx/patches-5.4/556-board_EVG2000.patch | |
parent | 064dc1e81bc85f6ef8becc38854292853a59d2c2 (diff) | |
download | upstream-81fdb4235e4e5efe7f0fde06b908a4f6ce6a96f3.tar.gz upstream-81fdb4235e4e5efe7f0fde06b908a4f6ce6a96f3.tar.bz2 upstream-81fdb4235e4e5efe7f0fde06b908a4f6ce6a96f3.zip |
bcm63xx: refactor board patches
Current board patches format is crazy.
Let's try to put some order.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/556-board_EVG2000.patch')
-rw-r--r-- | target/linux/bcm63xx/patches-5.4/556-board_EVG2000.patch | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/556-board_EVG2000.patch b/target/linux/bcm63xx/patches-5.4/556-board_EVG2000.patch index 1eac718426..9ed32020e2 100644 --- a/target/linux/bcm63xx/patches-5.4/556-board_EVG2000.patch +++ b/target/linux/bcm63xx/patches-5.4/556-board_EVG2000.patch @@ -1,6 +1,6 @@ --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -1840,6 +1840,42 @@ static struct board_info __initdata boar +@@ -1795,6 +1795,43 @@ static struct board_info __initdata boar }, }; @@ -9,15 +9,15 @@ +}; + +static struct board_info __initdata board_EVG2000 = { -+ .name = "96369PVG", -+ .expected_cpu_id = 0x6368, ++ .name = "96369PVG", ++ .expected_cpu_id = 0x6368, + -+ .has_pci = 1, -+ .has_ohci0 = 1, -+ .has_ehci0 = 1, -+ .num_usbh_ports = 2, ++ .has_pci = 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .num_usbh_ports = 2, + -+ .has_enetsw = 1, ++ .has_enetsw = 1, + .enetsw = { + .used_ports = { + [5] = { @@ -30,20 +30,21 @@ + }, + }, + }, -+ .use_fallback_sprom = 1, ++ ++ .use_fallback_sprom = 1, + .fallback_sprom = { -+ .type = SPROM_BCM4322, -+ .pci_bus = 0, -+ .pci_dev = 1, -+ .board_fixups = EVG2000_fixups, -+ .num_board_fixups = ARRAY_SIZE(EVG2000_fixups), ++ .type = SPROM_BCM4322, ++ .pci_bus = 0, ++ .pci_dev = 1, ++ .board_fixups = EVG2000_fixups, ++ .num_board_fixups = ARRAY_SIZE(EVG2000_fixups), + }, +}; + static struct board_info __initdata board_HG655b = { - .name = "HW65x", - .expected_cpu_id = 0x6368, -@@ -2417,6 +2453,7 @@ static const struct board_info __initcon + .name = "HW65x", + .expected_cpu_id = 0x6368, +@@ -2355,6 +2392,7 @@ static const struct board_info __initcon &board_96368mvwg, &board_96368mvngr, &board_DGND3700v1_3800B, @@ -51,7 +52,7 @@ &board_HG622, &board_HG655b, &board_P870HW51A_V2, -@@ -2529,6 +2566,7 @@ static struct of_device_id const bcm963x +@@ -2467,6 +2505,7 @@ static struct of_device_id const bcm963x { .compatible = "huawei,echolife-hg622", .data = &board_HG622, }, { .compatible = "huawei,echolife-hg655b", .data = &board_HG655b, }, { .compatible = "netgear,dgnd3700-v1", .data = &board_DGND3700v1_3800B, }, |