Add support for non LDN register/device naming.
Signed-off-by: Anders Juel Jensen <andersjjensen@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5726 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
280275dcb5
commit
4fd7df9535
|
@ -105,7 +105,10 @@ static void dump_regs(const struct superio_registers reg_table[],
|
|||
printf(" (%s)", reg_table[i].ldn[j].name);
|
||||
regwrite(port, ldn_sel, reg_table[i].ldn[j].ldn);
|
||||
} else {
|
||||
printf("Register dump:");
|
||||
if (reg_table[i].ldn[j].name == NULL)
|
||||
printf("Register dump:");
|
||||
else
|
||||
printf("(%s)", reg_table[i].ldn[j].name);
|
||||
}
|
||||
|
||||
idx = reg_table[i].ldn[j].idx;
|
||||
|
|
Loading…
Reference in New Issue