Various Super I/O fixes and corrections.

- VIA VT1211:
   - Add missing LDNs and respective code to handle them.
   - Add some TODOs for other stuff that needs fixing.
   - Use VT1211_SP1 instead of hardcoding the LDN number (2).
   - Fixup pnp_dev_info[] as per datasheet, but some TODOs remain.
   - Various coding style fixes and changes to u8/u16/etc.
 
 - Serverengines Pilot: Various coding style fixes and changes to u8/u16/etc.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6030 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2010-11-06 23:36:49 +00:00
parent 9915944b18
commit 8c02368e2d
8 changed files with 116 additions and 104 deletions

View File

@@ -44,15 +44,14 @@ static void m3885x_init(device_t dev)
m3885_configure_multikey();
}
static void m3885x_read_resources(device_t dev)
{
// nothing, but this function avoids an error on serial console.
/* Nothing, but this function avoids an error on serial console. */
}
static void m3885x_enable_resources(device_t dev)
{
// nothing, but this function avoids an error on serial console.
/* Nothing, but this function avoids an error on serial console. */
}
static struct device_operations ops = {
@@ -74,5 +73,3 @@ struct chip_operations superio_renesas_m3885x_ops = {
CHIP_NAME("Renesas M3885x Super I/O")
.enable_dev = enable_dev,
};