Skip to content

Commit

Permalink
Blackfin: drop dead flash_probe call
Browse files Browse the repository at this point in the history
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: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed Jul 16, 2009
1 parent 1997660 commit b2dc0a0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit b2dc0a0

Please sign in to comment.