Email lists > AADK SVN repository > [aadk-commits] dbailey: branch u-boot/1.1 r854 - /u-boot/branches/1.1/u-boot_1.1.3/board/s800i/ > [aadk-commits] dbailey: branch u-boot/1.1 r854 - /u-boot/branches/1.1/u-boot_1.1.3/board/s800i/

[aadk-commits] dbailey: branch u-boot/1.1 r854 - /u-boot/branches/1.1/u-boot_1.1.3/board/s800i/




This post if a part of  this thread

2008-04-24 15:31:18
dbailey: branch u-boot/1.1 r854 - /u-boot/branches/1.1/u-boot_1.1.3/board/s800i/
Author: dbailey
Date: Thu Apr 24 15:31:17 2008
New Revision: 854

URL: 
http://svn.digium.com/view/aadk?view=rev&rev=854
Log:
Add test fields to mfg eeprom 

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

Modified:
u-boot/branches/1.1/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.
h
URL: http://svn.digium.com/view/aadk/u-b
oot/branches/1.1/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.h?v
iew=diff&rev=854&r1=853&r2=854
============================================================
==================
---
u-boot/branches/1.1/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.
h (original)
+++
u-boot/branches/1.1/u-boot_1.1.3/board/s800i/dig_i2c_eeprom.
h Thu Apr 24 15:31:17 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/branches/1.1/u-boot_1.1.3/board/s800i/i2c_cfg.c
URL: http://svn.digium.com/view/aadk/u-boot/bra
nches/1.1/u-boot_1.1.3/board/s800i/i2c_cfg.c?view=diff&r
ev=854&r1=853&r2=854
============================================================
==================
--- u-boot/branches/1.1/u-boot_1.1.3/board/s800i/i2c_cfg.c
(original)
+++ u-boot/branches/1.1/u-boot_1.1.3/board/s800i/i2c_cfg.c
Thu Apr 24 15:31:17 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

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