coreboot-kgpe-d16/src/soc/intel/apollolake
Angel Pons f585c6eeea soc/intel: Drop casts around soc_read_pmc_base()
The `soc_read_pmc_base()` function returns an `uintptr_t`, which is then
casted to a pointer type for use with `read32()` and/or `write32()`. But
since commit b324df6a54 (arch/x86: Provide
readXp/writeXp helpers in arch/mmio.h), the `read32p()` and `write32p()`
functions live in `arch/mmio.h`. These functions use the `uintptr_t type
for the address parameter instead of a pointer type, and using them with
the `soc_read_pmc_base()` function allows dropping the casts to pointer.

Change-Id: Iaf16e6f23d139e6f79360d9a29576406b7b15b07
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55840
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
2021-06-28 04:16:48 +00:00
..
acpi
bootblock
include/soc src: Drop "This file is part of the coreboot project" lines 2021-05-10 15:07:33 +00:00
acpi.c soc/intel: Drop casts around soc_read_pmc_base() 2021-06-28 04:16:48 +00:00
car.c
chip.c soc/intel/apollolake: Use devfn_disable() function 2021-06-21 10:38:26 +00:00
chip.h
cpu.c
cse.c
elog.c
glk_page_map.txt
gpio_apl.c
gpio_glk.c
graphics.c
gspi.c
heci.c
i2c.c
Kconfig soc/intel/cache_as_ram.S: Fix SOC_INTEL_APOLLOLAKE 2021-06-24 10:02:06 +00:00
lpc.c
Makefile.inc soc/intel/{apl,cnl}: Remove FSP CAR option 2021-06-22 13:15:39 +00:00
meminit.c
meminit_util_apl.c
meminit_util_glk.c
mmap_boot.c commonlib/region: Turn addrspace_32bit into a more official API 2021-04-21 02:06:26 +00:00
nhlt.c
pdpt.c
pmc.c soc/intel: Drop casts around soc_read_pmc_base() 2021-06-28 04:16:48 +00:00
pmutil.c soc/intel: Drop casts around soc_read_pmc_base() 2021-06-28 04:16:48 +00:00
pnpconfig.c
pt.c
report_platform.c
reset.c
romstage.c soc/intel/apollolake: Make use of is_devfn_enabled() function 2021-06-16 03:47:46 +00:00
sd.c
smihandler.c
spi.c
systemagent.c
uart.c
xdci.c soc/intel/apollolake: Drop xdci_can_enable() call 2021-06-25 06:28:11 +00:00
xhci.c