diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-30 08:48:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-30 09:44:28 +0100 |
commit | b6ef4f7b0bc353a3f4e59d2861056bd2fc3b43f5 (patch) | |
tree | 418c616296e0c10f3d0fe92a7dc0b3a01ea79e0e /arch/arm/mach-omap | |
parent | d804ae2a602c9b192ee6d709af0cb7b4b8c3cd74 (diff) | |
download | barebox-b6ef4f7b0bc353a3f4e59d2861056bd2fc3b43f5.tar.gz barebox-b6ef4f7b0bc353a3f4e59d2861056bd2fc3b43f5.tar.xz |
ARM: am33xx: bbu: Make pointers to image const
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-omap')
-rw-r--r-- | arch/arm/mach-omap/am33xx_bbu_spi_mlo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c b/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c index 69a73ffb06..03477dbaf1 100644 --- a/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c +++ b/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c @@ -32,8 +32,8 @@ static int spi_nor_mlo_handler(struct bbu_handler *handler, int ret = 0; uint32_t readbuf; int size = data->len; - void *image = data->image; - uint32_t *header; + const void *image = data->image; + const uint32_t *header; int swap = 0; struct stat s; |