OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 1... Line 1...
1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c 1 --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c 2 +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
3 @@ -435,6 +435,26 @@ static struct board_info __initdata boar 3 @@ -483,6 +483,26 @@ static struct board_info __initdata boar
4 .has_pccard = 1, 4 .ext_irq = 2,
5 .has_ehci0 = 1, 5 },
6 }; 6 };
7 + 7 +
8 +static struct board_info __initdata board_V2500V_BB = { 8 +static struct board_info __initdata board_V2500V_BB = {
9 + .name = "V2500V_BB", 9 + .name = "V2500V_BB",
10 + .expected_cpu_id = 0x6348, 10 + .expected_cpu_id = 0x6348,
Line 25... Line 25...
25 + }, 25 + },
26 +}; 26 +};
27 #endif /* CONFIG_BCM63XX_CPU_6348 */ 27 #endif /* CONFIG_BCM63XX_CPU_6348 */
Line 28... Line 28...
28 28
29 /* 29 /*
30 @@ -707,6 +727,7 @@ static const struct board_info __initcon 30 @@ -755,6 +775,7 @@ static const struct board_info __initcon
31 &board_96348_D4PW, 31 &board_96348_D4PW,
32 &board_spw500v, 32 &board_spw500v,
33 &board_96348sv, 33 &board_96348sv,
34 + &board_V2500V_BB, 34 + &board_V2500V_BB,
Line 35... Line 35...
35 #endif 35 #endif
36 36
37 #ifdef CONFIG_BCM63XX_CPU_6358 37 #ifdef CONFIG_BCM63XX_CPU_6358
38 @@ -746,6 +767,7 @@ static struct of_device_id const bcm963x 38 @@ -794,6 +815,7 @@ static struct of_device_id const bcm963x
39 { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, }, 39 { .compatible = "brcm,bcm96348gw-10", .data = &board_96348gw_10, },
40 { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, }, 40 { .compatible = "brcm,bcm96348gw-11", .data = &board_96348gw_11, },
41 { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, }, 41 { .compatible = "brcm,bcm96348gw-a", .data = &board_96348gw_a, },
42 + { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, }, 42 + { .compatible = "bt,v2500v-bb", .data = &board_V2500V_BB, },
43 { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, }, 43 { .compatible = "d-link,dsl-2640b-b", .data = &board_96348_D4PW, },
44 { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, }, 44 { .compatible = "davolink,dv-201amr", .data = &board_DV201AMR, },
45 { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, }, 45 { .compatible = "dynalink,rta1025w", .data = &board_rta1025w_16, },
46 @@ -805,6 +827,22 @@ void __init board_bcm963xx_init(void) 46 @@ -853,6 +875,22 @@ void __init board_bcm963xx_init(void)
47 val &= MPI_CSBASE_BASE_MASK; 47 val &= MPI_CSBASE_BASE_MASK;
48 } 48 }
49 boot_addr = (u8 *)KSEG1ADDR(val); 49 boot_addr = (u8 *)KSEG1ADDR(val);