summaryrefslogtreecommitdiffstats
path: root/src/cold-flash.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2014-05-10 22:39:47 +0200
committerPali Rohár <pali.rohar@gmail.com>2014-05-10 22:39:47 +0200
commitf898ac441112fd93001e6ad46890ed13fb6b3da2 (patch)
tree6e7aa83f07525ed3015ae87a5a8b01eedbbe78df /src/cold-flash.c
parentc6ee6a8e682078e1ab0aac9d57f2ab869dada0e1 (diff)
download0xFFFF-f898ac441112fd93001e6ad46890ed13fb6b3da2.tar.bz2
all: Fix typo0.6
Diffstat (limited to 'src/cold-flash.c')
-rw-r--r--src/cold-flash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cold-flash.c b/src/cold-flash.c
index 77c393d..6441187 100644
--- a/src/cold-flash.c
+++ b/src/cold-flash.c
@@ -80,7 +80,7 @@ static uint32_t crc32(unsigned char * bytes, size_t size, uint32_t crc) {
}
/* Omap Boot Messages */
-/* See spruf98v.pdf (page 3444): OMAP35x Technical Reference Manual - 25.4.5 Periheral Booting */
+/* See spruf98v.pdf (page 3444): OMAP35x Technical Reference Manual - 25.4.5 Peripheral Booting */
/* Omap Peripheral boot message */
static const uint32_t omap_peripheral_msg = 0xF0030002;
@@ -282,7 +282,7 @@ static int ping_timeout(usb_dev_handle * udev) {
printf("Sending X-Loader ping message\n");
ret = usb_bulk_write(udev, WRITE_DEV, (char *)&ping_msg, sizeof(ping_msg), WRITE_TIMEOUT);
if ( ret != sizeof(ping_msg) )
- ERROR_RETURN("Sending X-Loader ping message faild", -1);
+ ERROR_RETURN("Sending X-Loader ping message failed", -1);
printf("Waiting for X-Loader pong response...\n");
while ( try_read > 0 ) {
@@ -303,7 +303,7 @@ static int ping_timeout(usb_dev_handle * udev) {
if ( pong )
break;
- printf("Responce timeout\n");
+ printf("Response timeout\n");
--try_ping;
}