diff options
author | Antonello Dettori <dev@dettori.io> | 2016-09-01 16:50:42 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 17:23:50 +0200 |
commit | 8d7181ddd16c06e484c74b0df4431e5557631b07 (patch) | |
tree | 4447a35889a4802b47b08359681505340479d440 /src/southbridge/amd/agesa/hudson/hudson.h | |
parent | 5ea2cadfff2055932a16339521be098dae510261 (diff) | |
download | coreboot-8d7181ddd16c06e484c74b0df4431e5557631b07.tar.xz |
southbridge/amd/agesa/hudson: transition away from device_t
Replace the use of the old device_t definition inside
southbridge/amd/agesa/hudson.
The patch has been tested both with the arch/io.h definition of device_t
enabled and disabled in order to ensure compatibility while the
transaction takes place.
Change-Id: I39cd2afe5e2b6ee3963fd3e949eab1db9e986d71
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16401
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/amd/agesa/hudson/hudson.h')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/hudson.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/agesa/hudson/hudson.h b/src/southbridge/amd/agesa/hudson/hudson.h index 92058c6791..d870845055 100644 --- a/src/southbridge/amd/agesa/hudson/hudson.h +++ b/src/southbridge/amd/agesa/hudson/hudson.h @@ -70,7 +70,7 @@ u8 pm_read8(u8 reg); void pm_write16(u8 reg, u16 value); u16 pm_read16(u16 reg); -#ifdef __PRE_RAM__ +#ifdef __SIMPLE_DEVICE__ void hudson_lpc_port80(void); void hudson_pci_port80(void); void hudson_clk_output_48Mhz(void); |