diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-12-20 18:34:53 -0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-01-14 09:01:05 -0500 |
commit | a113fb39df43546c704aa8eba55720da9a9dfedd (patch) | |
tree | c64899522a5a261ef3bd75a891cacdafd1bfe776 /board | |
parent | c5cbe1e299b60063e43a9008e85df95c8006d28f (diff) | |
download | u-boot-imx-a113fb39df43546c704aa8eba55720da9a9dfedd.zip u-boot-imx-a113fb39df43546c704aa8eba55720da9a9dfedd.tar.gz u-boot-imx-a113fb39df43546c704aa8eba55720da9a9dfedd.tar.bz2 |
board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/altera/nios2-generic/nios2-generic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/altera/nios2-generic/nios2-generic.c b/board/altera/nios2-generic/nios2-generic.c index 5c5b1b9..aa126d7 100644 --- a/board/altera/nios2-generic/nios2-generic.c +++ b/board/altera/nios2-generic/nios2-generic.c @@ -8,7 +8,9 @@ #include <common.h> #include <netdev.h> +#if defined(CONFIG_CFI_FLASH_MTD) #include <mtd/cfi_flash.h> +#endif #include <asm/io.h> #include <asm/gpio.h> |