summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/image.c b/common/image.c
index 103e0e6e75..342b315918 100644
--- a/common/image.c
+++ b/common/image.c
@@ -797,7 +797,9 @@ int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images,
ulong rd_addr, rd_load;
ulong rd_data, rd_len;
const image_header_t *rd_hdr;
+#ifdef CONFIG_SUPPORT_RAW_INITRD
char *end;
+#endif
#if defined(CONFIG_FIT)
void *fit_hdr;
const char *fit_uname_config = NULL;