summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-20 15:36:09 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-16 01:39:45 -0400
commitb2dc0a08845af9d6ea990a1a28d4545998707570 (patch)
tree4a77fd9722b1ef04086935504440ad39e4365f49 /arch/blackfin/kernel
parent1997660cea28202ece0956cd44f332ac57700138 (diff)
downloadop-kernel-dev-b2dc0a08845af9d6ea990a1a28d4545998707570.zip
op-kernel-dev-b2dc0a08845af9d6ea990a1a28d4545998707570.tar.gz
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: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r--arch/blackfin/kernel/setup.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 6136c33..6e150d9 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -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 */
OpenPOWER on IntegriCloud