brcm63xx: Add DT support for AR-5381u
[openwrt.git] / target / linux / brcm63xx / patches-3.14 / 368-MIPS-BCM63XX-expand-board_info-with-an-of-compatible.patch
1 From e8c11c43a9eb8171d150850c498bc75205681ab8 Mon Sep 17 00:00:00 2001
2 From: Jonas Gorski <jogo@openwrt.org>
3 Date: Thu, 26 Jun 2014 12:49:33 +0200
4 Subject: [PATCH 46/48] MIPS: BCM63XX: expand board_info with an of compatible
5  string
6
7 It will be used for matching board_info structs to a passed dtb until
8 bcm63xx is fully converted.
9
10 Signed-off-by: Jonas Gorski <jogo@openwrt.org>
11 ---
12  arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h | 7 +++++++
13  1 file changed, 7 insertions(+)
14
15 --- a/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
16 +++ b/arch/mips/include/asm/mach-bcm63xx/board_bcm963xx.h
17 @@ -21,6 +21,7 @@
18   */
19  struct board_info {
20         u8              name[16];
21 +       u8              of_board_id[32];
22         unsigned int    expected_cpu_id;
23  
24         /* enabled feature/device */