diff options
author | Marek Vasut <marex@denx.de> | 2012-09-12 20:15:06 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:53:50 -0700 |
commit | 425101e115946f29287c51b2ea2c3527978645aa (patch) | |
tree | e750e272ec716c20287e4e16737e7be5b5b9b575 /common/cmd_fdos.c | |
parent | 5ae1de0d491f7558487f90870d3506c783fee755 (diff) | |
download | u-boot-imx-425101e115946f29287c51b2ea2c3527978645aa.zip u-boot-imx-425101e115946f29287c51b2ea2c3527978645aa.tar.gz u-boot-imx-425101e115946f29287c51b2ea2c3527978645aa.tar.bz2 |
serial: zoom2: Remove zoom2 serial prototypes from serial.h
Remove the prototypes for zoom2_serial_deviceN from serial.h . This
can't be done right away, as they are referenced from the zoom2
config file. Therefore, adjust the code so the config file only
specifies number of the port. Then, replace the simple return in
default_serial_console() with a switch across possible values, which
returns the zoom2_serial_deviceN . With such adjustment in place,
the exported prototypes in serial.h can be safely removed.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'common/cmd_fdos.c')
0 files changed, 0 insertions, 0 deletions