From 81fdb4235e4e5efe7f0fde06b908a4f6ce6a96f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Fri, 7 Aug 2020 09:14:15 +0200 Subject: bcm63xx: refactor board patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Current board patches format is crazy. Let's try to put some order. Signed-off-by: Álvaro Fernández Rojas --- .../bcm63xx/patches-5.4/534-board_fast2704.patch | 43 +++++++++++----------- 1 file changed, 21 insertions(+), 22 deletions(-) (limited to 'target/linux/bcm63xx/patches-5.4/534-board_fast2704.patch') diff --git a/target/linux/bcm63xx/patches-5.4/534-board_fast2704.patch b/target/linux/bcm63xx/patches-5.4/534-board_fast2704.patch index 23b90002ff..937f33b558 100644 --- a/target/linux/bcm63xx/patches-5.4/534-board_fast2704.patch +++ b/target/linux/bcm63xx/patches-5.4/534-board_fast2704.patch @@ -12,43 +12,42 @@ Signed-off-by: Marcin Jurkowski --- --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -341,6 +341,43 @@ static struct board_info __initdata boar +@@ -338,6 +338,42 @@ static struct board_info __initdata boar }, }, }; + +static struct board_info __initdata board_FAST2704V2 = { -+ .name = "F@ST2704V2", -+ .expected_cpu_id = 0x6328, ++ .name = "F@ST2704V2", ++ .expected_cpu_id = 0x6328, + -+ .has_pci = 1, -+ .has_ohci0 = 1, -+ .has_ehci0 = 1, -+ .has_usbd = 1, -+ -+ .has_enetsw = 1, ++ .has_pci = 1, ++ .has_ohci0 = 1, ++ .has_ehci0 = 1, ++ .has_usbd = 1, + ++ .has_enetsw = 1, + .enetsw = { + .used_ports = { + [0] = { -+ .used = 1, ++ .used = 1, + .phy_id = 1, -+ .name = "Port 1", ++ .name = "Port 1", + }, + [1] = { -+ .used = 1, -+ .phy_id = 2, -+ .name = "Port 2", ++ .used = 1, ++ .phy_id = 2, ++ .name = "Port 2", + }, + [2] = { -+ .used = 1, -+ .phy_id = 3, -+ .name = "Port 3", ++ .used = 1, ++ .phy_id = 3, ++ .name = "Port 3", + }, + [3] = { -+ .used = 1, -+ .phy_id = 4, -+ .name = "Port 4", ++ .used = 1, ++ .phy_id = 4, ++ .name = "Port 4", + }, + }, + }, @@ -56,7 +55,7 @@ Signed-off-by: Marcin Jurkowski #endif /* CONFIG_BCM63XX_CPU_6328 */ /* -@@ -1400,6 +1437,7 @@ static const struct board_info __initcon +@@ -1369,6 +1405,7 @@ static const struct board_info __initcon &board_963281TAN, &board_A4001N1, &board_dsl_274xb_f1, @@ -64,7 +63,7 @@ Signed-off-by: Marcin Jurkowski #endif /* CONFIG_BCM63XX_CPU_6328 */ #ifdef CONFIG_BCM63XX_CPU_6338 &board_96338gw, -@@ -1472,6 +1510,7 @@ static struct of_device_id const bcm963x +@@ -1441,6 +1478,7 @@ static struct of_device_id const bcm963x { .compatible = "comtrend,ar-5381u", .data = &board_AR5381u, }, { .compatible = "comtrend,ar-5387un", .data = &board_AR5387un, }, { .compatible = "d-link,dsl-274xb-f1", .data = &board_dsl_274xb_f1, }, -- cgit v1.2.3