summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2013-04-09 21:06:07 +0000
committerStefano Babic <sbabic@denx.de>2013-04-22 10:22:22 +0200
commit0499218dbcc30532bcc1b7b2ee44b8876675bced (patch)
tree0c20b24f785e2015eeb166cee12395a309103af9 /drivers/mtd
parent57ca432fb9f59cea48d8cde1dc1d5cc2f80993c7 (diff)
downloadu-boot-imx-0499218dbcc30532bcc1b7b2ee44b8876675bced.zip
u-boot-imx-0499218dbcc30532bcc1b7b2ee44b8876675bced.tar.gz
u-boot-imx-0499218dbcc30532bcc1b7b2ee44b8876675bced.tar.bz2
imx: Move some header files from arch-mxs to imx-common
The following headers are moved to a i.MX common location: - regs-common.h - regs-apbh.h - regs-bch.h - regs-gpmi.h - dma.h This way this header can be re-used also by other i.MX platforms. For example the i.MX6 which will need it for the upcoming NAND support. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Stefano Babic <sbabic@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/mxs_nand.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c
index e38e151..c21fd69 100644
--- a/drivers/mtd/nand/mxs_nand.c
+++ b/drivers/mtd/nand/mxs_nand.c
@@ -34,8 +34,10 @@
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/imx-regs.h>
+#include <asm/imx-common/regs-bch.h>
+#include <asm/imx-common/regs-gpmi.h>
#include <asm/arch/sys_proto.h>
-#include <asm/arch/dma.h>
+#include <asm/imx-common/dma.h>
#define MXS_NAND_DMA_DESCRIPTOR_COUNT 4