the dump function assumed that the mbi data comes right after the header.

Which is not (always) the case.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5441 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-04-15 08:26:30 +00:00 committed by Stefan Reinauer
parent 075fbe8201
commit c30a6e859e
1 changed files with 2 additions and 1 deletions

View File

@ -262,7 +262,8 @@ static void mbi_call(u8 subf, banner_id_t *banner_id)
getobj->banner.retsts = MSH_OK;
#ifdef DEBUG_SMI_I82830
dump(banner_id, sizeof(getobj) + len);
dump(banner_id, sizeof(getobj));
dump(getobj->buffer + OBJ_OFFSET, len);
#endif
break;
}