* Use 1-byte-read instead of -write for iprobe() function
  Add i2c commands to PM826 config

* extend I2C POST code: check for list on known addresses
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 2cf625d..e138d78b 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -366,6 +366,7 @@
 	}
 
 #ifdef CONFIG_LOGBUFFER
+	kbd=gd->bd;
 	/* Prevent initrd from overwriting logbuffer */
 	if (initrd_high < (kbd->bi_memsize-LOGBUFF_LEN-LOGBUFF_OVERHEAD))
 		initrd_high = kbd->bi_memsize-LOGBUFF_LEN-LOGBUFF_OVERHEAD;