X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fbrcm63xx%2Fpatches-4.9%2F368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch;h=7069c231deee929e34484374ba77674213fafe7d;hp=1c3e5d12e0ca1fc2a3186d482abeb637b653e8d6;hb=a01568fbd34eefeb7c92da68a55d25000728d7a6;hpb=d09561f73d74c467347753a153c509faa48233a1 diff --git a/target/linux/brcm63xx/patches-4.9/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch b/target/linux/brcm63xx/patches-4.9/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch index 1c3e5d12e0..7069c231de 100644 --- a/target/linux/brcm63xx/patches-4.9/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch +++ b/target/linux/brcm63xx/patches-4.9/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch @@ -16,7 +16,7 @@ Signed-off-by: Jonas Gorski --- a/arch/mips/bcm63xx/boards/board_bcm963xx.c +++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -711,6 +711,10 @@ static const struct board_info __initcon +@@ -695,6 +695,10 @@ static const struct board_info __initcon #endif }; @@ -27,7 +27,7 @@ Signed-off-by: Jonas Gorski /* * early init callback, read nvram data from flash and checksum it */ -@@ -722,6 +726,7 @@ void __init board_bcm963xx_init(void) +@@ -706,6 +710,7 @@ void __init board_bcm963xx_init(void) char *board_name = NULL; u32 val; struct bcm_hcs *hcs; @@ -35,7 +35,7 @@ Signed-off-by: Jonas Gorski /* read base address of boot chip select (0) * 6328/6362 do not have MPI but boot from a fixed address -@@ -761,6 +766,16 @@ void __init board_bcm963xx_init(void) +@@ -745,6 +750,16 @@ void __init board_bcm963xx_init(void) } else { board_name = bcm63xx_nvram_get_name(); } @@ -54,7 +54,7 @@ Signed-off-by: Jonas Gorski if (strncmp(board_name, bcm963xx_boards[i]->name, 16)) --- a/arch/mips/bcm63xx/boards/board_common.c +++ b/arch/mips/bcm63xx/boards/board_common.c -@@ -243,3 +243,21 @@ int __init board_register_devices(void) +@@ -239,3 +239,21 @@ int __init board_register_devices(void) return 0; }