Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: Remove unused symbol CONFIG_MTDRAM_ABS_POS

This has been unused, except as the condition for a fatal error, since
commit c13cbf3b5086 ("[MTD] mtdram: Quick cleanup of the driver:") in
2.6.13 (!).

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

authored by

Ben Hutchings and committed by
Brian Norris
ef158bdf 95193796

+2 -14
+1 -1
arch/cris/arch-v10/drivers/axisflashmap.c
··· 397 397 if (!romfs_in_flash) { 398 398 /* Create an RAM device for the root partition (romfs). */ 399 399 400 - #if !defined(CONFIG_MTD_MTDRAM) || (CONFIG_MTDRAM_TOTAL_SIZE != 0) || (CONFIG_MTDRAM_ABS_POS != 0) 400 + #if !defined(CONFIG_MTD_MTDRAM) || (CONFIG_MTDRAM_TOTAL_SIZE != 0) 401 401 /* No use trying to boot this kernel from RAM. Panic! */ 402 402 printk(KERN_EMERG "axisflashmap: Cannot create an MTD RAM " 403 403 "device due to kernel (mis)configuration!\n");
+1 -1
arch/cris/arch-v32/drivers/axisflashmap.c
··· 320 320 * but its size must be configured as 0 so as not to conflict 321 321 * with our usage. 322 322 */ 323 - #if !defined(CONFIG_MTD_MTDRAM) || (CONFIG_MTDRAM_TOTAL_SIZE != 0) || (CONFIG_MTDRAM_ABS_POS != 0) 323 + #if !defined(CONFIG_MTD_MTDRAM) || (CONFIG_MTDRAM_TOTAL_SIZE != 0) 324 324 if (!romfs_in_flash && !nand_boot) { 325 325 printk(KERN_EMERG "axisflashmap: Cannot create an MTD RAM " 326 326 "device; configure CONFIG_MTD_MTDRAM with size = 0!\n");
-12
drivers/mtd/devices/Kconfig
··· 171 171 as a module, it is also possible to specify this as a parameter when 172 172 loading the module. 173 173 174 - #If not a module (I don't want to test it as a module) 175 - config MTDRAM_ABS_POS 176 - hex "SRAM Hexadecimal Absolute position or 0" 177 - depends on MTD_MTDRAM=y 178 - default "0" 179 - help 180 - If you have system RAM accessible by the CPU but not used by Linux 181 - in normal operation, you can give the physical address at which the 182 - available RAM starts, and the MTDRAM driver will use it instead of 183 - allocating space from Linux's available memory. Otherwise, leave 184 - this set to zero. Most people will want to leave this as zero. 185 - 186 174 config MTD_BLOCK2MTD 187 175 tristate "MTD using block device" 188 176 depends on BLOCK