summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/agesa/hudson/sata.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2015-07-30 16:23:50 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-10-30 18:23:52 +0100
commit772029fe7321e0ddea11711b6756a32f19572db4 (patch)
tree6d5c6e6b6618be6f6b8a58543c3b63cfa7b78a60 /src/southbridge/amd/agesa/hudson/sata.c
parent0390cc6b3ad43710b6b412d5a7a3b489aa43f861 (diff)
downloadcoreboot-772029fe7321e0ddea11711b6756a32f19572db4.tar.xz
More Hudson 64bit fixes
Change-Id: I2a6cd7ad27cb6d16dfe3267ea6fb844a5e2e20c6 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/11083 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/southbridge/amd/agesa/hudson/sata.c')
-rw-r--r--src/southbridge/amd/agesa/hudson/sata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/agesa/hudson/sata.c b/src/southbridge/amd/agesa/hudson/sata.c
index 00c2a07ee6..c5dc19649b 100644
--- a/src/southbridge/amd/agesa/hudson/sata.c
+++ b/src/southbridge/amd/agesa/hudson/sata.c
@@ -41,7 +41,7 @@ static void sata_init(struct device *dev)
#define CFG_CAP_SPM (1<<12)
volatile u32 *ahci_ptr =
- (u32*)(pci_read_config32(dev, AHCI_BASE_ADDRESS_REG) & 0xFFFFFF00);
+ (u32*)(uintptr_t)(pci_read_config32(dev, AHCI_BASE_ADDRESS_REG) & 0xFFFFFF00);
u32 temp;
/* unlock the write-protect */