coreboot-kgpe-d16/src/soc
Furquan Shaikh 466374924c soc/amd/picasso: Add set_mmio_dev_ops() to set ops for MMIO devices
This change adds a helper function set_mmio_dev_ops() in chip.c which
is used for setting the dev->ops for MMIO devices based on the
comparison of MMIO address in device tree to the pre-defined base
addresses in iomap.h.

Call to i2c_acpi_name() is replaced with set_mmio_dev_ops and scope of
i2c_acpi_name is restricted to i2c.c since it is not required to be
exposed out of that file.

Change-Id: I31f96cfe8267b0df37012baeb7cfcaec9c2280f6
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42067
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
2020-06-05 14:08:06 +00:00
..
amd soc/amd/picasso: Add set_mmio_dev_ops() to set ops for MMIO devices 2020-06-05 14:08:06 +00:00
cavium src: Remove redundant includes 2020-06-02 07:42:32 +00:00
intel soc/intel/xeon_sp/cpx: add chip operation and PCIe enumeration 2020-06-04 15:42:10 +00:00
mediatek src: Remove redundant includes 2020-06-02 07:42:32 +00:00
nvidia src: Remove redundant includes 2020-06-02 07:42:32 +00:00
qualcomm src: Remove unused '#include <timer.h>' 2020-06-02 07:39:05 +00:00
rockchip src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
samsung samsung/exynos5420: add resources during read_resources() 2020-05-14 21:27:34 +00:00
sifive soc/sifive/fu540: Add chip_operations stub 2020-05-28 09:30:51 +00:00
ucb soc/ucb/riscv: Add chip_operations stub 2020-05-28 09:30:35 +00:00