diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-04-29 02:50:05 +0200 |
---|---|---|
committer | Matt DeVillier <matt.devillier@amd.corp-partner.google.com> | 2023-05-03 16:17:17 +0000 |
commit | 6a41b99a4a0e62b13ad3cdc2f612ae17c6603fd4 (patch) | |
tree | cb9b25f0f222ba0d6e6806396df682f0cda4abd0 /src/ec/dell/mec5035 | |
parent | bd9db8d9e47835188cdd85369c0f25b2fa928142 (diff) |
soc/amd/common/block/lpc/lpc: drop custom lpc_set_resources
Drop the custom lpc_set_resources implementation that does some register
access that has no effect and then calls pci_dev_set_resources and use
pci_dev_set_resources for set_resources in amd_lpc_ops instead.
The SPI controller's base address got configured early in boot in the
lpc_set_spibase call and the enable bits got set early in boot in the
lpc_enable_spi_rom call.
TEST=The contents of the SPI_BASE_ADDRESS_REGISTER at the beginning and
at the end of the call stay the same, so it's simply a no-op.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I7a5e3e00b2e38eeb3e9dae6d6c83d11ef925ce22
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74848
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/ec/dell/mec5035')
0 files changed, 0 insertions, 0 deletions