aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb600/sb600.h
diff options
context:
space:
mode:
authorAntonello Dettori <dev@dettori.io>2016-09-03 10:45:33 +0200
committerMartin Roth <martinroth@google.com>2016-09-13 17:18:45 +0200
commitc6557d0807ddf616ceb84954639e39b840f2243a (patch)
treea67079d4f1f6a2fcbc60730e8ef7d1a176bd8f97 /src/southbridge/amd/sb600/sb600.h
parentad62eddeb0de54654fe4ff42211cc74d519bd959 (diff)
southbridge/amd/sb600: transition away from device_t
Replace the use of the old device_t definition inside southbridge/amd/sb600. Change-Id: I0227cc0c611324f513f8170c9d8819a88af39b39 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16478 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/amd/sb600/sb600.h')
-rw-r--r--src/southbridge/amd/sb600/sb600.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb600/sb600.h b/src/southbridge/amd/sb600/sb600.h
index 5c1111adc4..94ee861536 100644
--- a/src/southbridge/amd/sb600/sb600.h
+++ b/src/southbridge/amd/sb600/sb600.h
@@ -34,9 +34,11 @@ extern void pm_iowrite(u8 reg, u8 value);
extern u8 pm_ioread(u8 reg);
extern void pm2_iowrite(u8 reg, u8 value);
extern u8 pm2_ioread(u8 reg);
-extern void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val);
+#ifndef __SIMPLE_DEVICE__
+extern void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val);
void sb600_enable(device_t dev);
+#endif
void sb600_lpc_port80(void);
void sb600_pci_port80(void);