From d1d37b5cab119096bb60c686eff7ea39cfebed25 Mon Sep 17 00:00:00 2001 From: Stephan Linz Date: Wed, 4 Jul 2012 22:25:31 +0200 Subject: [PATCH] microblaze: Wire up OF support for emaclite - expand the condition with CONFIG_OF_CONTROL Signed-off-by: Stephan Linz Acked-by: Simon Glass Signed-off-by: Michal Simek --- include/configs/microblaze-generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 486787e147..06b7e94184 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -71,7 +71,7 @@ /* ethernet */ #undef CONFIG_SYS_ENET -#if defined(XILINX_EMACLITE_BASEADDR) +#if defined(XILINX_EMACLITE_BASEADDR) || defined(CONFIG_OF_CONTROL) # define CONFIG_XILINX_EMACLITE 1 # define CONFIG_SYS_ENET #endif -- 2.30.2