board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
This commit is contained in:
parent
c5cbe1e299
commit
a113fb39df
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user