From 6f01f4307c993c60813ea332174ca23c2bc269e8 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 5 Dec 2018 10:56:30 +0100 Subject: soc/intel: Get rid of device_t Use of device_t is deprecated. Change-Id: Ic29891d78514db3b7eed48414a14e4ff579436c0 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/30004 Reviewed-by: David Guckian Reviewed-by: Subrata Banik Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/soc/intel/apollolake/memmap.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/soc/intel/apollolake') diff --git a/src/soc/intel/apollolake/memmap.c b/src/soc/intel/apollolake/memmap.c index 6d68501162..be15e165ec 100644 --- a/src/soc/intel/apollolake/memmap.c +++ b/src/soc/intel/apollolake/memmap.c @@ -15,14 +15,6 @@ * GNU General Public License for more details. */ -/* - * The device_t returned by dev_find_slot() is different than the device_t - * passed to pci_write_config32(). If one needs to get access to the config.h - * of a device and perform i/o things are incorrect. One is a pointer while - * the other is a 32-bit integer. - */ -#define __SIMPLE_DEVICE__ - #include #include #include -- cgit v1.2.3