1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PLATFORM_DATA_PATA_IXP4XX_H
3 #define __PLATFORM_DATA_PATA_IXP4XX_H
4 
5 #include <linux/types.h>
6 
7 /*
8  * This structure provide a means for the board setup code
9  * to give information to th pata_ixp4xx driver. It is
10  * passed as platform_data.
11  */
12 struct ixp4xx_pata_data {
13 	volatile u32	*cs0_cfg;
14 	volatile u32	*cs1_cfg;
15 	unsigned long	cs0_bits;
16 	unsigned long	cs1_bits;
17 	void __iomem	*cmd;
18 	void __iomem	*ctl;
19 };
20 
21 #endif
22