summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/cmd_nand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index 8d115eb..c874e7c 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -20,6 +20,10 @@
#if (CONFIG_COMMANDS & CFG_CMD_NAND)
+#ifdef CONFIG_AT91RM9200DK
+#include <asm/arch/hardware.h>
+#endif
+
#include <linux/mtd/nand.h>
#include <linux/mtd/nand_ids.h>
#include <jffs2/jffs2.h>