summaryrefslogtreecommitdiff
path: root/src/mainboard/pcengines
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/pcengines')
-rw-r--r--src/mainboard/pcengines/apu1/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/pcengines/apu1/mainboard.c b/src/mainboard/pcengines/apu1/mainboard.c
index 45d326a818..7e3ef08b48 100644
--- a/src/mainboard/pcengines/apu1/mainboard.c
+++ b/src/mainboard/pcengines/apu1/mainboard.c
@@ -301,7 +301,7 @@ const char *smbios_mainboard_serial_number(void)
return serial;
/* Read in the last 3 bytes of NIC's MAC address. */
- bar18 = pci_read_config32(dev, 0x18);
+ bar18 = pci_read_config32(dev, PCI_BASE_ADDRESS_2);
bar18 &= 0xFFFFFFF0;
for (i = 3; i < 6; i++) {
mac_addr <<= 8;