Skip to contentSkip to conversation

mtd: remove pmcmsp-ramroot.c

PATCH In review [email protected] 1 participant 1 message May 12, 2009 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 14/14 mtd: remove pmcmsp-ramroot.c

From: Shane McDonald <[email protected]>

The RAMROOT function was a successful but non-portable attempt to append the root filesystem to the end of the kernel image. The preferred and portable solution is to use an initramfs instead.

The only user of this function was the msp71xx configuration in the MIPS architecture; as the use of the RAMROOT has been removed from that configuration, there are no more users, so this code can be removed.

---

 drivers/mtd/maps/Kconfig          |    9 --
 drivers/mtd/maps/Makefile         |    1 
 drivers/mtd/maps/pmcmsp-ramroot.c |  104 ----------------------------
 3 files changed, 114 deletions(-)
drivers/mtd/maps/Kconfig renamed from drivers/mtd/maps/Kconfig~mtd-remove-pmcmsp-ramrootc +0 -9
diff -puN drivers/mtd/maps/Kconfig~mtd-remove-pmcmsp-ramrootc drivers/mtd/maps/Kconfig
@@ -105,15 +105,6 @@ config MSP_FLASH_MAP_LIMIT
 	default "0x02000000"
 	depends on MSP_FLASH_MAP_LIMIT_32M
 
-config MTD_PMC_MSP_RAMROOT
-	tristate "Embedded RAM block device for root on PMC-Sierra MSP"
-	depends on PMC_MSP_EMBEDDED_ROOTFS && \
-			(MTD_BLOCK || MTD_BLOCK_RO) && \
-			MTD_RAM
-	help
-	  This provides support for the embedded root file system
-          on PMC MSP devices.  This memory is mapped as a MTD block device.
-
 config MTD_SUN_UFLASH
 	tristate "Sun Microsystems userflash support"
 	depends on SPARC && MTD_CFI && PCI
drivers/mtd/maps/Makefile renamed from drivers/mtd/maps/Makefile~mtd-remove-pmcmsp-ramrootc +0 -1
diff -puN drivers/mtd/maps/Makefile~mtd-remove-pmcmsp-ramrootc drivers/mtd/maps/Makefile
@@ -25,7 +25,6 @@ obj-$(CONFIG_MTD_OCTAGON)	+= octagon-506
 obj-$(CONFIG_MTD_PHYSMAP)	+= physmap.o
 obj-$(CONFIG_MTD_PHYSMAP_OF)	+= physmap_of.o
 obj-$(CONFIG_MTD_PMC_MSP_EVM)   += pmcmsp-flash.o
-obj-$(CONFIG_MTD_PMC_MSP_RAMROOT)+= pmcmsp-ramroot.o
 obj-$(CONFIG_MTD_PCMCIA)	+= pcmciamtd.o
 obj-$(CONFIG_MTD_RPXLITE)	+= rpxlite.o
 obj-$(CONFIG_MTD_TQM8XXL)	+= tqm8xxl.o
drivers/mtd/maps/pmcmsp-ramroot.c deleted +0 -104

104 lines not on this page · raw message

_