aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/fm/fm.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-05-12 07:59:12 -0400
committerTom Rini <trini@konsulko.com>2019-05-26 14:40:50 -0400
commitcc1e98b559e46630c3421a7762d02a58e5480926 (patch)
treec07bda8ca1c008af02824fb8fba63f5d5274fe14 /drivers/net/fm/fm.c
parent85e1900d9935b2b9fe02e0b3faba75e1695af172 (diff)
downloadu-boot-cc1e98b559e46630c3421a7762d02a58e5480926.zip
u-boot-cc1e98b559e46630c3421a7762d02a58e5480926.tar.gz
u-boot-cc1e98b559e46630c3421a7762d02a58e5480926.tar.bz2
configs: Migrate CONFIG_FMAN_ENET and some related options to Kconfig
Move the main symbol for Freescale Fman Ethernet controller option to Kconfig. Also migrate the CONFIG_SYS_QE_FMAN_FW_IN_xxx macros and rename the SPIFLASH one to follow the same format as all of the others. To do this fully we need to migrate CONFIG_QC, do so. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/net/fm/fm.c')
-rw-r--r--drivers/net/fm/fm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c
index e19d777..0a43dfe 100644
--- a/drivers/net/fm/fm.c
+++ b/drivers/net/fm/fm.c
@@ -459,7 +459,7 @@ int fm_init_common(int index, struct ccsr_fman *reg)
printf("NAND read of FMAN firmware at offset 0x%x failed %d\n",
CONFIG_SYS_FMAN_FW_ADDR, rc);
}
-#elif defined(CONFIG_SYS_QE_FW_IN_SPIFLASH)
+#elif defined(CONFIG_SYS_QE_FMAN_FW_IN_SPIFLASH)
struct spi_flash *ucode_flash;
void *addr = malloc(CONFIG_SYS_QE_FMAN_FW_LENGTH);
int ret = 0;