aboutsummaryrefslogtreecommitdiff
path: root/src/soc/amd/stoneyridge/include
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-05-22 10:52:05 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-23 09:56:59 +0000
commit777ccd43961c002baebd52d986f5e49b0d7bc7f8 (patch)
tree3042c3cb2c4c5663b2e6c5fe5b10c9915abe4844 /src/soc/amd/stoneyridge/include
parent532001ae73529d23878021129484c5bc3f24fed5 (diff)
soc/amd/stoneyridge/: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I84fbc90b2a81fe5476d659716f0d6e4f0d7e1de2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26458 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'src/soc/amd/stoneyridge/include')
-rw-r--r--src/soc/amd/stoneyridge/include/soc/acpi.h4
-rw-r--r--src/soc/amd/stoneyridge/include/soc/northbridge.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/soc/amd/stoneyridge/include/soc/acpi.h b/src/soc/amd/stoneyridge/include/soc/acpi.h
index 69ab599509..3212ec7cf7 100644
--- a/src/soc/amd/stoneyridge/include/soc/acpi.h
+++ b/src/soc/amd/stoneyridge/include/soc/acpi.h
@@ -30,10 +30,10 @@
#define FADT_PM_PROFILE PM_UNSPECIFIED
#endif
-unsigned long southbridge_write_acpi_tables(device_t device,
+unsigned long southbridge_write_acpi_tables(struct device *device,
unsigned long current, struct acpi_rsdp *rsdp);
-void southbridge_inject_dsdt(device_t device);
+void southbridge_inject_dsdt(struct device *device);
const char *soc_acpi_name(const struct device *dev);
diff --git a/src/soc/amd/stoneyridge/include/soc/northbridge.h b/src/soc/amd/stoneyridge/include/soc/northbridge.h
index 365a9f5eef..666be10e1e 100644
--- a/src/soc/amd/stoneyridge/include/soc/northbridge.h
+++ b/src/soc/amd/stoneyridge/include/soc/northbridge.h
@@ -107,9 +107,9 @@ void smm_region_info(void **start, size_t *size);
* 0 on success, < 0 on failure.
*/
int smm_subregion(int sub, void **start, size_t *size);
-void domain_enable_resources(device_t dev);
-void domain_read_resources(device_t dev);
-void domain_set_resources(device_t dev);
+void domain_enable_resources(struct device *dev);
+void domain_read_resources(struct device *dev);
+void domain_set_resources(struct device *dev);
void fam15_finalize(void *chip_info);
void setup_uma_memory(void);
uint32_t nb_ioapic_read(unsigned int index);