Skip to contentSkip to conversation

v1.3.4-rc1 released

U-Boot-Users Heiko Schocher 2 participants 2 messages Jul 16, 2008 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello Wolfgang,

u-boot-users-request at lists.sourceforge.net wrote:
[...]

Quoted 3 lines

- sc3:
main.c: In function 'abortboot':
main.c:119: warning: too many arguments for format

[PATCH] sc3: Fix compilerwarning:
main.c:119: warning: too many arguments for format

---
 include/configs/sc3.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/configs/sc3.h +2 -1
index f6e40de..0ff889a 100644
@@ -132,7 +132,8 @@
 
 #if 1	/* feel free to disable for development */
 #define CONFIG_AUTOBOOT_KEYED		/* Enable password protection	*/
-#define CONFIG_AUTOBOOT_PROMPT		"\nSC3 - booting... stop with ENTER\n"
+#define CONFIG_AUTOBOOT_PROMPT		"\nSC3 - booting in %d seconds ..." \
+					" stop with ENTER\n"
 #define CONFIG_AUTOBOOT_DELAY_STR	"\r"	/* 1st "password"	*/
 #define CONFIG_AUTOBOOT_DELAY_STR2	"\n"	/* 1st "password"	*/
 #endif
Signature · 1 line
1.5.6.1
#2 lore raw

Dear Heiko,

Quoted 6 lines · in message <[email protected]> you wrote:
include/configs/sc3.h +0 -0
index f6e40de..0ff889a 100644

include/configs/sc3.h line 139

Quoted 9 lines
include/configs/sc3.h +2 -1
@@ -132,7 +132,8 @@
 
 #if 1	/* feel free to disable for development */
 #define CONFIG_AUTOBOOT_KEYED		/* Enable password protection	*/
-#define CONFIG_AUTOBOOT_PROMPT		"\nSC3 - booting... stop with ENTER\n"
+#define CONFIG_AUTOBOOT_PROMPT		"\nSC3 - booting in %d seconds ..." \
+					" stop with ENTER\n"
 #define CONFIG_AUTOBOOT_DELAY_STR	"\r"	/* 1st "password"	*/
 #define CONFIG_AUTOBOOT_DELAY_STR2	"\n"	/* 1st "password"	*/
 #endif

Thanks, but sorry - the customer was very specific about the message to be printed. It cannot be changed :-(

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
Wherever you go...There you are.                    - Buckaroo Banzai