[U-Boot-Users] [PATCH 0/3] Move atmel_mci driver into drivers/mmc

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Thu Jun 12 19:27:55 CEST 2008


> 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

 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%)




More information about the U-Boot mailing list