From: Matthias Fuchs Date: Thu, 8 Mar 2007 15:26:52 +0000 (+0100) Subject: [PATCH] I2C: add some more SPD eeprom decoding for DDR2 modules X-Git-Tag: v1.3.0-rc1~141^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=650a330dd2539130c8c324791e2f9f75aed79d4e;p=oweals%2Fu-boot.git [PATCH] I2C: add some more SPD eeprom decoding for DDR2 modules Signed-off-by: Matthias Fuchs --- diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 888969bc62..34571ee73b 100644 --- a/common/cmd_i2c.c +++ b/common/cmd_i2c.c @@ -701,6 +701,7 @@ int do_sdram ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) switch(data[2]) { case 2: puts ("EDO\n"); break; case 4: puts ("SDRAM\n"); break; + case 8: puts ("DDR2\n"); break; default: puts ("unknown\n"); break; } puts ("Row address bits "); @@ -722,6 +723,7 @@ int do_sdram ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) case 2: puts ("HSTL 1.5\n"); break; case 3: puts ("SSTL 3.3\n"); break; case 4: puts ("SSTL 2.5\n"); break; + case 5: puts ("SSTL 1.8\n"); break; default: puts ("unknown\n"); break; } printf("SDRAM cycle time %d.%d nS\n",