Skip to contentSkip to conversation

at91: reworked support for otc570 board

PATCH New Daniel Gorsulowski 2 participants 3 messages Apr 18, 2011 – Apr 20, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/2 at91: reworked support for otc570 board

The otc570 board support was broken. Within this opportunity, I completely reworked the board files.

---

This patch is based on u-boot-atmel/rework101229 branch (minus the last 5 patches) plus the 'at91: fixed at91sam9263 system file' patch in u-boot-atmel/next branch.

V2: -fixed commit description

 board/esd/otc570/config.mk |    1 -
 board/esd/otc570/otc570.c  |  106 ++++++++++--------
 boards.cfg                 |    3 +-
 include/configs/otc570.h   |  265 +++++++++++++++++++++++++-------------------
 4 files changed, 211 insertions(+), 164 deletions(-)
 delete mode 100644 board/esd/otc570/config.mk
board/esd/otc570/config.mk deleted +0 -1
deleted file mode 100644
index e554a45..0000000
@@ -1 +0,0 @@
-CONFIG_SYS_TEXT_BASE = 0x23f00000
board/esd/otc570/otc570.c +59 -47

239 lines not on this page · raw message

boards.cfg +2 -1
index eccbb9c..77f3fc4 100644
@@ -85,7 +85,8 @@ top9000eval_xe               arm         arm926ejs   top9000             emk
 top9000su_xe                 arm         arm926ejs   top9000             emk            at91        top9000:SU9000
 meesc                        arm         arm926ejs   meesc               esd            at91        meesc:AT91SAM9263,SYS_USE_NANDFLASH
 meesc_dataflash              arm         arm926ejs   meesc               esd            at91        meesc:AT91SAM9263,SYS_USE_DATAFLASH
-otc570                       arm         arm926ejs   -                   esd            at91
+otc570                       arm         arm926ejs   otc570              esd            at91        otc570:AT91SAM9263,SYS_USE_NANDFLASH
+otc570_dataflash             arm         arm926ejs   otc570              esd            at91        otc570:AT91SAM9263,SYS_USE_DATAFLASH
 pm9261                       arm         arm926ejs   -                   ronetix        at91
 pm9263                       arm         arm926ejs   -                   ronetix        at91
 da830evm                     arm         arm926ejs   da8xxevm            davinci        davinci
include/configs/otc570.h +150 -115

362 lines not on this page · raw message

Signature · 1 line
1.5.3
#1 lore raw

PATCH v2 2/2 at91: reworked support for otc570 board

Am 18.04.2011 16:15, schrieb Daniel Gorsulowski:

Quoted 10 lines

The otc570 board support was broken. Within this opportunity, I completely reworked the board files.

---

This patch is based on u-boot-atmel/rework101229 branch (minus the last 5 patches) plus the 'at91: fixed at91sam9263 system file' patch in u-boot-atmel/next branch.

Quoted 8 lines

V2: -fixed commit description

 board/esd/otc570/config.mk |    1 -
 board/esd/otc570/otc570.c  |  106 ++++++++++--------
 boards.cfg                 |    3 +-
 include/configs/otc570.h   |  265 +++++++++++++++++++++++++-------------------
 4 files changed, 211 insertions(+), 164 deletions(-)
 delete mode 100644 board/esd/otc570/config.mk

This patch had several places with <space><tab> or <start of line><space>.

I removed them manually. Please, next time run your patches through <linux>/scripts/checkpatch.pl. Thanks.

Applied to u-boot-atmel/next.

Best Regards,

Reinhard

#2 lore raw

PATCH v2 2/2 at91: reworked support for otc570 board

Hello Reinhard,

Quoted 20 lines · Reinhard Meyer

Am 18.04.2011 16:15, schrieb Daniel Gorsulowski:

Quoted 10 lines

The otc570 board support was broken. Within this opportunity, I completely reworked the board files.

---

This patch is based on u-boot-atmel/rework101229 branch (minus the last 5 patches) plus the 'at91: fixed at91sam9263 system file' patch in u-boot-atmel/next branch.

Quoted 8 lines

V2: -fixed commit description

 board/esd/otc570/config.mk |    1 -
 board/esd/otc570/otc570.c  |  106 ++++++++++--------
 boards.cfg                 |    3 +-
 include/configs/otc570.h   |  265 +++++++++++++++++++++++++-------------------
 4 files changed, 211 insertions(+), 164 deletions(-)
 delete mode 100644 board/esd/otc570/config.mk
Quoted 4 lines

This patch had several places with <space><tab> or <start of line><space>.

I removed them manually. Please, next time run your patches through <linux>/scripts/checkpatch.pl. Thanks.

Sorry, but I checked my patches by checkpatch.pl. Maybe you can explain me, what I did wrong?

danielg at debby:~/git/u-boot-atmel$ ../linux/linux-2.6/scripts/checkpatch.pl 0002-at91-reworked-support-for-otc570-board.patch
WARNING: Use #include <linux/io.h> instead of <asm/io.h> #48: FILE: board/esd/otc570/otc570.c:30:
+#include <asm/io.h>

ERROR: Macros with complex values should be enclosed in parenthesis #578: FILE: include/configs/otc570.h:209:
+# define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIO_PORTD, 15

ERROR: Macros with complex values should be enclosed in parenthesis #579: FILE: include/configs/otc570.h:210:
+# define CONFIG_SYS_NAND_READY_PIN AT91_PIO_PORTA, 22

total: 2 errors, 1 warnings, 610 lines checked

0002-at91-reworked-support-for-otc570-board.patch has style problems, please review. If any of these errors
are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.

Quoted 2 lines

Applied to u-boot-atmel/next.

Thank you!

Quoted 11 lines

Best Regards,

Reinhard
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 16 lines
Mit freundlichen Gr??en
Daniel Gorsulowski

-------------------------------------------------------------------------
B.Eng. Daniel Gorsulowski
System-Design

esd electronic system design gmbh
Vahrenwalder Str. 207 - 30165 Hannover - GERMANY
Telefon: 0511-37298-192 - Fax: 0511-37298-68
Bitte besuchen Sie uns im Internet unter http://www.esd.eu
Quality Products - Made in Germany
-------------------------------------------------------------------------
Gesch?ftsf?hrer: Klaus Detering
Amtsgericht Hannover HRB 51373 - VAT-ID DE 115672832
-------------------------------------------------------------------------