diff options
author | Heiko Schocher <hs@denx.de> | 2015-02-06 09:31:36 +0100 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-02-16 15:48:34 -0500 |
commit | b9ea0c3a2076c3ef8c150d35aa31f2329ad9efef (patch) | |
tree | 372a25b1ab4df0f4f955661e2840a4f0b5192a7e | |
parent | 30d06bd2fd70c2e940324f88d06aaeb2a7b61efe (diff) | |
download | u-boot-imx-b9ea0c3a2076c3ef8c150d35aa31f2329ad9efef.zip u-boot-imx-b9ea0c3a2076c3ef8c150d35aa31f2329ad9efef.tar.gz u-boot-imx-b9ea0c3a2076c3ef8c150d35aa31f2329ad9efef.tar.bz2 |
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: Heiko Schocher <hs@denx.de>
-rw-r--r-- | common/spl/spl_nor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_nor.c b/common/spl/spl_nor.c index 2c0e8e0..c2fee01 100644 --- a/common/spl/spl_nor.c +++ b/common/spl/spl_nor.c @@ -17,7 +17,7 @@ void spl_nor_load_image(void) #ifdef CONFIG_SPL_OS_BOOT if (!spl_start_uboot()) { - struct image_header *header; + const struct image_header *header; /* * Load Linux from its location in NOR flash to its defined |