summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
Diffstat (limited to 'board')
-rw-r--r--board/sacsng/sacsng.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/sacsng/sacsng.c b/board/sacsng/sacsng.c
index 09f59a0f0d..536d7de0e0 100644
--- a/board/sacsng/sacsng.c
+++ b/board/sacsng/sacsng.c
@@ -177,7 +177,6 @@ phys_size_t initdram(int board_type)
uint sdam;
uint bsma;
uint sda10;
- u_char spd_size;
u_char data;
u_char cksum;
int j;
@@ -192,7 +191,6 @@ phys_size_t initdram(int board_type)
* Read the SDRAM SPD EEPROM via I2C.
*/
i2c_read(SDRAM_SPD_ADDR, 0, 1, &data, 1);
- spd_size = data;
cksum = data;
for (j = 1; j < 64; j++) { /* read only the checksummed bytes */
/* note: the I2C address autoincrements when alen == 0 */