[U-Boot] [PATCH atmel/next 0/7] replace at91rm9200_usart by atmel_usart

Reinhard Meyer u-boot at emk-elektronik.de
Thu Jun 30 10:42:40 CEST 2011


Dear Andreas Bießmann,
> This series is an RFC for atmel/next!
> 
> It should replace the current at91rm9200_usart driver by the common atmel_usart
> driver. This is tested on at91rm9200ek, there are patches included for the two
> other arm920t/at91 boards currently supported by u-boot.
> Jens, Eric feel free to test this stuff.
> 
> Some of the patches where submitted before in another structure
> (move arm926ejs/at91/clock.c to arm/lib/at91 and use the API)
>  -> see http://patchwork.ozlabs.org/patch/99344/
>     and http://patchwork.ozlabs.org/patch/99550/
> They both are superseded by this series.
> 
> There may be some issues with one of the patches in this series if you reorder
> the patches. Therefore I would like to squash some of them together, if the
> review process shows that there are no other issues with it.
> There also might be some unnecessary reorering in some of the defines. This is
> subject to next version, but feel free to point them out.
> 
> Andreas Bießmann (7):
>   arm920t/at91: add clock.c
>   arm920t/at91: use new clock.c features
>   arm920t/at91: add at91rm9200_devices.c
>   at91rm9200ek: use atmel_usart
>   eb_cpux9k2: use atmel_usart
>   cpuat91: use atmel_usart
>   driver/serial: delete at91rm9200_usart
> 
>  arch/arm/cpu/arm920t/at91/Makefile             |    3 +
>  arch/arm/cpu/arm920t/at91/at91rm9200_devices.c |   85 +++++++++++++
>  arch/arm/cpu/arm920t/at91/clock.c              |  160 ++++++++++++++++++++++++
>  arch/arm/cpu/arm920t/at91/cpu.c                |   43 +++++++
>  arch/arm/cpu/arm926ejs/at91/clock.c            |   35 +-----
>  arch/arm/include/asm/arch-at91/at91rm9200.h    |   10 ++-
>  arch/arm/include/asm/arch-at91/clk.h           |   42 ++++++-
>  board/BuS/eb_cpux9k2/cpux9k2.c                 |    7 +
>  board/atmel/at91rm9200ek/at91rm9200ek.c        |    7 +
>  board/eukrea/cpuat91/cpuat91.c                 |    8 ++
>  drivers/serial/Makefile                        |    1 -
>  drivers/serial/at91rm9200_usart.c              |  126 -------------------
>  include/configs/at91rm9200ek.h                 |   10 ++-
>  include/configs/cpuat91.h                      |   12 +-
>  include/configs/eb_cpux9k2.h                   |   10 +-
>  15 files changed, 379 insertions(+), 180 deletions(-)
>  create mode 100644 arch/arm/cpu/arm920t/at91/at91rm9200_devices.c
>  create mode 100644 arch/arm/cpu/arm920t/at91/clock.c
>  create mode 100644 arch/arm/cpu/arm920t/at91/cpu.c
>  delete mode 100644 drivers/serial/at91rm9200_usart.c
Applied to u-boot-atmel/master.
Thanks,
Reinhard


More information about the U-Boot mailing list