summaryrefslogtreecommitdiff
path: root/drivers/mtd/spi/spi_spl_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/spi/spi_spl_load.c')
-rw-r--r--drivers/mtd/spi/spi_spl_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi/spi_spl_load.c b/drivers/mtd/spi/spi_spl_load.c
index 7c799ca..2935530 100644
--- a/drivers/mtd/spi/spi_spl_load.c
+++ b/drivers/mtd/spi/spi_spl_load.c
@@ -39,7 +39,7 @@ void spl_spi_load_image(void)
/* Load u-boot, mkimage header is 64 bytes. */
spi_flash_read(flash, CONFIG_SYS_SPI_U_BOOT_OFFS, 0x40,
- (void *) header);
+ (void *)header);
spl_parse_image_header(header);
spi_flash_read(flash, CONFIG_SYS_SPI_U_BOOT_OFFS,
spl_image.size, (void *)spl_image.load_addr);