include/device/device.h: Duplicate '*_pnp_devfn_t' typedefs

'pci_devfn_t' and 'pnp_devfn_t' are already defined in arch/io.h

Change-Id: I006182bf6933fae21fe6671659b76e7031e74b71
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
superio: Use 'pnp_devfn_t' over 'device_t' in romstage component

The romstage component of Super I/O support is in fact written around
passing a lower and upper half packed integer. We currently have two
typedef's for this, 'device_t' and 'pnp_devfn_t'. We wish to make use of
'pnp_devfn_t' over 'device_t' as 'device_t' changes it's typedef in the
ramstage context and so is really a conflicting definition. This helps
solve problems down the road to having the 'real' 'device_t' definition
usable in romstage later.

Change-Id: Ia9f238ebb944f9fe7b274621ee0c09a6de288a76
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
device_romstage: Add a way to find tdev struct from port/dev no.

NOTFORMERGE

When trying to loop through all the devices in romstage, there was
no function to translate a PnP port and device number to the
corresponding device structure.

Change-Id: I73bd396a5247077aa09e01c0f22510a8b2777ab8
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
superio/fintek: Move Super I/O ramstage bits into romstage

NOTFORMERGE

Change-Id: If9bae82020e68e53208859c915a6fca5b5942378
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
device: Move pnp_device allocator down from ram to romstage

...TODO

  /\_/\
=( °w° )=
  )   (  //
 (__ __)//

Change-Id: Ia0de681537975ec1c66806302a61c24074100198
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>