Added support for TQM834x boards.
diff --git a/net/tftp.c b/net/tftp.c
index 748628c..43c4336 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -58,7 +58,7 @@
 static char *tftp_filename;
 
 #ifdef CFG_DIRECT_FLASH_TFTP
-extern flash_info_t flash_info[CFG_MAX_FLASH_BANKS];
+extern flash_info_t flash_info[];
 #endif
 
 static __inline__ void