Skip to content
Snippets Groups Projects
Commit b25e38fc authored by Remy Bohmer's avatar Remy Bohmer Committed by Wolfgang Denk
Browse files

Repair build fail in case CONFIG_PPC=n and CONFIG_FIT=y


Signed-off-by: default avatarRemy Bohmer <linux@bohmer.net>
parent 41dfd8a6
No related branches found
No related tags found
No related merge requests found
...@@ -524,7 +524,7 @@ int do_bootm_subcommand (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ...@@ -524,7 +524,7 @@ int do_bootm_subcommand (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
} }
break; break;
#endif #endif
#ifdef CONFIG_OF_LIBFDT #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_SYS_BOOTMAPSZ)
case BOOTM_STATE_FDT: case BOOTM_STATE_FDT:
{ {
ulong bootmap_base = getenv_bootm_low(); ulong bootmap_base = getenv_bootm_low();
......
...@@ -219,12 +219,10 @@ typedef struct bootm_headers { ...@@ -219,12 +219,10 @@ typedef struct bootm_headers {
const char *fit_uname_rd; /* init ramdisk subimage node unit name */ const char *fit_uname_rd; /* init ramdisk subimage node unit name */
int fit_noffset_rd; /* init ramdisk subimage node offset */ int fit_noffset_rd; /* init ramdisk subimage node offset */
#if defined(CONFIG_PPC)
void *fit_hdr_fdt; /* FDT blob FIT image header */ void *fit_hdr_fdt; /* FDT blob FIT image header */
const char *fit_uname_fdt; /* FDT blob subimage node unit name */ const char *fit_uname_fdt; /* FDT blob subimage node unit name */
int fit_noffset_fdt;/* FDT blob subimage node offset */ int fit_noffset_fdt;/* FDT blob subimage node offset */
#endif #endif
#endif
#ifndef USE_HOSTCC #ifndef USE_HOSTCC
image_info_t os; /* os image info */ image_info_t os; /* os image info */
......
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