[U-Boot] [PATCH] board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include

20 Dec
2013
20 Dec
'13
10:34 p.m.
Signed-off-by: Ezequiel Garcia ezequiel.garcia@free-electrons.com --- board/altera/nios2-generic/nios2-generic.c | 2 ++ 1 file changed, 2 insertions(+)
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>
--
1.8.1.5

14 Jan
14 Jan
10:01 p.m.
New subject: [U-Boot] board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include
On Fri, Dec 20, 2013 at 06:34:53PM -0300, Ezequiel Garcia wrote:
Signed-off-by: Ezequiel Garcia ezequiel.garcia@free-electrons.com
Applied to u-boot/master, thanks!
--
Tom
4131
Age (days ago)
4156
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ezequiel Garcia
-
Tom Rini