amd/common/block/spi/fch_spi_ctrl: use uintptr_t for addresses

This fixes a build failure when trying to build the code in 64 bit mode.

TEST=Timeless build for Chausie results in identical image.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: If8fe7b626d9d72c0b8ed07ced93e46f795e36848
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62052
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aamir Bohra <aamirbohra@gmail.com>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
Felix Held 2022-02-16 16:00:19 +01:00
parent ffc8532869
commit 79313528cd
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ enum spi_dump_state_phase {
static void dump_state(enum spi_dump_state_phase phase)
{
u8 dump_size;
u32 addr;
uintptr_t addr;
if (!CONFIG(SOC_AMD_COMMON_BLOCK_SPI_DEBUG))
return;