tpm_regs: clean up debug messages

Some debug messages were a bit ambiguous, and some just wrong, this
patch fixes the wrong one and disambiguates the other two.

BRANCH=none
BUG=none
TEST=observed the new generated message.

Change-Id: I2b58ec050816ecdfe4b20dd8410910569767830d
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/340536
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
diff --git a/common/tpm_registers.c b/common/tpm_registers.c
index fa32180..e5d3b6e 100644
--- a/common/tpm_registers.c
+++ b/common/tpm_registers.c
@@ -177,8 +177,8 @@
 		break;
 
 	default:
-		CPRINTF("%s: attempt to set access reg to 0x%02x\n",
-			__func__, data);
+		CPRINTF("%s: attempt to set access reg to an unsupported value"
+			" of 0x%02x\n", __func__, data);
 		break;
 	}
 }
@@ -251,8 +251,8 @@
 
 	/* By definition only one bit can be set at a time. */
 	if (!single_bit_set(value)) {
-		CPRINTF("%s: attempt to set acces reg to %02x\n",
-			__func__, data);
+		CPRINTF("%s: attempt to set status reg to %02x\n",
+			__func__, value);
 		return;
 	}
 
@@ -333,7 +333,7 @@
 	uint32_t idata;
 
 	memcpy(&idata, data, 4);
-	CPRINTF("%s(0x%06x, %d %x)\n", __func__, regaddr, data_size, idata);
+	CPRINTF("%s(0x%03x, %d %x)\n", __func__, regaddr, data_size, idata);
 
 	switch (regaddr) {
 	case TPM_ACCESS: