summaryrefslogtreecommitdiff
path: root/board/mpl/mip405/mip405.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-05-16 12:14:56 +0200
committerWolfgang Denk <wd@denx.de>2009-07-19 01:05:51 +0200
commit28c345042eafc550a34b9f52431bd4a22af6ac25 (patch)
treee9a15fdec851b9d01b53d41c239c531976403d82 /board/mpl/mip405/mip405.c
parent7e3be7cf3bb344f717b6ec3d47a081269ea67ead (diff)
downloadu-boot-imx-28c345042eafc550a34b9f52431bd4a22af6ac25.zip
u-boot-imx-28c345042eafc550a34b9f52431bd4a22af6ac25.tar.gz
u-boot-imx-28c345042eafc550a34b9f52431bd4a22af6ac25.tar.bz2
mpl: printing current stdio devices cleanup
Currently the mpl boards duplicate the code to print the current devices from common/console.c; use stdio_print_current_devices() instead Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Edited commit message. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/mpl/mip405/mip405.c')
-rw-r--r--board/mpl/mip405/mip405.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/mpl/mip405/mip405.c b/board/mpl/mip405/mip405.c
index 5eb90e5..24caa46 100644
--- a/board/mpl/mip405/mip405.c
+++ b/board/mpl/mip405/mip405.c
@@ -68,6 +68,7 @@
#include <4xx_i2c.h>
#include <miiphy.h>
#include "../common/common_util.h"
+#include <stdio_dev.h>
#include <i2c.h>
#include <rtc.h>
@@ -735,7 +736,7 @@ int last_stage_init (void)
printf ("Error writing to the PHY\n");
}
print_mip405_rev ();
- show_stdio_dev ();
+ stdio_print_current_devices ();
check_env ();
/* check if RTC time is valid */
stop=get_timer(start);