[U-Boot] [PATCH] MMC: Do not write to mmc_uclass_priv if it was not allocated

2016-06-26 Thread Matt Corallo
Signed-off-by: Matt Corallo --- drivers/mmc/mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index aabfc71..eba20f0 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1734,7 +1734,8 @@ int mmc_init(struct mmc *mmc) #ifdef

Re: [U-Boot] [PATCH] MMC: Do not write to mmc_uclass_priv if it was not allocated

2016-06-30 Thread Matt Corallo
the only place where mmc is actually used during boot for me, so maybe not?). Matt On 06/30/16 19:28, Simon Glass wrote: > Hi Meteusz, > > On 30 June 2016 at 12:18, Mateusz Kulikowski > wrote: >> On 29.06.2016 05:27, Simon Glass wrote: >>> Hi Matt, >>> >&g