blob: 748e71642c4ae94b587c8861c277b14655595520 [file] [log] [blame]
Sachin Kamatb4418822014-02-17 09:11:53 +05301/*
Abhilash Kesavandb900052010-06-08 16:38:20 +09002 * Copyright (c) 2010 Samsung Electronics Co., Ltd.
3 * http://www.samsung.com
4 *
5 * Samsung CF-ATA platform_device info
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
Sachin Kamatb4418822014-02-17 09:11:53 +053012#ifndef __ATA_SAMSUNG_CF_H
13#define __ATA_SAMSUNG_CF_H __FILE__
Abhilash Kesavandb900052010-06-08 16:38:20 +090014
15/**
16 * struct s3c_ide_platdata - S3C IDE driver platform data.
17 * @setup_gpio: Setup the external GPIO pins to the right state for data
18 * transfer in true-ide mode.
19 */
20struct s3c_ide_platdata {
21 void (*setup_gpio)(void);
22};
23
24/*
25 * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
26 * @pdata: Platform data for IDE driver.
27 */
28extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
29
30/* architecture-specific IDE configuration */
31extern void s3c64xx_ide_setup_gpio(void);
Abhilash Kesavandb900052010-06-08 16:38:20 +090032extern void s5pv210_ide_setup_gpio(void);
33
Sachin Kamatb4418822014-02-17 09:11:53 +053034#endif /*__ATA_SAMSUNG_CF_H */