uboot-lantiq: drop unused board patches
[openwrt/openwrt.git] / package / boot / uboot-lantiq / patches / 0008-sf-fix-sector-layout-of-S25FL256S_256K-and-S25FL512S.patch
1 From 5a6d8045190c887c7f65e65fb1bfc8854774c458 Mon Sep 17 00:00:00 2001
2 From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
3 Date: Sun, 13 Oct 2013 15:40:07 +0200
4 Subject: sf: fix sector layout of S25FL256S_256K and S25FL512S_256K
5
6 Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
7
8 --- a/drivers/mtd/spi/sf_probe.c
9 +++ b/drivers/mtd/spi/sf_probe.c
10 @@ -80,9 +80,9 @@ static const struct spi_flash_params spi
11 {"S25FL032P", 0x010215, 0x4d00, 64 * 1024, 64, 0},
12 {"S25FL064P", 0x010216, 0x4d00, 64 * 1024, 128, 0},
13 {"S25FL128S_64K", 0x012018, 0x4d01, 64 * 1024, 256, 0},
14 - {"S25FL256S_256K", 0x010219, 0x4d00, 64 * 1024, 512, 0},
15 + {"S25FL256S_256K", 0x010219, 0x4d00, 256 * 1024, 128, 0},
16 {"S25FL256S_64K", 0x010219, 0x4d01, 64 * 1024, 512, 0},
17 - {"S25FL512S_256K", 0x010220, 0x4d00, 64 * 1024, 1024, 0},
18 + {"S25FL512S_256K", 0x010220, 0x4d00, 256 * 1024, 256, 0},
19 {"S25FL512S_64K", 0x010220, 0x4d01, 64 * 1024, 1024, 0},
20 #endif
21 #ifdef CONFIG_SPI_FLASH_STMICRO /* STMICRO */