List Info

Thread: dbailey: u-boot/trunk r855 - /u-boot/trunk/u-boot_1.1.3/board/s800i/




dbailey: u-boot/trunk r855 - /u-boot/trunk/u-boot_1.1.3/board/s800i/
user name
2008-04-24 15:40:28
Author: dbailey
Date: Thu Apr 24 15:40:27 2008
New Revision: 855

URL: 
http://svn.digium.com/view/aadk?view=rev&rev=855
Log:
add test fields to the manufacturing eeprom

Modified:
    u-boot/trunk/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.h
    u-boot/trunk/u-boot_1.1.3/board/s800i/i2c_cfg.c

Modified:
u-boot/trunk/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.h
URL: http://svn.digium.com/view/aadk/u-boot/tru
nk/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.h?view=diff&r
ev=855&r1=854&r2=855
============================================================
==================
--- u-boot/trunk/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.h
(original)
+++ u-boot/trunk/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.h
Thu Apr 24 15:40:27 2008
 -18,6
+18,8 
 	DIGCMD_MFG_DATE,
 	DIGCMD_MFG_VENDOR,
 	DIGCMD_CAPABILITY_CODE,
+	DIGCMD_MFG_TEST_RESULT,
+	DIGCMD_MFG_TEST_COUNT,
 	DIGCMD_CRC,
 	DIGCMD_NULL
 };

Modified: u-boot/trunk/u-boot_1.1.3/board/s800i/i2c_cfg.c
URL: http://svn.digium.com/view/aadk/u-boot/trunk/u-bo
ot_1.1.3/board/s800i/i2c_cfg.c?view=diff&rev=855&r1=
854&r2=855
============================================================
==================
--- u-boot/trunk/u-boot_1.1.3/board/s800i/i2c_cfg.c
(original)
+++ u-boot/trunk/u-boot_1.1.3/board/s800i/i2c_cfg.c Thu Apr
24 15:40:27 2008
 -37,6
+37,8 
 	{ .state = DIGCMD_MFG_DATE, 		.offset =38, .size = 4},
 	{ .state = DIGCMD_MFG_VENDOR, 		.offset =42, .size = 4},
 	{ .state = DIGCMD_CAPABILITY_CODE, 	.offset =46, .size =
32},
+	{ .state = DIGCMD_MFG_TEST_RESULT,		.offset =78, .size =
1},
+	{ .state = DIGCMD_MFG_TEST_COUNT,		.offset =79, .size =
1},
 	{ .state = DIGCMD_CRC, 				.offset =CRC_LOC,.size = 4},
 	{ .state = DIGCMD_NULL, 			.offset =0,  .size =
I2C_PROM_SIZE}
 };
 -227,9
+229,19 
 				disp_buffer[curr_field->size] = '';
 				printf("Capability=%sn", disp_buffer);
 				break;
+
+			case DIGCMD_MFG_TEST_RESULT:
+				printf("Test result=%sn", 1 ==
prom_image[curr_field->offset] ? "pass" :
"fail");
+				break;
+				
+			case DIGCMD_MFG_TEST_COUNT:
+				printf("Test count=%dn",
prom_image[curr_field->offset]);
+				break;
+				
 			case DIGCMD_CRC:
 				break;
-			default: 
+				
+			default:
 				printf("INTERNAL ERROR:  Unrecognised data entry
fieldn");
 				break;	
 		}


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

aadk-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/aadk-commits

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )