allow the use of CFG_LOADS when CFG_NO_FLASH is set
 Changes since U-Boot 0.3.1:
 ======================================================================
 
+* Patch by Christophe Lindheimer, 20 May 2003:
+  allow the use of CFG_LOADS when CFG_NO_FLASH is set
+
 * Fix SDRAM timing on Purple board
 
 * Add support for CompactFlash on ATC board
 
                case SREC_DATA3:
                case SREC_DATA4:
                    store_addr = addr + offset;
+#ifndef CFG_NO_FLASH
                    if (addr2info(store_addr)) {
                        int rc;
 
                                flash_perror (rc);
                                return (~0);
                        }
-                   } else {
+                   } else
+#endif
+                   {
                        memcpy ((char *)(store_addr), binbuf, binlen);
                    }
                    if ((store_addr) < start_addr)