Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2dc0a08 authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: drop dead flash_probe call



There are no CONFIG_{BLK,CHR}_DEV_FLASH Kconfig options, and there is no
flash_probe() function, so not really sure what this code is all about.
Seems to be dead code that stretches way back to the start of the Blackfin
port.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 1997660c
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -868,13 +868,6 @@ void __init setup_arch(char **cmdline_p)
	else
		printk(KERN_CONT "and Disabled\n");

#if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH)
	/* we need to initialize the Flashrom device here since we might
	 * do things with flash early on in the boot
	 */
	flash_probe();
#endif

	printk(KERN_INFO "Boot Mode: %i\n", bfin_read_SYSCR() & 0xF);

	/* Newer parts mirror SWRST bits in SYSCR */