summaryrefslogtreecommitdiff
path: root/common/cmd_boot.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-04-08 23:25:21 +0000
committerwdenk <wdenk>2003-04-08 23:25:21 +0000
commit60fbe254243ec461ec73da13132be098db33d3fa (patch)
treeaf82977065ec5f1fdea17bd1056395005d652d24 /common/cmd_boot.c
parent3e38691e8f7aa0d9b498d76c7279ddec6e4946f3 (diff)
downloadu-boot-imx-60fbe254243ec461ec73da13132be098db33d3fa.zip
u-boot-imx-60fbe254243ec461ec73da13132be098db33d3fa.tar.gz
u-boot-imx-60fbe254243ec461ec73da13132be098db33d3fa.tar.bz2
Prepare for 0.3.0 release
* Add support for Purple Board (MIPS64 5Kc) * Add support for MIPS64 5Kc CPUs
Diffstat (limited to 'common/cmd_boot.c')
-rw-r--r--common/cmd_boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_boot.c b/common/cmd_boot.c
index 09f3f78..2fc0729 100644
--- a/common/cmd_boot.c
+++ b/common/cmd_boot.c
@@ -1000,14 +1000,14 @@ static int k_recv (void)
for (;;) {
switch (serial_getc ()) {
case START_CHAR: /* start packet */
- break;
+ goto START;
case ETX_CHAR: /* ^C waiting for packet */
return (0);
default:
;
}
}
-
+START:
/* get length of packet */
sum = 0;
new_char = serial_getc ();