[U-Boot] [PATCH v6] arm: atmel: Add SAMA5D2 Xplained board

Andreas Bießmann andreas.devel at googlemail.com
Mon Nov 23 17:28:45 CET 2015


Hi Wenyou,

On 30.10.15 02:55, Wenyou Yang wrote:
> The board supports following features:
>  - Boot media support: SD card/e.MMC/SPI flash,
>  - Support LCD display (optional, disabled by default),
>  - Support ethernet,
>  - Support USB mass storage.
> 
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>

I'll fix a few checkpatch warnings while applying

Andreas

> ---
> The patch is based on the following patches sent in mailing list.
> 	[PATCH] gpio: atmel: Add the PIO4 driver support
> 	[PATCH] arm: at91: Change the Chip ID registers' addresses
> 	[PATCH v4] mmc: atmel: Add atmel sdhci support
> 	[PATCH v3] arm: at91: clock: Add the generated clock support
> 
> Changes in v6:
>  1./ change function invocation due to its declaration change,
> 	at91_enable_periph_generated_clk().
> 
> Changes in v5:
>  1./ remove wrong pin config for USB hw init.
> 
> Changes in v4:
>  1./ remove __weak attribute for has_lcdc() added in v3.
>  2./ remove unused goto err_exit.
> 
> Changes in v3:
>  1./ change defines-->definitions for more clearly in asm/arch/sama5d2.h.
>  2./ remove unused cpu_is_sama5d2x() macros.
>  3./ fix spelling error "adress".
>  4./ add __weak attribute for has_lcdc().
>  5./ remove SPL configs.
> 
> Changes in v2:
>  1./ re-order SAMA5D2 statements alphabetically.
>  2./ remove redundant "Unknown CPU type".
>  3./ rework sama5d2's macros.
>  4./ remove some #ifdef before functions.
>  5./ move CONFIG_CMD_SF to Kconfig.
>  6./ remove NAND macros from config file.
>  7./ CONFIG_BOOTCOMMAND for sf uses defines in at91-sama5_common.h.
> 
>  arch/arm/mach-at91/Kconfig                       |    5 +
>  arch/arm/mach-at91/armv7/Makefile                |    1 +
>  arch/arm/mach-at91/armv7/sama5d2_devices.c       |   59 +++++
>  arch/arm/mach-at91/include/mach/at91_pmc.h       |    9 +-
>  arch/arm/mach-at91/include/mach/atmel_usba_udc.h |    3 +-
>  arch/arm/mach-at91/include/mach/hardware.h       |    2 +
>  arch/arm/mach-at91/include/mach/sama5d2.h        |  203 ++++++++++++++++
>  board/atmel/sama5d2_xplained/Kconfig             |   15 ++
>  board/atmel/sama5d2_xplained/MAINTAINERS         |    7 +
>  board/atmel/sama5d2_xplained/Makefile            |    8 +
>  board/atmel/sama5d2_xplained/sama5d2_xplained.c  |  284 ++++++++++++++++++++++
>  configs/sama5d2_xplained_mmc_defconfig           |   11 +
>  configs/sama5d2_xplained_spiflash_defconfig      |   11 +
>  include/configs/sama5d2_xplained.h               |  122 ++++++++++
>  14 files changed, 734 insertions(+), 6 deletions(-)
>  create mode 100644 arch/arm/mach-at91/armv7/sama5d2_devices.c
>  create mode 100644 arch/arm/mach-at91/include/mach/sama5d2.h
>  create mode 100644 board/atmel/sama5d2_xplained/Kconfig
>  create mode 100644 board/atmel/sama5d2_xplained/MAINTAINERS
>  create mode 100644 board/atmel/sama5d2_xplained/Makefile
>  create mode 100644 board/atmel/sama5d2_xplained/sama5d2_xplained.c
>  create mode 100644 configs/sama5d2_xplained_mmc_defconfig
>  create mode 100644 configs/sama5d2_xplained_spiflash_defconfig
>  create mode 100644 include/configs/sama5d2_xplained.h


More information about the U-Boot mailing list