summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/sb700/sb700.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-19 12:37:54 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-21 20:00:52 +0000
commitf29a6898ec10459e49c9380b9b342e6ee633a6ce (patch)
tree9773f705f0fdcd6885ea19ec7eaf5078a82047d6 /src/southbridge/amd/sb700/sb700.h
parent7f55810cf0e4d415cc71d7c58094040e49e14a37 (diff)
downloadcoreboot-f29a6898ec10459e49c9380b9b342e6ee633a6ce.tar.xz
sb/amd/sb700: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I53acc7dd4ddf2787fc1e59d604cadc4f3b4cb49c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26406 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge/amd/sb700/sb700.h')
-rw-r--r--src/southbridge/amd/sb700/sb700.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/southbridge/amd/sb700/sb700.h b/src/southbridge/amd/sb700/sb700.h
index 6b34502b37..73c0b3740b 100644
--- a/src/southbridge/amd/sb700/sb700.h
+++ b/src/southbridge/amd/sb700/sb700.h
@@ -43,7 +43,8 @@ extern u8 pm_ioread(u8 reg);
extern void pm2_iowrite(u8 reg, u8 value);
extern u8 pm2_ioread(u8 reg);
#ifndef __SIMPLE_DEVICE__
-extern void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val);
+extern void set_sm_enable_bits(struct device *sm_dev, u32 reg_pos, u32 mask,
+ u32 val);
#endif
#define REV_SB700_A11 0x11
@@ -59,7 +60,7 @@ extern void set_sm_enable_bits(device_t sm_dev, u32 reg_pos, u32 mask, u32 val);
#define get_sb700_revision(sm_dev) (pci_read_config8((sm_dev), 0x08) - 0x28)
#ifndef __SIMPLE_DEVICE__
-void sb7xx_51xx_enable(device_t dev);
+void sb7xx_51xx_enable(struct device *dev);
#endif
#ifdef __PRE_RAM__