]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Revert "mtd: maps: remove uclinux map driver"
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 3 Jul 2026 11:35:47 +0000 (13:35 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 3 Jul 2026 13:46:28 +0000 (15:46 +0200)
commit2b533e775aec580cf60074417f4ca00ac9cf3580
treea32f8331bfee391fc689fdc1c0c7c9b214681817
parentd03a19bd6c7f86b99ca8fb61a6ec2345cee1d9d6
Revert "mtd: maps: remove uclinux map driver"

The uclinux MTD map driver is still actively used on ColdFire (m68k)
platforms. The ColdFire startup code in arch/m68k/coldfire/head.S copies
an attached filesystem blob to _bss_stop, and the uclinux driver picks
it up from there. Most ColdFire defconfigs enable CONFIG_MTD_UCLINUX, as
the driver seems to serve as a replacement for CONFIG_BLK_DEV_INITRD on
these non-MMU targets.

The driver was removed as part of a series cleaning up AMD Élan specific
drivers, but unlike the other three drivers in that series, this driver
seemed to not be as Élan specific (nor unused) as initially thought.

This reverts commit c584b8a7ad01a334a89732f3c5791ba14e58642b.

Reported-by: Greg Ungerer <gregungerer@westnet.com.au>
Closes: https://lore.kernel.org/all/b55ac37f-4523-46d0-8e77-3a17d7235ffe@westnet.com.au/
Acked-by: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/maps/Kconfig
drivers/mtd/maps/Makefile
drivers/mtd/maps/uclinux.c [new file with mode: 0644]