summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb800/sb800.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:19:12 +0200
commit66a02c1ef3d181f9d83bb6847f14e812ae1a0a8d (patch)
tree169145b839a987f8b37112b89942219cf348e981 /src/southbridge/amd/sb800/sb800.h
parent6cf441523a216cecea1eb535382fc86e5ad923f9 (diff)
downloadcoreboot-66a02c1ef3d181f9d83bb6847f14e812ae1a0a8d.tar.xz
southbridge/amd/sb800: transition away from device_t
Replace the use of the old device_t definition inside southbridge/amd/sb800. Change-Id: I488cde4504128331106f50b34869905e30f5ab83 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16480 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/amd/sb800/sb800.h')
-rw-r--r--src/southbridge/amd/sb800/sb800.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/southbridge/amd/sb800/sb800.h b/src/southbridge/amd/sb800/sb800.h
index 6a037cf4e8..b36d9bfad5 100644
--- a/src/southbridge/amd/sb800/sb800.h
+++ b/src/southbridge/amd/sb800/sb800.h
@@ -42,7 +42,10 @@ void pm_iowrite(u8 reg, u8 value);
u8 pm_ioread(u8 reg);
void pm2_iowrite(u8 reg, u8 value);
u8 pm2_ioread(u8 reg);
+
+#ifndef __SIMPLE_DEVICE__
void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val);
+#endif
#define REV_SB800_A11 0x11
#define REV_SB800_A12 0x12