diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-02-08 13:38:21 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-30 09:23:47 +0000 |
commit | d2d8a31305d83dd6c068d51a7f002377f5b5a0a5 (patch) | |
tree | ba1fe06193436e28a5cbbe6c5f2ed2b81c98789b /src/cpu/amd/pi | |
parent | fc1b49691f3c1c509ff0b6fb9e569893e687b4ef (diff) | |
download | coreboot-d2d8a31305d83dd6c068d51a7f002377f5b5a0a5.tar.xz |
cpu/amd: Get rid of device_t
Use of `device_t` has been abandoned in ramstage.
Change-Id: I4b930a191130941c8349861cdd803a5be4219274
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/23653
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/amd/pi')
-rw-r--r-- | src/cpu/amd/pi/00630F01/model_15_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/pi/00660F01/model_15_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/pi/00730F01/model_16_init.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/amd/pi/00630F01/model_15_init.c b/src/cpu/amd/pi/00630F01/model_15_init.c index 5299dcad30..6c3e5942f4 100644 --- a/src/cpu/amd/pi/00630F01/model_15_init.c +++ b/src/cpu/amd/pi/00630F01/model_15_init.c @@ -31,7 +31,7 @@ #include <cpu/amd/amdfam15.h> #include <arch/acpi.h> -static void model_15_init(device_t dev) +static void model_15_init(struct device *dev) { printk(BIOS_DEBUG, "Model 15 Init.\n"); diff --git a/src/cpu/amd/pi/00660F01/model_15_init.c b/src/cpu/amd/pi/00660F01/model_15_init.c index abe20c33f1..8a8a0a7fc7 100644 --- a/src/cpu/amd/pi/00660F01/model_15_init.c +++ b/src/cpu/amd/pi/00660F01/model_15_init.c @@ -47,7 +47,7 @@ void PSPProgBar3Msr(void *Buffer) LibAmdMsrRead(0xC00110A2, &Tmp64, NULL); } -static void model_15_init(device_t dev) +static void model_15_init(struct device *dev) { printk(BIOS_DEBUG, "Model 15 Init.\n"); diff --git a/src/cpu/amd/pi/00730F01/model_16_init.c b/src/cpu/amd/pi/00730F01/model_16_init.c index e0eca94c97..25cb5dcad8 100644 --- a/src/cpu/amd/pi/00730F01/model_16_init.c +++ b/src/cpu/amd/pi/00730F01/model_16_init.c @@ -30,7 +30,7 @@ #include <cpu/amd/amdfam16.h> #include <arch/acpi.h> -static void model_16_init(device_t dev) +static void model_16_init(struct device *dev) { printk(BIOS_DEBUG, "Model 16 Init.\n"); |