soc/amd/common/block/smbus: always return SMBus MMIO in get_sm_mmio
commit8199b88222f9657c8afeeff10199da0c4d1b6bbd
authorFelix Held <felix-coreboot@felixheld.de>
Mon, 4 Jan 2021 23:03:20 +0000 (5 00:03 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 22 Jan 2021 14:24:55 +0000 (22 14:24 +0000)
tree68aec4c229d9ce21dd43ed45d667230053b87511
parentfc7b41d370fa02cc97ae0e13dddf65e76dcf46b2
soc/amd/common/block/smbus: always return SMBus MMIO in get_sm_mmio

The old code was broken and register 0x90 didn't even exist any more in
the config space of the SMBus PCI device, so just always return the MMIO
base address of the SMBus controller. As far as I've seen, no board in
tree uses this functionality at the moment.

Change-Id: Ib80d5c928da6022427afb8ccc969fb2aac953c2d
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reported-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49121
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/soc/amd/common/block/smbus/sm.c