summaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/bootblock
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/baytrail/bootblock')
-rw-r--r--src/soc/intel/baytrail/bootblock/bootblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/baytrail/bootblock/bootblock.c b/src/soc/intel/baytrail/bootblock/bootblock.c
index 0f3980cefb..62f42cd4d6 100644
--- a/src/soc/intel/baytrail/bootblock/bootblock.c
+++ b/src/soc/intel/baytrail/bootblock/bootblock.c
@@ -58,8 +58,8 @@ static void program_base_addresses(void)
static void spi_init(void)
{
- u32 *scs = (u32 *)(SPI_BASE_ADDRESS + SCS);
- u32 *bcr = (u32 *)(SPI_BASE_ADDRESS + BCR);
+ void *scs = (void *)(SPI_BASE_ADDRESS + SCS);
+ void *bcr = (void *)(SPI_BASE_ADDRESS + BCR);
uint32_t reg;
/* Disable generating SMI when setting WPD bit. */