aboutsummaryrefslogtreecommitdiff
path: root/src/soc/mediatek/common/mtcmos.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-08-09 19:20:15 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-15 14:44:20 +0000
commit6e039076ab106a11ec9f82ef2f8250b20f1a885e (patch)
treecddedee84c8e33801996a599023d6f06f5db1aca /src/soc/mediatek/common/mtcmos.c
parent702365e18621617bf5892c77b9db94fde859068f (diff)
soc/amd/common/lpc: use fixed_io_range_flags instead of open coding
Instead of open coding the same functionality, use fixed_io_range_flags to tell the resource allocator about the FCH subtractively decoding the first 0x1000 bytes of I/O space. Also update the comment to match the code. TEST=On Mandolin the flags of this resource stay the same (0xc0040100). Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ia30a87a4e37c98248568476b74af2730a3c0e88d Reviewed-on: https://review.coreboot.org/c/coreboot/+/77170 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/common/mtcmos.c')
0 files changed, 0 insertions, 0 deletions