summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-26 10:12:15 +1100
committerNico Huber <nico.h@gmx.de>2014-11-05 14:41:47 +0100
commit9a817ef183177d4d9ce6fc37b26e00e147d29cd1 (patch)
treeac82e5076836ce20224b2e8babee9955138cf41e /src/southbridge/nvidia
parent169c0df6b8f07268e3bc49f35520df692705f5d8 (diff)
downloadcoreboot-9a817ef183177d4d9ce6fc37b26e00e147d29cd1.tar.xz
soutbridge/*/bootblock: Use pci_dev_t over device_t typedef
Change-Id: I693b09d588ed6d56177cf86c23497231623b69c0 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7193 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/southbridge/nvidia')
-rw-r--r--src/southbridge/nvidia/ck804/bootblock.c2
-rw-r--r--src/southbridge/nvidia/mcp55/bootblock.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/nvidia/ck804/bootblock.c b/src/southbridge/nvidia/ck804/bootblock.c
index e2f6bc022d..6e68404d64 100644
--- a/src/southbridge/nvidia/ck804/bootblock.c
+++ b/src/southbridge/nvidia/ck804/bootblock.c
@@ -29,7 +29,7 @@
static void ck804_enable_rom(void)
{
unsigned char byte;
- device_t addr;
+ pci_devfn_t addr;
/* Enable 4MB ROM access at 0xFFC00000 - 0xFFFFFFFF. */
/* Locate the ck804 LPC. */
diff --git a/src/southbridge/nvidia/mcp55/bootblock.c b/src/southbridge/nvidia/mcp55/bootblock.c
index 431c426d04..807c5a0d1a 100644
--- a/src/southbridge/nvidia/mcp55/bootblock.c
+++ b/src/southbridge/nvidia/mcp55/bootblock.c
@@ -29,7 +29,7 @@ static void mcp55_enable_rom(void)
{
u8 byte;
u16 word;
- device_t addr;
+ pci_devfn_t addr;
/* Enable 4MB ROM access at 0xFFC00000 - 0xFFFFFFFF. */
#if 0