[U-Boot-Users] facing problem in cmd_flash.c
Subhransu Prusty
subhransu.prusty at gmail.com
Tue Sep 19 08:38:16 CEST 2006
while compiling for my lsi(arm7tdmi based) board i am getting some
undefined references in cmd_flash.c like flash_print_info,
flash_erase.
i have included common.h(which includes flash.h) in the cmd_flash.c
and in the flash.c also.
in flash.c i have given the definition for flash_print_info and
flash_erase. Here in the following i am giving the snippets of the
code where i am getting the error.
in cmd_flash.c -
#include <common.h>
....
flash_print_info (&flash_info[bank]); //here at this point i am
getting undefined reference error
.......
in flash.h -
.....
extern void flash_print_info (flash_info_t *);
in /board/flash.c -
void flash_print_info (flash_info_t *info)
{
int i;
......
}
can anybody please solve this problem
--
thanks & regards
Subhransu Sekhar Prusty
+91-9885212073
More information about the U-Boot
mailing list