mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
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: York Sun <yorksun@freescale.com>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user