diff options
author | Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com> | 2013-08-04 01:22:24 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-08-13 08:38:29 +0200 |
commit | 32749e91aa31338882c02d3499c1376e7e794b82 (patch) | |
tree | b7cd3db553131d3ac438d4639cb3669e9e32710b /drivers/serial | |
parent | d62a89bd5b5033649a90fa5bfe0f5b32013ca8f8 (diff) | |
download | u-boot-imx-32749e91aa31338882c02d3499c1376e7e794b82.zip u-boot-imx-32749e91aa31338882c02d3499c1376e7e794b82.tar.gz u-boot-imx-32749e91aa31338882c02d3499c1376e7e794b82.tar.bz2 |
serial: arm_dcc: Remove stdio structure support
Removed stdio structure ops support on arm_dcc
driver, and need to register with serial core
so-that it can access like remianing serial drivers.
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/arm_dcc.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/serial/arm_dcc.c b/drivers/serial/arm_dcc.c index c217c88..e76c038 100644 --- a/drivers/serial/arm_dcc.c +++ b/drivers/serial/arm_dcc.c @@ -27,7 +27,6 @@ */ #include <common.h> -#include <stdio_dev.h> #if defined(CONFIG_CPU_V6) /* @@ -138,21 +137,6 @@ int arm_dcc_tstc(void) return reg; } -static struct stdio_dev arm_dcc_dev; - -int drv_arm_dcc_init(void) -{ - strcpy(arm_dcc_dev.name, "dcc"); - arm_dcc_dev.ext = 0; /* No extensions */ - arm_dcc_dev.flags = DEV_FLAGS_INPUT | DEV_FLAGS_OUTPUT; - arm_dcc_dev.tstc = arm_dcc_tstc; /* 'tstc' function */ - arm_dcc_dev.getc = arm_dcc_getc; /* 'getc' function */ - arm_dcc_dev.putc = arm_dcc_putc; /* 'putc' function */ - arm_dcc_dev.puts = arm_dcc_puts; /* 'puts' function */ - - return stdio_register(&arm_dcc_dev); -} - __weak struct serial_device *default_serial_console(void) { return NULL; |