coreboot-kgpe-d16/src/soc/intel/elkhartlake
Furquan Shaikh e4f7e04050 soc/intel: Drop dev parameter from soc_get_gen_io_dec_range()
This change drops the parameter `struct device *dev` from the function
`soc_get_gen_io_dec_range()`. This function uses the parameter dev to
get a pointer to config structure for extracting the decode ranges
configured by mainboard in device tree. However, there is no separate
chip driver for the LPC device which means that the SoC code can use
`config_of_soc()` to get to SoC chip config instead of using the LPC
device.

This change is being done in preparation to clean up the device
tree/chip config access in early stages that allows for optimizing
the inclusion of device tree elements in the early stages.

Change-Id: I3ea53ddc771f592dd0ea5e5e809be2d2eff7f16d
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49209
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
2021-01-08 08:23:59 +00:00
..
acpi soc/intel/common: Move gfx.asl to drivers/intel/gma 2020-12-30 16:35:21 +00:00
bootblock soc/intel/common/dmi: Move DMI defines into DMI driver header 2020-12-09 14:23:15 +00:00
include/soc soc/intel/elkhartlake: Update IRQ routing settings 2020-12-14 05:47:01 +00:00
romstage soc/intel/elkhartlake: Fix EHL mainboard build fail errors 2020-12-10 10:01:20 +00:00
acpi.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
chip.c soc/intel: hook up new gpio device in the soc chips 2020-12-30 00:30:04 +00:00
chip.h soc/intel/elkhartlake: Drop unreferenced devicetree settings 2020-12-14 08:18:22 +00:00
cpu.c soc/intel: deduplicate ACPI timer emulation 2020-10-28 21:28:19 +00:00
elog.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
espi.c soc/intel: Drop dev parameter from soc_get_gen_io_dec_range() 2021-01-08 08:23:59 +00:00
finalize.c src: Include <arch/io.h> when appropriate 2020-10-26 06:44:40 +00:00
fsp_params.c soc/intel/elkhartlake: Update SerialIO devices details 2020-12-14 05:46:21 +00:00
gpio.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
gspi.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
i2c.c soc/intel/elkhartlake: Update SerialIO devices details 2020-12-14 05:46:21 +00:00
Kconfig soc/intel/elkhartlake: Update Kconfig 2020-12-02 10:44:48 +00:00
lockdown.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
Makefile.inc soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
me.c soc/intel/elkhartlake: Update HECI Control Status Register settings 2020-12-14 05:46:13 +00:00
meminit.c mb/intel/ehlcrb: Add EHL CRB memory initialization support 2020-12-10 10:49:15 +00:00
p2sb.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
pmc.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
pmutil.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
reset.c soc/intel: Use of common reset code block 2020-11-02 10:43:53 +00:00
sd.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
smihandler.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
smmrelocate.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
spi.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
systemagent.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00
uart.c soc/intel/elkhartlake: Do initial SoC commit till ramstage 2020-09-08 05:29:37 +00:00