aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/arm-trusted-firmware-mediatek/patches/010-nandx-add-fidelix-spi-nand.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-05 17:14:02 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-05 17:42:10 +0000
commitdc416983bb45f040700612891a9c46ca92e027ff (patch)
tree78237ec2ec1db27277a993a04920e64fe68220f0 /package/boot/arm-trusted-firmware-mediatek/patches/010-nandx-add-fidelix-spi-nand.patch
parent9f714398e060c6338fbfad44cdbfa8c940dbb84b (diff)
downloadupstream-dc416983bb45f040700612891a9c46ca92e027ff.tar.gz
upstream-dc416983bb45f040700612891a9c46ca92e027ff.tar.bz2
upstream-dc416983bb45f040700612891a9c46ca92e027ff.zip
arm-trusted-firmware-mediatek: update to ATF 2.4 (2021-02-25)
All necessary blobs are now contained in the upstream repository, no more wild replacing of blobs needed. This new version also contains new storage drivers for (SPI-)NAND which already comes with support for FM35Q1GA, so that patch can be dropped as well. Tested on: * Bananapi BPi-R64 - sdmmc-2ddr - emmc-2ddr * Linksys E8450 - snand-1ddr All works fine (booting Bananapi BPi-R64 from SD Card does NOT require a signed image, so patch arm-trusted-firmware-mediatek to allow doing that). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/arm-trusted-firmware-mediatek/patches/010-nandx-add-fidelix-spi-nand.patch')
-rw-r--r--package/boot/arm-trusted-firmware-mediatek/patches/010-nandx-add-fidelix-spi-nand.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/package/boot/arm-trusted-firmware-mediatek/patches/010-nandx-add-fidelix-spi-nand.patch b/package/boot/arm-trusted-firmware-mediatek/patches/010-nandx-add-fidelix-spi-nand.patch
deleted file mode 100644
index d0a8f7616a..0000000000
--- a/package/boot/arm-trusted-firmware-mediatek/patches/010-nandx-add-fidelix-spi-nand.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/plat/mediatek/common/drivers/nandx/core/nand/device_spi.c
-+++ b/plat/mediatek/common/drivers/nandx/core/nand/device_spi.c
-@@ -150,6 +150,21 @@ static struct device_spi spi_nand[] = {
- &spi_extend_cmds, 0xff, 0xff
- },
- {
-+ NAND_DEVICE("FM35X1GA",
-+ NAND_PACK_ID(0xe5, 0x71, 0, 0, 0, 0, 0, 0),
-+ 2, 0, 3, 3,
-+ 1, 1, 1, 1024, KB(128), KB(2), 64, 1,
-+ &spi_cmds, &spi_addressing, &spi_status[0],
-+ &spi_endurance, &spi_array_timing),
-+ {
-+ NAND_SPI_PROTECT(0xa0, 1, 2, 6),
-+ NAND_SPI_CONFIG(0xb0, 4, 6, 1),
-+ NAND_SPI_STATUS(0xc0, 4, 5),
-+ NAND_SPI_CHARACTER(0xff, 0xff, 0xff, 0xff)
-+ },
-+ &spi_extend_cmds, 0xff, 0xff
-+ },
-+ {
- NAND_DEVICE("NO-DEVICE",
- NAND_PACK_ID(0, 0, 0, 0, 0, 0, 0, 0), 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 1,