pistachio: Fix setting mtd name
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 26 Jun 2024 22:12:43 +0000 (00:12 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 30 Jun 2024 22:46:16 +0000 (00:46 +0200)
commitde01fec4a71a6dc264b6a5fcd407b2355183c4d4
treefee76fcaea297c1d61da3e5d4bc9811894b2f954
parentcd080be84c286b1faf0c5e30f4069a2bc4bfb66e
pistachio: Fix setting mtd name

The bootloader provides the partition table using the boot arguments
and uses the name spi-nor and spi-nand for the different controllers.
The old code was not setting the name any more because mtd->name was
already set before. Move the setting of the name to the spi-mem code
now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/pistachio/patches-6.6/401-mtd-nor-support-mtd-name-from-device-tree.patch