summaryrefslogtreecommitdiffstats
path: root/arch/h8300/kernel/setup.c
diff options
context:
space:
mode:
authorYoshinori Sato2015-11-21 13:42:58 +0100
committerYoshinori Sato2016-03-24 17:45:19 +0100
commit8cad489261c564d4ee1db4de4ac365af56807d8a (patch)
tree78dab251d974fcb5c5ab6ff6288170a8919cd2d2 /arch/h8300/kernel/setup.c
parenth8300: dts: Rename the serial port clock to fck (diff)
downloadkernel-qcow2-linux-8cad489261c564d4ee1db4de4ac365af56807d8a.tar.gz
kernel-qcow2-linux-8cad489261c564d4ee1db4de4ac365af56807d8a.tar.xz
kernel-qcow2-linux-8cad489261c564d4ee1db4de4ac365af56807d8a.zip
h8300: switch EARLYCON
earlyprintk is architecture specific option. earlycon is generic and small footprint. Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/kernel/setup.c')
-rw-r--r--arch/h8300/kernel/setup.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c
index e4985dfa91dc..c8c25a4e9e48 100644
--- a/arch/h8300/kernel/setup.c
+++ b/arch/h8300/kernel/setup.c
@@ -20,8 +20,6 @@
#include <linux/bootmem.h>
#include <linux/seq_file.h>
#include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
@@ -137,11 +135,6 @@ void __init setup_arch(char **cmdline_p)
parse_early_param();
bootmem_init();
-#if defined(CONFIG_H8300H_SIM) || defined(CONFIG_H8S_SIM)
- sim_console_register();
-#endif
-
- early_platform_driver_probe("earlyprintk", 1, 0);
/*
* get kmalloc into gear
*/