1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * Copyright (c) 2010 Samsung Electronics Co., Ltd. 4*4882a593Smuzhiyun * http://www.samsung.com 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * Samsung CF-ATA Controller core functions 7*4882a593Smuzhiyun */ 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun #ifndef __ASM_PLAT_ATA_CORE_S3C64XX_H 10*4882a593Smuzhiyun #define __ASM_PLAT_ATA_CORE_S3C64XX_H __FILE__ 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun /* These functions are only for use with the core support code, such as 13*4882a593Smuzhiyun * the cpu specific initialisation code 14*4882a593Smuzhiyun */ 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun /* re-define device name depending on support. */ s3c_cfcon_setname(char * name)17*4882a593Smuzhiyunstatic inline void s3c_cfcon_setname(char *name) 18*4882a593Smuzhiyun { 19*4882a593Smuzhiyun #ifdef CONFIG_SAMSUNG_DEV_IDE 20*4882a593Smuzhiyun s3c_device_cfcon.name = name; 21*4882a593Smuzhiyun #endif 22*4882a593Smuzhiyun } 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun #endif /* __ASM_PLAT_ATA_CORE_S3C64XX_H */ 25