From e1696ca671a6637ee951c84d1624095a4203513c Mon Sep 17 00:00:00 2001 From: jogo Date: Tue, 6 Nov 2012 15:21:46 +0000 Subject: linux: export bcm963xx_tag.h to userspace Export bcm963xx_tag.h so mtd can use it without using kernel includes. Signed-off-by: Catalin Patulea [jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header from original location, refresh patches, use a more matching patch number, port to 3.6] Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/patches-3.3/304-boardid_fixup.patch | 2 +- .../brcm63xx/patches-3.3/401-MIPS-BCM63XX-register-ohci-device.patch | 2 +- .../brcm63xx/patches-3.3/403-MIPS-BCM63XX-register-ehci-device.patch | 2 +- .../linux/brcm63xx/patches-3.3/405-bcm963xx_real_rootfs_length.patch | 4 ++-- .../patches-3.3/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch | 2 +- .../432-BCM63XX-allow-providing-fixup-data-in-board-data.patch | 2 +- target/linux/brcm63xx/patches-3.6/304-boardid_fixup.patch | 2 +- .../brcm63xx/patches-3.6/401-MIPS-BCM63XX-register-ohci-device.patch | 2 +- .../brcm63xx/patches-3.6/403-MIPS-BCM63XX-register-ehci-device.patch | 2 +- .../linux/brcm63xx/patches-3.6/405-bcm963xx_real_rootfs_length.patch | 4 ++-- .../patches-3.6/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch | 2 +- .../432-BCM63XX-allow-providing-fixup-data-in-board-data.patch | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) (limited to 'target/linux/brcm63xx') diff --git a/target/linux/brcm63xx/patches-3.3/304-boardid_fixup.patch b/target/linux/brcm63xx/patches-3.3/304-boardid_fixup.patch index 3b9e23ef7d..c3dd8e9898 100644 --- a/target/linux/brcm63xx/patches-3.3/304-boardid_fixup.patch +++ b/target/linux/brcm63xx/patches-3.3/304-boardid_fixup.patch @@ -4,7 +4,7 @@ #include #include #include -+#include ++#include #define PFX "board_bcm963xx: " diff --git a/target/linux/brcm63xx/patches-3.3/401-MIPS-BCM63XX-register-ohci-device.patch b/target/linux/brcm63xx/patches-3.3/401-MIPS-BCM63XX-register-ohci-device.patch index 33b1a39350..8218fae44e 100644 --- a/target/linux/brcm63xx/patches-3.3/401-MIPS-BCM63XX-register-ohci-device.patch +++ b/target/linux/brcm63xx/patches-3.3/401-MIPS-BCM63XX-register-ohci-device.patch @@ -67,7 +67,7 @@ Subject: [PATCH 24/63] MIPS: BCM63XX: register ohci device. #include +#include #include - #include + #include @@ -916,6 +917,9 @@ int __init board_register_devices(void) !board_get_mac_address(board.enet1.mac_addr)) diff --git a/target/linux/brcm63xx/patches-3.3/403-MIPS-BCM63XX-register-ehci-device.patch b/target/linux/brcm63xx/patches-3.3/403-MIPS-BCM63XX-register-ehci-device.patch index d6773d5657..8606d41451 100644 --- a/target/linux/brcm63xx/patches-3.3/403-MIPS-BCM63XX-register-ehci-device.patch +++ b/target/linux/brcm63xx/patches-3.3/403-MIPS-BCM63XX-register-ehci-device.patch @@ -49,7 +49,7 @@ Subject: [PATCH 26/63] MIPS: BCM63XX: register ehci device. #include +#include #include - #include + #include @@ -917,6 +918,9 @@ int __init board_register_devices(void) !board_get_mac_address(board.enet1.mac_addr)) diff --git a/target/linux/brcm63xx/patches-3.3/405-bcm963xx_real_rootfs_length.patch b/target/linux/brcm63xx/patches-3.3/405-bcm963xx_real_rootfs_length.patch index 856b9e2674..f0e6c4c78b 100644 --- a/target/linux/brcm63xx/patches-3.3/405-bcm963xx_real_rootfs_length.patch +++ b/target/linux/brcm63xx/patches-3.3/405-bcm963xx_real_rootfs_length.patch @@ -1,5 +1,5 @@ ---- a/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h -+++ b/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h +--- a/include/linux/bcm963xx_tag.h ++++ b/include/linux/bcm963xx_tag.h @@ -85,8 +85,10 @@ struct bcm_tag { __u32 rootfs_crc; /* 224-227: CRC32 of kernel partition */ diff --git a/target/linux/brcm63xx/patches-3.3/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch b/target/linux/brcm63xx/patches-3.3/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch index 5ca6f47970..fd1bfc4b8c 100644 --- a/target/linux/brcm63xx/patches-3.3/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch +++ b/target/linux/brcm63xx/patches-3.3/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch @@ -14,7 +14,7 @@ Subject: [PATCH 62/79] MTD: bcm63xxpart: use nvram for PSI size #include +#include - #include + #include #include @@ -90,7 +91,8 @@ static int bcm63xx_parse_cfe_partitions( diff --git a/target/linux/brcm63xx/patches-3.3/432-BCM63XX-allow-providing-fixup-data-in-board-data.patch b/target/linux/brcm63xx/patches-3.3/432-BCM63XX-allow-providing-fixup-data-in-board-data.patch index e0e4a47380..8f04fa75c2 100644 --- a/target/linux/brcm63xx/patches-3.3/432-BCM63XX-allow-providing-fixup-data-in-board-data.patch +++ b/target/linux/brcm63xx/patches-3.3/432-BCM63XX-allow-providing-fixup-data-in-board-data.patch @@ -13,7 +13,7 @@ Subject: [PATCH 67/80] BCM63XX: allow providing fixup data in board data @@ -33,6 +33,7 @@ #include #include - #include + #include +#include #define PFX "board_bcm963xx: " diff --git a/target/linux/brcm63xx/patches-3.6/304-boardid_fixup.patch b/target/linux/brcm63xx/patches-3.6/304-boardid_fixup.patch index 301c916141..a463fe739c 100644 --- a/target/linux/brcm63xx/patches-3.6/304-boardid_fixup.patch +++ b/target/linux/brcm63xx/patches-3.6/304-boardid_fixup.patch @@ -4,7 +4,7 @@ #include #include #include -+#include ++#include #define PFX "board_bcm963xx: " diff --git a/target/linux/brcm63xx/patches-3.6/401-MIPS-BCM63XX-register-ohci-device.patch b/target/linux/brcm63xx/patches-3.6/401-MIPS-BCM63XX-register-ohci-device.patch index a62539121d..28a7e2f1f3 100644 --- a/target/linux/brcm63xx/patches-3.6/401-MIPS-BCM63XX-register-ohci-device.patch +++ b/target/linux/brcm63xx/patches-3.6/401-MIPS-BCM63XX-register-ohci-device.patch @@ -67,7 +67,7 @@ Subject: [PATCH 24/63] MIPS: BCM63XX: register ohci device. #include +#include #include - #include + #include @@ -961,6 +962,9 @@ int __init board_register_devices(void) !board_get_mac_address(board.enet1.mac_addr)) diff --git a/target/linux/brcm63xx/patches-3.6/403-MIPS-BCM63XX-register-ehci-device.patch b/target/linux/brcm63xx/patches-3.6/403-MIPS-BCM63XX-register-ehci-device.patch index f50be1420b..eb27ed96d3 100644 --- a/target/linux/brcm63xx/patches-3.6/403-MIPS-BCM63XX-register-ehci-device.patch +++ b/target/linux/brcm63xx/patches-3.6/403-MIPS-BCM63XX-register-ehci-device.patch @@ -49,7 +49,7 @@ Subject: [PATCH 26/63] MIPS: BCM63XX: register ehci device. #include +#include #include - #include + #include @@ -962,6 +963,9 @@ int __init board_register_devices(void) !board_get_mac_address(board.enet1.mac_addr)) diff --git a/target/linux/brcm63xx/patches-3.6/405-bcm963xx_real_rootfs_length.patch b/target/linux/brcm63xx/patches-3.6/405-bcm963xx_real_rootfs_length.patch index 856b9e2674..f0e6c4c78b 100644 --- a/target/linux/brcm63xx/patches-3.6/405-bcm963xx_real_rootfs_length.patch +++ b/target/linux/brcm63xx/patches-3.6/405-bcm963xx_real_rootfs_length.patch @@ -1,5 +1,5 @@ ---- a/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h -+++ b/arch/mips/include/asm/mach-bcm63xx/bcm963xx_tag.h +--- a/include/linux/bcm963xx_tag.h ++++ b/include/linux/bcm963xx_tag.h @@ -85,8 +85,10 @@ struct bcm_tag { __u32 rootfs_crc; /* 224-227: CRC32 of kernel partition */ diff --git a/target/linux/brcm63xx/patches-3.6/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch b/target/linux/brcm63xx/patches-3.6/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch index 5ca6f47970..fd1bfc4b8c 100644 --- a/target/linux/brcm63xx/patches-3.6/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch +++ b/target/linux/brcm63xx/patches-3.6/430-MTD-bcm63xxpart-use-nvram-for-PSI-size.patch @@ -14,7 +14,7 @@ Subject: [PATCH 62/79] MTD: bcm63xxpart: use nvram for PSI size #include +#include - #include + #include #include @@ -90,7 +91,8 @@ static int bcm63xx_parse_cfe_partitions( diff --git a/target/linux/brcm63xx/patches-3.6/432-BCM63XX-allow-providing-fixup-data-in-board-data.patch b/target/linux/brcm63xx/patches-3.6/432-BCM63XX-allow-providing-fixup-data-in-board-data.patch index cb5374f33b..5d35cbfdfb 100644 --- a/target/linux/brcm63xx/patches-3.6/432-BCM63XX-allow-providing-fixup-data-in-board-data.patch +++ b/target/linux/brcm63xx/patches-3.6/432-BCM63XX-allow-providing-fixup-data-in-board-data.patch @@ -13,7 +13,7 @@ Subject: [PATCH 67/80] BCM63XX: allow providing fixup data in board data @@ -33,6 +33,7 @@ #include #include - #include + #include +#include #define PFX "board_bcm963xx: " -- cgit v1.2.3