coreboot-kgpe-d16/src/soc/intel/broadwell
Nico Huber 2f8ba69b0e Replace DEVICE_NOOP with noop_(set|read)_resources
`.read_resources` and `.set_resources` are the only two device
operations that are considered mandatory. Other function pointers
can be left NULL. Having dedicated no-op implementations for the
two mandatory fields should stop the leaking of no-op pointers to
other fields.

Change-Id: I6469a7568dc24317c95e238749d878e798b0a362
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40207
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-04-10 11:50:22 +00:00
..
acpi soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
bootblock soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
include/soc soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
romstage soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
acpi.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
adsp.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
chip.c Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
chip.h soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
cpu.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
cpu_info.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
ehci.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
elog.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
finalize.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
gpio.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
hda.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
igd.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
iobp.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
Kconfig soc/intel/broadwell: Drop old forked version of SMBUS support 2020-01-09 18:45:23 +00:00
lpc.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
Makefile.inc soc/intel/broadwell: Drop old forked version of SMBUS support 2020-01-09 18:45:23 +00:00
me.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
me_status.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
memmap.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
minihd.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
pch.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
pcie.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
pei_data.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
pmutil.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
ramstage.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
refcode.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
sata.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
serialio.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
smbus.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
smi.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
smihandler.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
smmrelocate.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
systemagent.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
tsc_freq.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
usb_debug.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00
xhci.c soc/intel/broadwell: Use SPDX for GPL-2.0-only files 2020-04-06 19:26:01 +00:00