Re: [U-Boot] [PATCH] Don't tftp to unknown flash

2008-09-01 Thread Wolfgang Denk
Dear Jochen Friedrich, In message <[EMAIL PROTECTED]> you wrote: > If a board has a variable number of flash banks, there are empty entries > in flash_info[] and CFG_DIRECT_FLASH_TFTP is set, tftp boot fails with > "Outside available Flash". This patch skips flash banks with unknown > flash ids. >

[U-Boot] [PATCH] Don't tftp to unknown flash

2008-09-01 Thread Jochen Friedrich
If a board has a variable number of flash banks, there are empty entries in flash_info[] and CFG_DIRECT_FLASH_TFTP is set, tftp boot fails with "Outside available Flash". This patch skips flash banks with unknown flash ids. Signed-off-by: Jochen Friedrich <[EMAIL PROTECTED]> --- net/tftp.c |3