Skip to content
Snippets Groups Projects
Commit b9ea0c3a authored by Heiko Schocher's avatar Heiko Schocher Committed by Tom Rini
Browse files

spl, spl_nor: fix compiler warning


executing "tools/buildman/buildman mpc5xx" drops this warning:

common/spl/spl_nor.c: In function 'spl_nor_load_image':
common/spl/spl_nor.c:26:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]

fix this.

Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
parent 30d06bd2
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ void spl_nor_load_image(void) ...@@ -17,7 +17,7 @@ void spl_nor_load_image(void)
#ifdef CONFIG_SPL_OS_BOOT #ifdef CONFIG_SPL_OS_BOOT
if (!spl_start_uboot()) { if (!spl_start_uboot()) {
struct image_header *header; const struct image_header *header;
/* /*
* Load Linux from its location in NOR flash to its defined * Load Linux from its location in NOR flash to its defined
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment