diff options
author | Khoronzhuk, Ivan <ivan.khoronzhuk@ti.com> | 2014-06-07 04:22:52 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 17:53:58 -0400 |
commit | 3e01ed00da98a29fe2b71c6d60309d5b09adc0de (patch) | |
tree | c5f3baf0116e22ae4ba0a3ecc26095efc3905c02 /arch/arm/include/asm/arch-keystone/nand_defs.h | |
parent | 99907176a05d3282c66f9925f0a656621c1f9b09 (diff) |
mtd: nand: davinci: add header file for driver definitions
The definitions inside emif_defs.h concern davinci nand driver and
should be in it's header. So create header file for davinci nand
driver and move definitions from emif_defs.h and nand_defs.h to it.
Acked-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
[trini: Fixup more davinci breakage]
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-keystone/nand_defs.h')
-rw-r--r-- | arch/arm/include/asm/arch-keystone/nand_defs.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/include/asm/arch-keystone/nand_defs.h b/arch/arm/include/asm/arch-keystone/nand_defs.h deleted file mode 100644 index 58417dbc0b..0000000000 --- a/arch/arm/include/asm/arch-keystone/nand_defs.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * nand driver definitions to re-use davinci nand driver on Keystone2 - * - * (C) Copyright 2012-2014 - * Texas Instruments Incorporated, <www.ti.com> - * (C) Copyright 2007 Sergey Kubushyn <ksi@koi8.net> - * - * SPDX-License-Identifier: GPL-2.0+ - */ -#ifndef _NAND_DEFS_H_ -#define _NAND_DEFS_H_ - -#include <asm/arch/hardware.h> -#include <linux/mtd/nand.h> - -#define MASK_CLE 0x4000 -#define MASK_ALE 0x2000 - -#define NAND_READ_START 0x00 -#define NAND_READ_END 0x30 -#define NAND_STATUS 0x70 - -#endif |