summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8721f/superio.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-04-21 17:34:38 +1000
committerPatrick Georgi <patrick@georgi-clan.de>2014-04-26 12:57:04 +0200
commit03ad2a26b07909a5c34a1ade30f905ae3de5b8a0 (patch)
treea169d5835c8a61dedaf98b53f0d49c730b3eec82 /src/superio/ite/it8721f/superio.c
parent392de45ae2d9550c3b95078bff7a52c9e5eed563 (diff)
superio/ite/it8721f: Rewrite from hardcoded base addr
Rewrite early_serial.c implementation to honour a passed base address in device_t, removing any hard coding of values. We also expose early sio init functions as romstage symbols to avoid falsely #including "early_serial.c" in romstage.c of board support. Change-Id: I521b8f7cf85173345b90745c6f2ab66e25429f5d Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5561 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/superio/ite/it8721f/superio.c')
-rw-r--r--src/superio/ite/it8721f/superio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/superio/ite/it8721f/superio.c b/src/superio/ite/it8721f/superio.c
index 27eab4905d..300a480e60 100644
--- a/src/superio/ite/it8721f/superio.c
+++ b/src/superio/ite/it8721f/superio.c
@@ -67,8 +67,7 @@ static struct pnp_info pnp_dev_info[] = {
static void enable_dev(struct device *dev)
{
- pnp_enable_devices(dev, &pnp_ops,
- ARRAY_SIZE(pnp_dev_info), pnp_dev_info);
+ pnp_enable_devices(dev, &pnp_ops, ARRAY_SIZE(pnp_dev_info), pnp_dev_info);
}
struct chip_operations superio_ite_it8721f_ops = {