coreboot-kgpe-d16/src
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 src/acpi: Update license headers to SPDX 2020-01-02 14:49:00 +00:00
arch arch/x86/acpi: add definitions for IVHD type 11h 2020-04-06 09:33:01 +00:00
commonlib src/commonlib: Use SPDX for GPL-2.0-only files 2020-04-04 01:14:24 +00:00
console src/console: Use SPDX for GPL-2.0-only files 2020-04-04 01:14:11 +00:00
cpu src/cpu: Use SPDX for GPL-2.0-only files 2020-04-04 14:59:17 +00:00
device Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
drivers Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
ec Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
include Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
lib src/lib: Use SPDX for GPL-2.0-only files 2020-04-04 16:35:53 +00:00
mainboard Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
northbridge Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
security assert.h: Simplify dead_code() 2020-04-10 00:10:58 +00:00
soc Replace DEVICE_NOOP with noop_(set|read)_resources 2020-04-10 11:50:22 +00:00
southbridge Drop unnecessary DEVICE_NOOP entries 2020-04-10 11:25:04 +00:00
superio Drop unnecessary DEVICE_NOOP entries 2020-04-10 11:25:04 +00:00
vendorcode Drop unnecessary DEVICE_NOOP entries 2020-04-10 11:25:04 +00:00
Kconfig src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00