Skip to contentSkip to conversation

AT91 pending patches

U-Boot New Eric Bénard 2 participants 5 messages Sep 21, 2009 – Oct 9, 2009 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#1 lore raw
Quoted 4 lines · Eric B?nard

Hi Tom,

may you please comment on the following patches :
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/67400

[U-Boot] [PATCH] Add support for Eukrea CPU9260/CPU9G20 SBC

these boards are built around Atmel's AT91SAM9260/9G20 and have up to 64MB of NOR flash, up to 128MB of SDRAM, up to 2GB of NAND and include a 10/100 Ethernet PHY in RMII mode.

This looks like the first revision.
Only comments from Jean.
He liked it so that's an ack .
Some minor ws issues

Quoted 1 line

http://article.gmane.org/gmane.comp.boot-loaders.u-boot/65674

CPUAT91 is built around Atmel's AT91RM9200 and has up to 16MB of NOR flash, up to 128MB of SDRAM, and includes a Micrel KS8721 PHY in RMII mode.

Lots of ws cleanup from v5 to v6.
checkpatch complaining about
checkpatch.pl cpuat91-v6.patch
WARNING: braces {} are not necessary for single statement blocks #480: FILE: cpu/arm920t/at91rm9200/ks8721.c:222:
+ if (!(value & KS8721_AUTONEG_COMP)) {
+ return 0;
+ }
I will take care of this.

From history, lots of comments

I will do the merge and push these patches this weekend after running the compiling the configurations. There will be some obvious conflicts like your maintainer list of boards that I will just handle.

Tom

Quoted 3 lines

Many thanks
Eric

#2 lore raw
In reply to Eric Bénard
Quoted 8 lines · Eric B?nard

Hi Tom,

may you please comment on the following patches :
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/67400
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/65674

Many thanks
Eric

Eric,
Your patches have been added to arm/next.

CPU9260 and CPU9G60 had this *.ERR in MAKEALL arm

nand_util.c:45:2: warning: #warning Please define
CONFIG_SYS_64BIT_VSPRINTF for correct output!

CPUAT91 had this *.ERR

eth.c:497:2: warning: #warning Ethernet driver is deprecated. Please update to use CONFIG_NET_MULTI
main.c: In function 'abortboot':
main.c:122: warning: too few arguments for format

Please verify your changes are included and submit fixes for these warning if appropriate.

Tom

#3 lore raw

PATCH 1/2 fix cpuat91 compile warning

main.c: In function 'abortboot':
main.c:122: warning: too few arguments for format

---
 include/configs/cpuat91.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/configs/cpuat91.h +2 -2
index 0d3acf6..8746f70 100644
@@ -189,8 +189,8 @@
 #define CONFIG_SILENT_CONSOLE		1
 
 #define CONFIG_AUTOBOOT_KEYED		1
-#define CONFIG_AUTOBOOT_PROMPT 		\
-	"Press SPACE to abort autoboot in %d seconds\n"
+#define CONFIG_AUTOBOOT_PROMPT		\
+	"Press SPACE to abort autoboot\n"
 #define CONFIG_AUTOBOOT_STOP_STR	" "
 #define CONFIG_AUTOBOOT_DELAY_STR	"d"
 
Signature · 1 line
1.6.0.4
#4 lore raw

PATCH 2/2 fix CPU9260/CPU9G20 compile warnings

nand_util.c:45:2: warning: #warning Please define CONFIG_SYS_64BIT_VSPRINTF for correct output!

---
 include/configs/cpu9260.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/cpu9260.h +1 -0
index 4ef8566..de8cfb7 100644
@@ -295,6 +295,7 @@
 #define CONFIG_SYS_NAND_ENABLE_PIN		AT91_PIN_PC14
 #define CONFIG_SYS_NAND_MASK_ALE		(1 << 21)
 #define CONFIG_SYS_NAND_MASK_CLE		(1 << 22)
+#define CONFIG_SYS_64BIT_VSPRINTF		/* needed for nand_util.c */
 
 /* NOR flash */
 #define CONFIG_SYS_FLASH_CFI			1
Signature · 1 line
1.6.0.4