1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * Samsung CF-ATA platform_device info
9 #ifndef __ATA_SAMSUNG_CF_H
10 #define __ATA_SAMSUNG_CF_H __FILE__
13 * struct s3c_ide_platdata - S3C IDE driver platform data.
14 * @setup_gpio: Setup the external GPIO pins to the right state for data
15 * transfer in true-ide mode.
17 struct s3c_ide_platdata {
18 void (*setup_gpio)(void);
22 * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
23 * @pdata: Platform data for IDE driver.
25 extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
27 /* architecture-specific IDE configuration */
28 extern void s3c64xx_ide_setup_gpio(void);
29 extern void s5pv210_ide_setup_gpio(void);
31 #endif /*__ATA_SAMSUNG_CF_H */