From f5a9d273ce7c57519de406b1a84dc71fc12674e6 Mon Sep 17 00:00:00 2001 From: Aaro Koskinen Date: Mon, 18 Feb 2013 00:52:24 +0200 Subject: cold-flash: correct chip/soc name RX-51/N900 has OMAP3430, and it seems this is what the ASIC ID field at offset 4 refers to. Fix the comment and printf. --- src/cold-flash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cold-flash.c') diff --git a/src/cold-flash.c b/src/cold-flash.c index 7b5d1fb..9467832 100644 --- a/src/cold-flash.c +++ b/src/cold-flash.c @@ -346,7 +346,7 @@ int init_cold_flash(struct usb_device_info * dev) { if ( memcmp(asic_buffer+1, "\x01\x05\x01", 3) != 0 ) ERROR_RETURN("Invalid ASIC ID", -1); - /* ID Subblock - OMAP chip version (check for OMAP35x) */ + /* ID Subblock - OMAP chip version (check for OMAP3430) */ if ( memcmp(asic_buffer+4, "\x34\x30\x07", 3) != 0 ) ERROR_RETURN("Invalid ASIC ID", -1); @@ -366,7 +366,7 @@ int init_cold_flash(struct usb_device_info * dev) { if ( memcmp(asic_buffer+58, "\x15\x09\x01", 3) != 0 ) ERROR_RETURN("Invalid ASIC ID", -1); - printf("Detected OMAP35x chip\n"); + printf("Detected OMAP3430 chip\n"); return 0; -- cgit v1.2.3