Add support for the LPC47M182 to superiotool
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Joseph Smith <joe@settoplinux.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3990 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
34b1d4ef37
commit
6df0c62b68
@@ -157,6 +157,20 @@ void dump_superio(const char *vendor,
|
||||
}
|
||||
}
|
||||
|
||||
void dump_io(uint16_t iobase, uint16_t length)
|
||||
{
|
||||
uint16_t i;
|
||||
|
||||
printf("Dumping %d IO mapped registers at base 0x%04x:\n",
|
||||
length, iobase);
|
||||
for (i=0; i<length; i++)
|
||||
printf ("%02x ", i);
|
||||
printf("\n");
|
||||
for (i=0; i<length; i++)
|
||||
printf ("%02x ", INB(iobase +i));
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
void probing_for(const char *vendor, const char *info, uint16_t port)
|
||||
{
|
||||
if (!verbose)
|
||||
|
Reference in New Issue
Block a user