diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2006-10-24 23:08:10 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2006-10-24 23:08:10 +0000 |
commit | 3d6107410848dbdbb0aebb58d889dd0afa4cfcd9 (patch) | |
tree | 97ec6a99b4e3313aef4eed983b81145d24e70f2b /src/superio/nsc/pc87351/pc87351_early_serial.c | |
parent | d86417bfa379de85ba7a52ba626bbdfbed389438 (diff) |
Rename src/superio/NSC to src/superio/nsc.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2473 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/nsc/pc87351/pc87351_early_serial.c')
-rw-r--r-- | src/superio/nsc/pc87351/pc87351_early_serial.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/superio/nsc/pc87351/pc87351_early_serial.c b/src/superio/nsc/pc87351/pc87351_early_serial.c new file mode 100644 index 0000000000..7ec361e853 --- /dev/null +++ b/src/superio/nsc/pc87351/pc87351_early_serial.c @@ -0,0 +1,10 @@ +#include <arch/romcc_io.h> +#include "pc87351.h" + +static void pc87351_enable_serial(device_t dev, unsigned iobase) +{ + pnp_set_logical_device(dev); + pnp_set_enable(dev, 0); + pnp_set_iobase(dev, PNP_IDX_IO0, iobase); + pnp_set_enable(dev, 1); +} |