WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / mach-s3c / onenand-core-s3c64xx.h
blobe2dfdd1fec930af7a842a8a544fe894bd36f116f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2010 Samsung Electronics
4 * Kyungmin Park <kyungmin.park@samsung.com>
5 * Marek Szyprowski <m.szyprowski@samsung.com>
7 * Samsung OneNAD Controller core functions
8 */
10 #ifndef __ASM_ARCH_ONENAND_CORE_S3C64XX_H
11 #define __ASM_ARCH_ONENAND_CORE_S3C64XX_H __FILE__
13 /* These functions are only for use with the core support code, such as
14 * the cpu specific initialisation code
17 /* re-define device name depending on support. */
18 static inline void s3c_onenand_setname(char *name)
20 #ifdef CONFIG_S3C_DEV_ONENAND
21 s3c_device_onenand.name = name;
22 #endif
25 static inline void s3c64xx_onenand1_setname(char *name)
27 #ifdef CONFIG_S3C64XX_DEV_ONENAND1
28 s3c64xx_device_onenand1.name = name;
29 #endif
32 #endif /* __ASM_ARCH_ONENAND_CORE_S3C64XX_H */