Kukjin Kim | f8eed6c | 2015-07-30 02:00:35 +0900 | [diff] [blame] | 1 | /* |
Atul Dahiya | ef3f2dd | 2010-10-18 19:56:45 +0900 | [diff] [blame] | 2 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
| 3 | * http://www.samsung.com/ |
| 4 | * |
| 5 | * S3C - Nand Controller core functions |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License version 2 as |
| 9 | * published by the Free Software Foundation. |
| 10 | */ |
| 11 | |
| 12 | #ifndef __ASM_ARCH_NAND_CORE_H |
| 13 | #define __ASM_ARCH_NAND_CORE_H __FILE__ |
| 14 | |
| 15 | /* These functions are only for use with the core support code, such as |
| 16 | * the cpu specific initialisation code |
| 17 | */ |
| 18 | |
| 19 | /* re-define device name depending on support. */ |
| 20 | static inline void s3c_nand_setname(char *name) |
| 21 | { |
| 22 | #ifdef CONFIG_S3C_DEV_NAND |
| 23 | s3c_device_nand.name = name; |
| 24 | #endif |
| 25 | } |
| 26 | |
| 27 | #endif /* __ASM_ARCH_NAND_CORE_H */ |