diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-27 17:58:57 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-04 02:33:54 +0000 |
commit | 15a487a57666a7eb42d33f41e4a235efe67439d8 (patch) | |
tree | aca64f438b9aa7f15837d39a314cf63e80837785 /src/soc/intel/fsp_broadwell_de/northcluster.c | |
parent | 509edac717d608d94f8c343fc3de16310c020dac (diff) | |
download | coreboot-15a487a57666a7eb42d33f41e4a235efe67439d8.tar.xz |
soc/intel/fsp_broadwell_de: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I68c455d4bc524c2dd2d3ba87ab6641e70c78521c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26589
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/fsp_broadwell_de/northcluster.c')
-rw-r--r-- | src/soc/intel/fsp_broadwell_de/northcluster.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/fsp_broadwell_de/northcluster.c b/src/soc/intel/fsp_broadwell_de/northcluster.c index c15ff5f2fe..709037022b 100644 --- a/src/soc/intel/fsp_broadwell_de/northcluster.c +++ b/src/soc/intel/fsp_broadwell_de/northcluster.c @@ -56,7 +56,7 @@ static int add_fixed_resources(struct device *dev, int index) return index; } -static void mc_add_dram_resources(device_t dev) +static void mc_add_dram_resources(struct device *dev) { u32 fsp_mem_base, fsp_mem_len; u32 tseg_base, tseg_length; @@ -120,7 +120,7 @@ static void mc_add_dram_resources(device_t dev) index = add_fixed_resources(dev, index); } -static void nc_read_resources(device_t dev) +static void nc_read_resources(struct device *dev) { /* Call the normal read_resources */ pci_dev_read_resources(dev); @@ -129,7 +129,7 @@ static void nc_read_resources(device_t dev) mc_add_dram_resources(dev); } -static void nc_enable(device_t dev) +static void nc_enable(struct device *dev) { print_fsp_info(); } |