mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
dm: mmc: Set up the device pointer when using the MMC uclass
Update the existing drivers to set up this new pointer. This will be required by the MMC uclass. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
b6694a33c4
commit
cffe5d86cf
7 changed files with 14 additions and 1 deletions
|
@ -381,6 +381,9 @@ struct mmc {
|
|||
char init_in_progress; /* 1 if we have done mmc_start_init() */
|
||||
char preinit; /* start init as early as possible */
|
||||
int ddr_mode;
|
||||
#ifdef CONFIG_DM_MMC
|
||||
struct udevice *dev; /* Device for this MMC controller */
|
||||
#endif
|
||||
};
|
||||
|
||||
struct mmc_hwpart_conf {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue