diff options
Diffstat (limited to 'drivers/mtd/nand/denali.h')
-rw-r--r-- | drivers/mtd/nand/denali.h | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/drivers/mtd/nand/denali.h b/drivers/mtd/nand/denali.h index 966817462421..145bf88930e8 100644 --- a/drivers/mtd/nand/denali.h +++ b/drivers/mtd/nand/denali.h | |||
@@ -17,6 +17,9 @@ | |||
17 | * | 17 | * |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #ifndef __DENALI_H__ | ||
21 | #define __DENALI_H__ | ||
22 | |||
20 | #include <linux/mtd/nand.h> | 23 | #include <linux/mtd/nand.h> |
21 | 24 | ||
22 | #define DEVICE_RESET 0x0 | 25 | #define DEVICE_RESET 0x0 |
@@ -400,28 +403,6 @@ | |||
400 | #define ONFI_BLOOM_TIME 1 | 403 | #define ONFI_BLOOM_TIME 1 |
401 | #define MODE5_WORKAROUND 0 | 404 | #define MODE5_WORKAROUND 0 |
402 | 405 | ||
403 | /* lld_nand.h */ | ||
404 | /* | ||
405 | * NAND Flash Controller Device Driver | ||
406 | * Copyright (c) 2009, Intel Corporation and its suppliers. | ||
407 | * | ||
408 | * This program is free software; you can redistribute it and/or modify it | ||
409 | * under the terms and conditions of the GNU General Public License, | ||
410 | * version 2, as published by the Free Software Foundation. | ||
411 | * | ||
412 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
413 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
414 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
415 | * more details. | ||
416 | * | ||
417 | * You should have received a copy of the GNU General Public License along with | ||
418 | * this program; if not, write to the Free Software Foundation, Inc., | ||
419 | * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
420 | * | ||
421 | */ | ||
422 | |||
423 | #ifndef _LLD_NAND_ | ||
424 | #define _LLD_NAND_ | ||
425 | 406 | ||
426 | #define MODE_00 0x00000000 | 407 | #define MODE_00 0x00000000 |
427 | #define MODE_01 0x04000000 | 408 | #define MODE_01 0x04000000 |
@@ -499,4 +480,4 @@ struct denali_nand_info { | |||
499 | extern int denali_init(struct denali_nand_info *denali); | 480 | extern int denali_init(struct denali_nand_info *denali); |
500 | extern void denali_remove(struct denali_nand_info *denali); | 481 | extern void denali_remove(struct denali_nand_info *denali); |
501 | 482 | ||
502 | #endif /*_LLD_NAND_*/ | 483 | #endif /* __DENALI_H__ */ |