mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 02:15:45 +01:00 
			
		
		
		
	omap_hsmmc: update struct hsmmc to accomodate base address from DT
Existing driver gets the actual omap hammc base address + 0x100 bytes as the first 0x100 bytes is not used by the driver. But with DM conversion the base address from DT is different, to accommodate the offset adding res0[0x100] to struct hsmmc. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		| @@ -26,6 +26,9 @@ | |||||||
| #define OMAP_MMC_H_ | #define OMAP_MMC_H_ | ||||||
|  |  | ||||||
| struct hsmmc { | struct hsmmc { | ||||||
|  | #ifdef CONFIG_DM_MMC | ||||||
|  | 	unsigned char res0[0x100]; | ||||||
|  | #endif | ||||||
| 	unsigned char res1[0x10]; | 	unsigned char res1[0x10]; | ||||||
| 	unsigned int sysconfig;		/* 0x10 */ | 	unsigned int sysconfig;		/* 0x10 */ | ||||||
| 	unsigned int sysstatus;		/* 0x14 */ | 	unsigned int sysstatus;		/* 0x14 */ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user