Skip to content
Snippets Groups Projects
Commit 7adefb55 authored by York Sun's avatar York Sun
Browse files

drivers/fm: Fix compiling error if FW location is not defined


FMAN firmware can be in NOR flash, NAND flash, SPI flash, MMC or even
remote. In case none of them is defined, set it to null.

Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
parent d2ab4bbc
No related branches found
No related tags found
No related merge requests found
......@@ -396,6 +396,8 @@ int fm_init_common(int index, struct ccsr_fman *reg)
}
#elif defined(CONFIG_SYS_QE_FMAN_FW_IN_REMOTE)
void *addr = (void *)CONFIG_SYS_QE_FMAN_FW_ADDR;
#else
void *addr = NULL;
#endif
/* Upload the Fman microcode if it's present */
......
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