Sachin Kamat | b441882 | 2014-02-17 09:11:53 +0530 | [diff] [blame] | 1 | /* |
Abhilash Kesavan | db90005 | 2010-06-08 16:38:20 +0900 | [diff] [blame] | 2 | * 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 Kamat | b441882 | 2014-02-17 09:11:53 +0530 | [diff] [blame] | 12 | #ifndef __ATA_SAMSUNG_CF_H |
| 13 | #define __ATA_SAMSUNG_CF_H __FILE__ |
Abhilash Kesavan | db90005 | 2010-06-08 16:38:20 +0900 | [diff] [blame] | 14 | |
| 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 | */ |
| 20 | struct 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 | */ |
| 28 | extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata); |
| 29 | |
| 30 | /* architecture-specific IDE configuration */ |
| 31 | extern void s3c64xx_ide_setup_gpio(void); |
Abhilash Kesavan | db90005 | 2010-06-08 16:38:20 +0900 | [diff] [blame] | 32 | extern void s5pv210_ide_setup_gpio(void); |
| 33 | |
Sachin Kamat | b441882 | 2014-02-17 09:11:53 +0530 | [diff] [blame] | 34 | #endif /*__ATA_SAMSUNG_CF_H */ |