mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
mtd: atmel_nand: add missing include
using this driver in SPL code with CONFIG_SPL_NAND_ECC configured leads in an compileerror. Fix this. Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Andreas Bießmann <andreas.devel@googlemail.com> Reviewed-by: Bo Shen <voice.shen@atmel.com> [fix subject] Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
This commit is contained in:
parent
0c3117b1f7
commit
c1ec406282
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <nand.h>
|
#include <nand.h>
|
||||||
#include <watchdog.h>
|
#include <watchdog.h>
|
||||||
|
#include <linux/mtd/nand_ecc.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ATMEL_NAND_HWECC
|
#ifdef CONFIG_ATMEL_NAND_HWECC
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue