Skip to content
Snippets Groups Projects
Commit bf5a7710 authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD
Browse files

env_eeprom: Move conditional compilation to Makefile

parent bb1f8b4f
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ COBJS-y += cmd_nvedit.o ...@@ -51,7 +51,7 @@ COBJS-y += cmd_nvedit.o
COBJS-y += environment.o COBJS-y += environment.o
COBJS-y += env_common.o COBJS-y += env_common.o
COBJS-y += env_dataflash.o COBJS-y += env_dataflash.o
COBJS-y += env_eeprom.o COBJS-$(CONFIG_ENV_IS_IN_EEPROM) += env_eeprom.o
COBJS-y += env_flash.o COBJS-y += env_flash.o
COBJS-y += env_nand.o COBJS-y += env_nand.o
COBJS-y += env_nvram.o COBJS-y += env_nvram.o
......
...@@ -25,9 +25,6 @@ ...@@ -25,9 +25,6 @@
*/ */
#include <common.h> #include <common.h>
#if defined(CONFIG_ENV_IS_IN_EEPROM) /* Environment is in EEPROM */
#include <command.h> #include <command.h>
#include <environment.h> #include <environment.h>
#include <linux/stddef.h> #include <linux/stddef.h>
...@@ -106,5 +103,3 @@ int env_init(void) ...@@ -106,5 +103,3 @@ int env_init(void)
return (0); return (0);
} }
#endif /* CONFIG_ENV_IS_IN_EEPROM */
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