Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
0004  *      http://www.samsung.com
0005  *
0006  * Samsung CF-ATA platform_device info
0007 */
0008 
0009 #ifndef __ATA_SAMSUNG_CF_H
0010 #define __ATA_SAMSUNG_CF_H __FILE__
0011 
0012 /**
0013  * struct s3c_ide_platdata - S3C IDE driver platform data.
0014  * @setup_gpio: Setup the external GPIO pins to the right state for data
0015  * transfer in true-ide mode.
0016  */
0017 struct s3c_ide_platdata {
0018     void (*setup_gpio)(void);
0019 };
0020 
0021 /*
0022  * s3c_ide_set_platdata() - Setup the platform specifc data for IDE driver.
0023  * @pdata: Platform data for IDE driver.
0024  */
0025 extern void s3c_ide_set_platdata(struct s3c_ide_platdata *pdata);
0026 
0027 /* architecture-specific IDE configuration */
0028 extern void s3c64xx_ide_setup_gpio(void);
0029 extern void s5pv210_ide_setup_gpio(void);
0030 
0031 #endif /*__ATA_SAMSUNG_CF_H */