[U-Boot] [U-Boot, 3/4] mmc: atmel: Implement proper private data

Andreas Bießmann andreas.devel at googlemail.com
Sun Nov 1 22:03:05 CET 2015


Dear Marek Vasut,

Marek Vasut <marex at denx.de> writes:
>Instead of passing just the register area as a private data, introduce
>a proper struct atmel_mci_priv structure instead. This will become useful
>in the subsequent patch, where we eliminate the global variable from this
>driver.
>
>Signed-off-by: Marek Vasut <marex at denx.de>
>Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>
>[fix free()]
>Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
> drivers/mmc/gen_atmel_mci.c | 40 +++++++++++++++++++++++++---------------
> 1 file changed, 25 insertions(+), 15 deletions(-)

applied to u-boot-atmel/master, thanks!

Also fix the missed free().

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list