diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-25 12:16:45 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-04 09:18:19 +0000 |
commit | e7f4beca19d538c47208b8a1b984cf0e39ff02b4 (patch) | |
tree | 6f99594749044b57adab43d342ea6d1201144585 /src/soc/imgtec/pistachio | |
parent | f9ae70652141e27d9e39c3fab26c14b0d1fd9212 (diff) | |
download | coreboot-e7f4beca19d538c47208b8a1b984cf0e39ff02b4.tar.xz |
soc/imgtec/pistachio: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Ia36b4ef7d66c50a044bc51f452ac8b7c7ff14323
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26540
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/imgtec/pistachio')
-rw-r--r-- | src/soc/imgtec/pistachio/soc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/imgtec/pistachio/soc.c b/src/soc/imgtec/pistachio/soc.c index 948a906624..156d1dea47 100644 --- a/src/soc/imgtec/pistachio/soc.c +++ b/src/soc/imgtec/pistachio/soc.c @@ -17,13 +17,13 @@ #include <device/device.h> #include <symbols.h> -static void soc_read_resources(device_t dev) +static void soc_read_resources(struct device *dev) { ram_resource(dev, 0, (uintptr_t)_dram / KiB, (CONFIG_DRAM_SIZE_MB * MiB) / KiB); } -static void soc_init(device_t dev) +static void soc_init(struct device *dev) { printk(BIOS_INFO, "CPU: Imgtec Pistachio\n"); } @@ -33,7 +33,7 @@ static struct device_operations soc_ops = { .init = soc_init, }; -static void enable_soc_dev(device_t dev) +static void enable_soc_dev(struct device *dev) { dev->ops = &soc_ops; } |