env_dataflash: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
@@ -18,9 +18,6 @@
|
||||
*
|
||||
*/
|
||||
#include <common.h>
|
||||
|
||||
#if defined(CONFIG_ENV_IS_IN_DATAFLASH) /* Environment is in DataFlash */
|
||||
|
||||
#include <command.h>
|
||||
#include <environment.h>
|
||||
#include <linux/stddef.h>
|
||||
@@ -100,5 +97,3 @@ int env_init(void)
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_ENV_IS_IN_DATAFLASH */
|
||||
|
||||
Reference in New Issue
Block a user