summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-06-03 16:22:20 -0700
committerFelix Held <felix-coreboot@felixheld.de>2020-06-05 14:08:06 +0000
commit466374924ccfc3c1306ca030b62d1de5ba3a1fba (patch)
treeed3b87d66fe8a0efbef1b75d9753419ea239c4ff /src/soc/amd/common
parent1929b571ce0a00edde8250d7794a3fbfaa7a9309 (diff)
downloadcoreboot-466374924ccfc3c1306ca030b62d1de5ba3a1fba.tar.xz
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>
Diffstat (limited to 'src/soc/amd/common')
0 files changed, 0 insertions, 0 deletions