Commit 815fc8c06b57f283f942c6c25e3c58d6e4cb8fd7

Authored by Geert Uytterhoeven
Committed by Simon Horman
1 parent 26449ecc21

ARM: shmobile: Remove obsolete custom earlyprintk code

The last caller of shmobile_setup_console() was removed in commit
44d88c754e57a6d9 ("ARM: shmobile: Remove legacy SoC code for R-Mobile
A1").

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

Showing 3 changed files with 1 additions and 29 deletions Side-by-side Diff

arch/arm/mach-shmobile/Makefile
... ... @@ -3,7 +3,7 @@
3 3 #
4 4  
5 5 # Common objects
6   -obj-y := timer.o console.o
  6 +obj-y := timer.o
7 7  
8 8 # CPU objects
9 9 obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o
arch/arm/mach-shmobile/common.h
... ... @@ -4,7 +4,6 @@
4 4 extern void shmobile_earlytimer_init(void);
5 5 extern void shmobile_init_delay(void);
6 6 struct twd_local_timer;
7   -extern void shmobile_setup_console(void);
8 7 extern void shmobile_boot_vector(void);
9 8 extern unsigned long shmobile_boot_fn;
10 9 extern unsigned long shmobile_boot_arg;
arch/arm/mach-shmobile/console.c
1   -/*
2   - * SH-Mobile Console
3   - *
4   - * Copyright (C) 2010 Magnus Damm
5   - *
6   - * This program is free software; you can redistribute it and/or modify
7   - * it under the terms of the GNU General Public License as published by
8   - * the Free Software Foundation; version 2 of the License.
9   - *
10   - * This program is distributed in the hope that it will be useful,
11   - * but WITHOUT ANY WARRANTY; without even the implied warranty of
12   - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13   - * GNU General Public License for more details.
14   - */
15   -#include <linux/kernel.h>
16   -#include <linux/init.h>
17   -#include <linux/platform_device.h>
18   -#include <asm/mach/map.h>
19   -#include "common.h"
20   -
21   -void __init shmobile_setup_console(void)
22   -{
23   - parse_early_param();
24   -
25   - /* Let earlyprintk output early console messages */
26   - early_platform_driver_probe("earlyprintk", 1, 1);
27   -}