Re: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure

2013-08-30 Thread Liu Shengzhou-B36685
-Original Message- From: Timur Tabi [mailto:ti...@tabi.org] Sent: Thursday, August 29, 2013 11:09 PM To: Liu Shengzhou-B36685 Cc: U-Boot Mailing List; sun york-R58495 Subject: Re: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure Actually, the 23

Re: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure

2013-08-30 Thread Timur Tabi
On 08/30/2013 06:04 AM, Liu Shengzhou-B36685 wrote: Actually, the 23 should be changed to 31. York, this patch needs to be applied: http://patchwork.ozlabs.org/patch/170753/ According to AN3638, it should be 30 rather than 31 for 256-bytes EEPROM. Are you talking about the C struct?

Re: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure

2013-08-29 Thread Liu Shengzhou-B36685
-Original Message- From: Timur Tabi [mailto:ti...@tabi.org] Sent: Monday, August 12, 2013 7:51 AM To: Liu Shengzhou-B36685 Cc: U-Boot Mailing List; sun york-R58495 Subject: Re: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure On Thu, Aug 8, 2013 at 5

Re: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure

2013-08-29 Thread Timur Tabi
On 08/29/2013 04:56 AM, Liu Shengzhou-B36685 wrote: If the EEPROM is 128 bytes, then you have a non-conformant EEPROM. What is a conformant EEPROM? A conformant EEPROM has a size of 256 bytes . The size of struct of EEPROM_NXID should be able to conform to real size of EEPROM, regardless

Re: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure

2013-08-11 Thread Timur Tabi
On Thu, Aug 8, 2013 at 5:14 AM, Shengzhou Liu shengzhou@freescale.com wrote: On some boards, the size of EEPROM is 128 Bytes instead of 256. so we set default MAX_NUM_PORTS to 9 rather than previous 23 to avoid the programming failure, we can define MAX_NUM_PORTS in board-specific header

[U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure

2013-08-08 Thread Shengzhou Liu
On some boards, the size of EEPROM is 128 Bytes instead of 256. so we set default MAX_NUM_PORTS to 9 rather than previous 23 to avoid the programming failure, we can define MAX_NUM_PORTS in board-specific header file to overwrite the default value. Signed-off-by: Shengzhou Liu