summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-05-09 15:15:08 +0000
committerStefan Reinauer <stepan@openbios.org>2010-05-09 15:15:08 +0000
commit29d3a92e15498da51f4bcdcd91cc5f79877673cd (patch)
tree4cbf0157487c4e8d48d85221748b389c25e4358c /src/northbridge/intel
parent14db1c0c6b7e88d20141dbf772a519390bbac25e (diff)
downloadcoreboot-29d3a92e15498da51f4bcdcd91cc5f79877673cd.tar.xz
i82830: fix debugging output and clarify bracketing
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5536 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/i82830/i82830_smihandler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/i82830/i82830_smihandler.c b/src/northbridge/intel/i82830/i82830_smihandler.c
index c9c7bcb27f..f20b099e9c 100644
--- a/src/northbridge/intel/i82830/i82830_smihandler.c
+++ b/src/northbridge/intel/i82830/i82830_smihandler.c
@@ -258,11 +258,11 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
if (getobj->objnum == count) {
printk(BIOS_DEBUG, "| |- len = %x\n", len);
memcpy((void *)(getobj->buffer + OBJ_OFFSET),
- ((char *)mbi_header) + 0x20 , (len > getobj->buflen ? getobj->buflen : len));
+ ((char *)mbi_header) + 0x20 , (len > getobj->buflen) ? getobj->buflen : len);
getobj->banner.retsts = MSH_OK;
#ifdef DEBUG_SMI_I82830
- dump(banner_id, sizeof(getobj));
+ dump(banner_id, sizeof(*getobj));
dump(getobj->buffer + OBJ_OFFSET, len);
#endif
break;