Skip to contentSkip to conversation

ARM: atmel: add sama5d3 Xplained board support

PATCH In review Bo Shen 3 participants 4 messages Feb 9, 2014 – Mar 9, 2014 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore

Bo Shen

author
#0 lore raw

PATCH 1/1 ARM: atmel: add sama5d3 Xplained board support

Add sama5d3 Xplained board support which use Atmel SAMA5D36 SoC. Now it supports boot from NAND flash and SD/MMC card. Features support:
- NAND flash
- SD/MMC card
- Two USB hosts
- Ethernet (one GMAC, one EMAC)

---

 board/atmel/sama5d3_xplained/Makefile           |  15 ++
 board/atmel/sama5d3_xplained/sama5d3_xplained.c | 130 +++++++++++++++
 boards.cfg                                      |   2 +
 include/configs/sama5d3_xplained.h              | 203 ++++++++++++++++++++++++
 4 files changed, 350 insertions(+)
 create mode 100644 board/atmel/sama5d3_xplained/Makefile
 create mode 100644 board/atmel/sama5d3_xplained/sama5d3_xplained.c
 create mode 100644 include/configs/sama5d3_xplained.h
board/atmel/sama5d3_xplained/Makefile new file +15 -0
new file mode 100644
index 0000000..ec82b06
@@ -0,0 +1,15 @@
+#
+# (C) Copyright 2003-2008
+# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
+#
+# (C) Copyright 2008
+# Stelian Pop <[email protected]>
+# Lead Tech Design <www.leadtechdesign.com>
+#
+# (C) Copyright 2014
+# Bo Shen <[email protected]>
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y += sama5d3_xplained.o
board/atmel/sama5d3_xplained/sama5d3_xplained.c new file +130 -0

130 lines not on this page · raw message

boards.cfg +2 -0
index a8336cc..989611a 100644
@@ -271,6 +271,8 @@ Active  arm         armv7          am33xx      ti              ti816x
 Active  arm         armv7          at91        atmel           sama5d3xek          sama5d3xek_mmc                       sama5d3xek:SAMA5D3,SYS_USE_MMC                                                                                                    Bo Shen <[email protected]>
 Active  arm         armv7          at91        atmel           sama5d3xek          sama5d3xek_nandflash                 sama5d3xek:SAMA5D3,SYS_USE_NANDFLASH                                                                                              Bo Shen <[email protected]>
 Active  arm         armv7          at91        atmel           sama5d3xek          sama5d3xek_spiflash                  sama5d3xek:SAMA5D3,SYS_USE_SERIALFLASH                                                                                            Bo Shen <[email protected]>
+Active  arm         armv7          at91        atmel           sama5d3_xplained    sama5d3_xplained_mmc                 sama5d3_xplained:SAMA5D3,SYS_USE_MMC                                                                                              Bo Shen <[email protected]>
+Active  arm         armv7          at91        atmel           sama5d3_xplained    sama5d3_xplained_nandflash           sama5d3_xplained:SAMA5D3,SYS_USE_NANDFLASH                                                                                        Bo Shen <[email protected]>
 Active  arm         armv7          exynos      samsung         arndale             arndale                              -                                                                                                                                 Inderpal Singh <[email protected]>
 Active  arm         armv7          exynos      samsung         origen              origen                               -                                                                                                                                 Chander Kashyap <[email protected]>
 Active  arm         armv7          exynos      samsung         smdk5250            smdk5250                             -                                                                                                                                 Chander Kashyap <[email protected]>
include/configs/sama5d3_xplained.h new file +203 -0

203 lines not on this page · raw message

Signature · 1 line
1.8.5.2
#1 lore raw

PATCH 1/1 ARM: atmel: add sama5d3 Xplained board support

Dear Bo Shen,

Quoted 11 lines · In message <[email protected]> you wrote:

Add sama5d3 Xplained board support which use Atmel SAMA5D36 SoC. Now it supports boot from NAND flash and SD/MMC card. Features support:
- NAND flash
- SD/MMC card
- Two USB hosts
- Ethernet (one GMAC, one EMAC)

---

Quoted 8 lines
 board/atmel/sama5d3_xplained/Makefile           |  15 ++
 board/atmel/sama5d3_xplained/sama5d3_xplained.c | 130 +++++++++++++++
 boards.cfg                                      |   2 +
 include/configs/sama5d3_xplained.h              | 203 ++++++++++++++++++++++++
 4 files changed, 350 insertions(+)
 create mode 100644 board/atmel/sama5d3_xplained/Makefile
 create mode 100644 board/atmel/sama5d3_xplained/sama5d3_xplained.c
 create mode 100644 include/configs/sama5d3_xplained.h

Can we please stop using the SoC name in the board config name? The board name is just that: the name of the board.

Please rename all sama5d3_xplained => xplained

Thanks.

Best regards,

Wolfgang Denk

Signature · 4 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
Parkinson's Law:  Work expands to fill the time alloted it.
author
#2 lore raw

PATCH 1/1 ARM: atmel: add sama5d3 Xplained board support

Hi Wolfgang Denk,

Quoted 23 lines · Wolfgang Denk

Dear Bo Shen,

Quoted 11 lines · In message <[email protected]> you wrote:

Add sama5d3 Xplained board support which use Atmel SAMA5D36 SoC. Now it supports boot from NAND flash and SD/MMC card. Features support:
- NAND flash
- SD/MMC card
- Two USB hosts
- Ethernet (one GMAC, one EMAC)

---

Quoted 8 lines
  board/atmel/sama5d3_xplained/Makefile           |  15 ++
  board/atmel/sama5d3_xplained/sama5d3_xplained.c | 130 +++++++++++++++
  boards.cfg                                      |   2 +
  include/configs/sama5d3_xplained.h              | 203 ++++++++++++++++++++++++
  4 files changed, 350 insertions(+)

create mode 100644 board/atmel/sama5d3_xplained/Makefile create mode 100644 board/atmel/sama5d3_xplained/sama5d3_xplained.c create mode 100644 include/configs/sama5d3_xplained.h

Quoted 4 lines

Can we please stop using the SoC name in the board config name? The board name is just that: the name of the board.

Please rename all sama5d3_xplained => xplained

This board name is "SAMA5D3 Xplained", while not "Xplained". Using two words as a total as this board name. For the source code, we use low case for these two words and connect with underscore. I think no need to rename.

Quoted 6 lines

Thanks.

Best regards,

Wolfgang Denk

Best Regards,
Bo Shen

#3 lore raw
In reply to Bo Shen

Dear Bo Shen,

Quoted 11 lines · Bo Shen

Add sama5d3 Xplained board support which use Atmel SAMA5D36 SoC. Now it supports boot from NAND flash and SD/MMC card. Features support:
- NAND flash
- SD/MMC card
- Two USB hosts
- Ethernet (one GMAC, one EMAC)

---

Quoted 8 lines
board/atmel/sama5d3_xplained/Makefile           |  15 ++
board/atmel/sama5d3_xplained/sama5d3_xplained.c | 130 +++++++++++++++
boards.cfg                                      |   2 +
include/configs/sama5d3_xplained.h              | 203 ++++++++++++++++++++++++
4 files changed, 350 insertions(+)

create mode 100644 board/atmel/sama5d3_xplained/Makefile create mode 100644 board/atmel/sama5d3_xplained/sama5d3_xplained.c create mode 100644 include/configs/sama5d3_xplained.h

applied with reordering of boards.cfg to u-boot-atmel/master, thanks!

Best regards,
Andreas Bie?mann