mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-06 18:39:30 -05:00
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>