From 9139e7b7c55d34ae3c5e8b941db037a92d2ace54 Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Fri, 24 Sep 2010 17:35:32 +0000 Subject: Add support for HP DL165-G6 with Fam10 CPU. Original patch was Signed-off-by: Arne Georg Gleditsch Updates to accomodate changes in coreboot are Signed-off-by: Patrick Georgi Acked-by: Marc Jones git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5831 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/superio/serverengines/pilot/pilot_early_init.c | 29 +++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'src/superio/serverengines/pilot') diff --git a/src/superio/serverengines/pilot/pilot_early_init.c b/src/superio/serverengines/pilot/pilot_early_init.c index 08aa5a7624..f5444ac4f5 100644 --- a/src/superio/serverengines/pilot/pilot_early_init.c +++ b/src/superio/serverengines/pilot/pilot_early_init.c @@ -37,6 +37,16 @@ static void pilot_early_init(device_t dev) pilot_disable_serial(PNP_DEV(port, 0x1)); print_debug("disable serial 1\n"); + pnp_enter_ext_func_mode(dev); + pnp_set_logical_device(PNP_DEV(port, 0x3)); + pnp_set_enable(dev, 0); + pnp_set_iobase(dev, 0x60, 0x0b00); + pnp_set_iobase(dev, 0x62, 0x0b80); + pnp_set_iobase(dev, 0x64, 0x0b84); + pnp_set_iobase(dev, 0x66, 0x0b86); + pnp_set_enable(dev, 1); + pnp_exit_ext_func_mode(dev); + /* pnp_enter_ext_func_mode(dev); pnp_set_logical_device(PNP_DEV(port, 0x3)); @@ -58,14 +68,27 @@ static void pilot_early_init(device_t dev) pnp_enter_ext_func_mode(dev); pnp_set_enable(PNP_DEV(port, 0x5), 0); pnp_exit_ext_func_mode(dev); -/* + pnp_enter_ext_func_mode(dev); pnp_set_logical_device(PNP_DEV(port, 0x6)); + pnp_set_enable(dev, 0); + pnp_set_iobase(dev, PNP_IDX_IO0, 0x60); + pnp_set_iobase(dev, PNP_IDX_IO1, 0x64); + pnp_set_irq(dev, PNP_IDX_IRQ0, 1); + pnp_set_drq(dev, 0x71, 3); + pnp_set_enable(dev, 0); pnp_exit_ext_func_mode(dev); + pnp_enter_ext_func_mode(dev); - pnp_set_enable( PNP_DEV(port, 0x6), 0); + pnp_set_logical_device(PNP_DEV(port, 0xe)); + pnp_set_enable(dev, 0); + pnp_set_iobase(dev, PNP_IDX_IO0, 0x70); + pnp_set_iobase(dev, PNP_IDX_IO1, 0x72); + pnp_set_irq(dev, PNP_IDX_IRQ0, 8); + pnp_set_drq(dev, 0x71, 3); + pnp_set_enable(dev, 0); pnp_exit_ext_func_mode(dev); -*/ + pnp_enter_ext_func_mode(dev); pnp_set_logical_device(PNP_DEV(port, 0x7)); pnp_exit_ext_func_mode(dev); -- cgit v1.2.3