kernel: add support for GD25D05 SPI NOR
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Mon, 6 Jan 2020 13:12:02 +0000 (14:12 +0100)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Tue, 4 Feb 2020 17:12:19 +0000 (18:12 +0100)
commit6b10354b3cd7e70670840390f41226b28dac60df
treebe8b1a4d20e277410b66f824bf443506141e42a4
parent4eba86820fd3d0ccf1f8e6addaa24ed6cd994b2f
kernel: add support for GD25D05 SPI NOR

This chip is used on newer RB912UAG-5HPnD r2 boards:

Before:

[    0.642553] m25p80 spi0.0: unrecognized JEDEC id bytes: c8, 40, 10
[    0.649381] NAND flash driver for the RouterBOARD 91x series

After:

[    0.641714] m25p80 spi0.0: found gd25d05, expected m25p80
[    0.649916] m25p80 spi0.0: gd25d05 (64 Kbytes)
[    0.655122] Creating 4 MTD partitions on "spi0.0":
[    0.660164] 0x000000000000-0x00000000c000 : "routerboot"
[    0.667782] 0x00000000c000-0x00000000d000 : "hard_config"
[    0.675073] 0x00000000d000-0x00000000e000 : "bios"
[    0.682613] 0x00000000e000-0x00000000f000 : "soft_config"
[    0.690304] NAND flash driver for the RouterBOARD 91x series

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
target/linux/generic/pending-4.14/481-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch [new file with mode: 0644]