[U-Boot] [PATCH] ARM: hawkboard: fix compilation of nand_spl

Fix build problem:
nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c: In function 'board_init_f': nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:132: warning: implicit declaration of function 'nand_boot' nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:133: warning: 'noreturn' function does return
Signed-off-by: Wolfgang Denk wd@denx.de Cc: Syed Mohammed Khasim sm.khasim@gmail.com Cc: Sughosh Ganu urwithsughosh@gmail.com Cc: Albert ARIBAUD albert.u.boot@aribaud.net --- board/davinci/da8xxevm/hawkboard_nand_spl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/board/davinci/da8xxevm/hawkboard_nand_spl.c b/board/davinci/da8xxevm/hawkboard_nand_spl.c index 9155236..e5e65e5 100644 --- a/board/davinci/da8xxevm/hawkboard_nand_spl.c +++ b/board/davinci/da8xxevm/hawkboard_nand_spl.c @@ -28,6 +28,7 @@ #include <asm/io.h> #include <asm/arch/davinci_misc.h> #include <ns16550.h> +#include <nand.h>
DECLARE_GLOBAL_DATA_PTR;

Dear Wolfgang Denk,
In message 1315686495-9133-1-git-send-email-wd@denx.de you wrote:
Fix build problem:
nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c: In function 'board_init_f': nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:132: warning: implicit declaration of function 'nand_boot' nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:133: warning: 'noreturn' function does return
Signed-off-by: Wolfgang Denk wd@denx.de Cc: Syed Mohammed Khasim sm.khasim@gmail.com Cc: Sughosh Ganu urwithsughosh@gmail.com Cc: Albert ARIBAUD albert.u.boot@aribaud.net
board/davinci/da8xxevm/hawkboard_nand_spl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk

Hi Wolfgang,
Le 10/09/2011 22:46, Wolfgang Denk a écrit :
Dear Wolfgang Denk,
In message1315686495-9133-1-git-send-email-wd@denx.de you wrote:
Fix build problem:
nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c: In function 'board_init_f': nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:132: warning: implicit declaration of function 'nand_boot' nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:133: warning: 'noreturn' function does return
Signed-off-by: Wolfgang Denkwd@denx.de Cc: Syed Mohammed Khasimsm.khasim@gmail.com Cc: Sughosh Ganuurwithsughosh@gmail.com Cc: Albert ARIBAUDalbert.u.boot@aribaud.net
board/davinci/da8xxevm/hawkboard_nand_spl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
I'd already applied this patch from Stefano to u-boot-arm/master.
Amicalement,

Le 11/09/2011 17:59, Albert ARIBAUD a écrit :
Hi Wolfgang,
Le 10/09/2011 22:46, Wolfgang Denk a écrit :
Dear Wolfgang Denk,
In message1315686495-9133-1-git-send-email-wd@denx.de you wrote:
Fix build problem:
nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c: In function 'board_init_f': nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:132: warning: implicit declaration of function 'nand_boot' nand_spl/board/davinci/da8xxevm/hawkboard_nand_spl.c:133: warning: 'noreturn' function does return
Signed-off-by: Wolfgang Denkwd@denx.de Cc: Syed Mohammed Khasimsm.khasim@gmail.com Cc: Sughosh Ganuurwithsughosh@gmail.com Cc: Albert ARIBAUDalbert.u.boot@aribaud.net
board/davinci/da8xxevm/hawkboard_nand_spl.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
I'd already applied this patch from Stefano to u-boot-arm/master.
Correction: you, not I, had already applied a patch with the exact same title and different content.
Amicalement,

Dear Albert ARIBAUD,
In message 4E6CDDC8.5040300@aribaud.net you wrote:
I'd already applied this patch from Stefano to u-boot-arm/master.
Correction: you, not I, had already applied a patch with the exact same title and different content.
Yes, there were several problems with this board :-(
Best regards,
Wolfgang Denk

Dear Albert ARIBAUD,
In message 4E6CDAEB.6050404@aribaud.net you wrote:
I'd already applied this patch from Stefano to u-boot-arm/master.
This is no problem - git will sort it out automatically.
Sorry for going ahead, I wanted to clean up the ARM build finally.
Best regards,
Wolfgang Denk
participants (2)
-
Albert ARIBAUD
-
Wolfgang Denk