build: use config-1 instead of config@1 as default
[openwrt/staging/rmilecki.git] / package / boot / arm-trusted-firmware-mediatek / patches / 010-nandx-add-fidelix-spi-nand.patch
1 --- a/plat/mediatek/common/drivers/nandx/core/nand/device_spi.c
2 +++ b/plat/mediatek/common/drivers/nandx/core/nand/device_spi.c
3 @@ -150,6 +150,21 @@ static struct device_spi spi_nand[] = {
4 &spi_extend_cmds, 0xff, 0xff
5 },
6 {
7 + NAND_DEVICE("FM35X1GA",
8 + NAND_PACK_ID(0xe5, 0x71, 0, 0, 0, 0, 0, 0),
9 + 2, 0, 3, 3,
10 + 1, 1, 1, 1024, KB(128), KB(2), 64, 1,
11 + &spi_cmds, &spi_addressing, &spi_status[0],
12 + &spi_endurance, &spi_array_timing),
13 + {
14 + NAND_SPI_PROTECT(0xa0, 1, 2, 6),
15 + NAND_SPI_CONFIG(0xb0, 4, 6, 1),
16 + NAND_SPI_STATUS(0xc0, 4, 5),
17 + NAND_SPI_CHARACTER(0xff, 0xff, 0xff, 0xff)
18 + },
19 + &spi_extend_cmds, 0xff, 0xff
20 + },
21 + {
22 NAND_DEVICE("NO-DEVICE",
23 NAND_PACK_ID(0, 0, 0, 0, 0, 0, 0, 0), 0, 0, 0, 0,
24 0, 0, 0, 0, 0, 0, 0, 1,