Skip to content

Move atmel_mci driver into drivers/mmc

Wolfgang Denk u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Create drivers/mmc subdirectory+0 -00 replies
2/3avr32: Use CONFIG_ATMEL_MCI to select the atmel_mci driver+0 -01 reply
3/3mmc: Move atmel_mci driver into drivers/mmc+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot-Users] [PATCH 0/3] Move atmel_mci driver into drivers/mmc
Quoted 22 lines · In message <[email protected]>…
Quoted 2 lines

So how about we start by introducing a new drivers/mmc directory and move the existing AVR32 driver there?

In fact, this is so incredibly easy to do with git that I decided to just do it. The three patches posted as a follow-up to this e-mail is the result. I've verified that it compiles and that the driver gets included in the final image, but I haven't actually run it.

Now, if you move your modified driver into drivers/mmc and generate a patch against this series, it will be much easier to review your changes. And any bug fixes done on one platform will benefit all.

To use the driver, simply add "#define CONFIG_ATMEL_MCI" to your board config file.

Shortlog and diffstat for the whole series follows.

Haavard Skinnemoen (3):
Create drivers/mmc subdirectory
avr32: Use CONFIG_ATMEL_MCI to select the atmel_mci driver
mmc: Move atmel_mci driver into drivers/mmc

Quoted 14 lines
 Makefile                                |    2 +
 cpu/at32ap/Makefile                     |    1 -
 drivers/mmc/Makefile                    |   46 +++++++++++++++++++++++++++++++
 {cpu/at32ap => drivers/mmc}/atmel_mci.c |    0 
 {cpu/at32ap => drivers/mmc}/atmel_mci.h |    0 
 include/configs/atngw100.h              |    1 +
 include/configs/atstk1002.h             |    1 +
 include/configs/atstk1003.h             |    1 +
 include/configs/atstk1004.h             |    1 +
 include/configs/atstk1006.h             |    1 +
 10 files changed, 53 insertions(+), 1 deletions(-)
 create mode 100644 drivers/mmc/Makefile
 rename {cpu/at32ap => drivers/mmc}/atmel_mci.c (100%)
 rename {cpu/at32ap => drivers/mmc}/atmel_mci.h (100%)

Will you apply this in your repo and send me a pull request, or do you want me to pick this up directly?

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Anyone who knows history, particularly the history of Europe, will, I
think, recognize that the domination of education or of government by
any one particular religious faith is never a happy  arrangement  for
the people.                                       - Eleanor Roosevelt