mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
env_sf: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
0b5099a841
commit
2556ef7811
2 changed files with 1 additions and 6 deletions
|
@ -56,7 +56,7 @@ COBJS-y += env_flash.o
|
|||
COBJS-$(CONFIG_ENV_IS_IN_NAND) += env_nand.o
|
||||
COBJS-$(CONFIG_ENV_IS_IN_NVRAM) += env_nvram.o
|
||||
COBJS-$(CONFIG_ENV_IS_IN_ONENAND) += env_onenand.o
|
||||
COBJS-y += env_sf.o
|
||||
COBJS-$(CONFIG_ENV_IS_IN_SPI_FLASH) += env_sf.o
|
||||
COBJS-y += env_nowhere.o
|
||||
|
||||
# command
|
||||
|
|
|
@ -26,9 +26,6 @@
|
|||
* MA 02111-1307 USA
|
||||
*/
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
|
||||
#include <environment.h>
|
||||
#include <spi_flash.h>
|
||||
|
||||
|
@ -135,5 +132,3 @@ int env_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_ENV_IS_IN_SPI_FLASH */
|
||||
|
|
Loading…
Add table
Reference in a new issue