From 03ad2a26b07909a5c34a1ade30f905ae3de5b8a0 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Mon, 21 Apr 2014 17:34:38 +1000 Subject: superio/ite/it8721f: Rewrite from hardcoded base addr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/5561 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Kyösti Mälkki --- src/superio/ite/it8721f/superio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/superio/ite/it8721f/superio.c') 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 = { -- cgit v1.2.3