Re: [U-Boot-Users] v1.3.4-rc1 released

Hello Wolfgang,
u-boot-users-request@lists.sourceforge.net wrote: [...]
- 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
Signed-off-by: Heiko Schocher hs@denx.de --- include/configs/sc3.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/configs/sc3.h b/include/configs/sc3.h index f6e40de..0ff889a 100644 --- a/include/configs/sc3.h +++ b/include/configs/sc3.h @@ -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

Dear Heiko,
in message 487E4C16.5050603@invitel.hu you wrote:
diff --git a/include/configs/sc3.h b/include/configs/sc3.h index f6e40de..0ff889a 100644 --- a/include/configs/sc3.h +++ b/include/configs/sc3.h @@ -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
participants (2)
-
Heiko Schocher
-
Wolfgang Denk