diff options
Diffstat (limited to 'arch/frv/kernel/setup.c')
-rw-r--r-- | arch/frv/kernel/setup.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c index aa3c795d5354..c1c32e4c863d 100644 --- a/arch/frv/kernel/setup.c +++ b/arch/frv/kernel/setup.c | |||
@@ -60,10 +60,6 @@ static void __init setup_linux_memory(void); | |||
60 | static void __init setup_uclinux_memory(void); | 60 | static void __init setup_uclinux_memory(void); |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | #ifdef CONFIG_CONSOLE | ||
64 | extern struct consw *conswitchp; | ||
65 | #endif | ||
66 | |||
67 | #ifdef CONFIG_MB93090_MB00 | 63 | #ifdef CONFIG_MB93090_MB00 |
68 | static char __initdata mb93090_banner[] = "FJ/RH FR-V Linux"; | 64 | static char __initdata mb93090_banner[] = "FJ/RH FR-V Linux"; |
69 | static char __initdata mb93090_version[] = UTS_RELEASE; | 65 | static char __initdata mb93090_version[] = UTS_RELEASE; |
@@ -795,13 +791,6 @@ void __init setup_arch(char **cmdline_p) | |||
795 | #endif | 791 | #endif |
796 | #endif | 792 | #endif |
797 | 793 | ||
798 | #if defined(CONFIG_CHR_DEV_FLASH) || defined(CONFIG_BLK_DEV_FLASH) | ||
799 | /* we need to initialize the Flashrom device here since we might | ||
800 | * do things with flash early on in the boot | ||
801 | */ | ||
802 | flash_probe(); | ||
803 | #endif | ||
804 | |||
805 | /* deal with the command line - RedBoot may have passed one to the kernel */ | 794 | /* deal with the command line - RedBoot may have passed one to the kernel */ |
806 | memcpy(command_line, boot_command_line, sizeof(command_line)); | 795 | memcpy(command_line, boot_command_line, sizeof(command_line)); |
807 | *cmdline_p = &command_line[0]; | 796 | *cmdline_p = &command_line[0]; |
@@ -837,11 +826,6 @@ void __init setup_arch(char **cmdline_p) | |||
837 | #endif | 826 | #endif |
838 | #endif | 827 | #endif |
839 | 828 | ||
840 | #ifdef CONFIG_BLK_DEV_BLKMEM | ||
841 | ROOT_DEV = MKDEV(BLKMEM_MAJOR,0); | ||
842 | #endif | ||
843 | /*rom_length = (unsigned long)&_flashend - (unsigned long)&_romvec;*/ | ||
844 | |||
845 | #ifdef CONFIG_MMU | 829 | #ifdef CONFIG_MMU |
846 | setup_linux_memory(); | 830 | setup_linux_memory(); |
847 | #else | 831 | #else |