brcm2708: arm8stub is no longer needed
[oweals/openwrt.git] / target / linux / pistachio / patches-4.14 / 412-mtd-nand-Add-JEDEC-manufacturer-ID-for-Gigadevice.patch
1 From a4bc33b205fd9b1db862f1e45173dba57b0fa57f Mon Sep 17 00:00:00 2001
2 From: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
3 Date: Sat, 25 Feb 2017 15:43:09 +0000
4 Subject: mtd: nand: Add JEDEC manufacturer ID for Gigadevice
5
6 This commit adds Gigadevice to the list of manufacturer ID and name strings.
7
8 (picked from http://lists.infradead.org/pipermail/linux-mtd/2014-December/056765.html)
9
10 Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
11 ---
12  drivers/mtd/nand/nand_ids.c | 1 +
13  include/linux/mtd/rawnand.h    | 1 +
14  2 files changed, 2 insertions(+)
15
16 --- a/drivers/mtd/nand/nand_ids.c
17 +++ b/drivers/mtd/nand/nand_ids.c
18 @@ -184,6 +184,7 @@ static const struct nand_manufacturer na
19         {NAND_MFR_SANDISK, "SanDisk"},
20         {NAND_MFR_INTEL, "Intel"},
21         {NAND_MFR_ATO, "ATO"},
22 +       {NAND_MFR_GIGADEVICE, "Gigadevice"},
23         {NAND_MFR_WINBOND, "Winbond"},
24  };
25  
26 --- a/include/linux/mtd/rawnand.h
27 +++ b/include/linux/mtd/rawnand.h
28 @@ -1016,6 +1016,7 @@ static inline void *nand_get_manufacture
29  #define NAND_MFR_SANDISK       0x45
30  #define NAND_MFR_INTEL         0x89
31  #define NAND_MFR_ATO           0x9b
32 +#define NAND_MFR_GIGADEVICE    0xc8
33  #define NAND_MFR_WINBOND       0xef
34  
35