ARMV7: S5P: Fixed register offset in mmc.h
The MMC registers are accessed through struct s5p_mmc member variables. MMC controller "control4" register offset is set to 0x8C as per data sheet. The size of struct s5p_mmc is also corrected. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
		
							parent
							
								
									9aca34d6ab
								
							
						
					
					
						commit
						bef5f8565f
					
				|  | @ -53,10 +53,11 @@ struct s5p_mmc { | ||||||
| 	unsigned char	res3[0x34]; | 	unsigned char	res3[0x34]; | ||||||
| 	unsigned int	control2; | 	unsigned int	control2; | ||||||
| 	unsigned int	control3; | 	unsigned int	control3; | ||||||
|  | 	unsigned char	res4[4]; | ||||||
| 	unsigned int	control4; | 	unsigned int	control4; | ||||||
| 	unsigned char	res4[0x6e]; | 	unsigned char	res5[0x6e]; | ||||||
| 	unsigned short	hcver; | 	unsigned short	hcver; | ||||||
| 	unsigned char	res5[0xFFF02]; | 	unsigned char	res6[0xFFF00]; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| struct mmc_host { | struct mmc_host { | ||||||
|  |  | ||||||
|  | @ -53,10 +53,11 @@ struct s5p_mmc { | ||||||
| 	unsigned char	res3[0x34]; | 	unsigned char	res3[0x34]; | ||||||
| 	unsigned int	control2; | 	unsigned int	control2; | ||||||
| 	unsigned int	control3; | 	unsigned int	control3; | ||||||
|  | 	unsigned char	res4[4]; | ||||||
| 	unsigned int	control4; | 	unsigned int	control4; | ||||||
| 	unsigned char	res4[0x6e]; | 	unsigned char	res5[0x6e]; | ||||||
| 	unsigned short	hcver; | 	unsigned short	hcver; | ||||||
| 	unsigned char	res5[0xFF02]; | 	unsigned char	res6[0xFF00]; | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| struct mmc_host { | struct mmc_host { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue