imx: bundle correct SDMA firmware for i.MX 7 boards
authorLech Perczak <lech.perczak@gmail.com>
Sun, 24 Apr 2022 13:53:25 +0000 (15:53 +0200)
committerPiotr Dymacz <pepe2k@gmail.com>
Mon, 11 Jul 2022 12:14:01 +0000 (14:14 +0200)
Import sdma-imx7d.bin from linux-firmware repository at commit:
55edf5202154: ("imx: sdma: update firmware to v3.5/v4.5")

Cortex-A7 boards (i.MX 7 based) use different SDMA firmware than i.MX 6
boards - bundle the correct files in per-subtarget kernel options.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
target/linux/imx/config-5.15
target/linux/imx/cortexa7/config-default
target/linux/imx/cortexa9/config-default
target/linux/imx/files/firmware/imx/sdma/sdma-imx7d.bin [new file with mode: 0644]

index 3c3691b6490ee21b22259048e325d6dda540e28a..3ca915ae9afc9b60c63069ef4fdd2c032e158763 100644 (file)
@@ -158,8 +158,6 @@ CONFIG_EXT4_FS=y
 CONFIG_EXT4_FS_POSIX_ACL=y
 CONFIG_EXT4_FS_SECURITY=y
 CONFIG_EXTCON=y
-CONFIG_EXTRA_FIRMWARE="imx/sdma/sdma-imx6q.bin"
-CONFIG_EXTRA_FIRMWARE_DIR="firmware"
 CONFIG_F2FS_FS=y
 # CONFIG_FEC is not set
 CONFIG_FIXED_PHY=y
index 6b1493fe1908e18a64b70bb9bba6e31de377b1e8..08829c3c778568ae4b2448491752d35afea1ed86 100644 (file)
@@ -14,6 +14,8 @@ CONFIG_CMA_AREAS=7
 # CONFIG_CMA_SYSFS is not set
 CONFIG_CONTIG_ALLOC=y
 # CONFIG_DMA_CMA is not set
+CONFIG_EXTRA_FIRMWARE="imx/sdma/sdma-imx7d.bin"
+CONFIG_EXTRA_FIRMWARE_DIR="firmware"
 CONFIG_FEC=y
 CONFIG_FSL_GUTS=y
 CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
index d829bc7741b6dd49fc61754c7690948a1ddf7ac0..93193815902b7f0ba97ee08d353f0cd910e73197 100644 (file)
@@ -10,6 +10,8 @@ CONFIG_CLK_IMX6SX=y
 CONFIG_CMDLINE="pci=nomsi"
 CONFIG_CMDLINE_EXTEND=y
 CONFIG_E1000E=y
+CONFIG_EXTRA_FIRMWARE="imx/sdma/sdma-imx6q.bin"
+CONFIG_EXTRA_FIRMWARE_DIR="firmware"
 CONFIG_FEC=y
 CONFIG_FSL_GUTS=y
 CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
diff --git a/target/linux/imx/files/firmware/imx/sdma/sdma-imx7d.bin b/target/linux/imx/files/firmware/imx/sdma/sdma-imx7d.bin
new file mode 100644 (file)
index 0000000..148f4fe
Binary files /dev/null and b/target/linux/imx/files/firmware/imx/sdma/sdma-imx7d.bin differ