From: Wolfgang Denk Date: Mon, 01 May 2006 22:34:44 +0200 Subject: [U-Boot-Users] PATCH: Declare load_serial_ymodem() for both CFG_CMD_LOAD{S,B} In-Reply-To: Your message of "Mon, 01 May 2006 14:49:05 CDT." <1146512944.24239.38.camel@cashmere.sps.mot.com> Message-ID: <20060501203444.1B75B3525C5@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <1146512944.24239.38.camel@cashmere.sps.mot.com> you wrote: > > Hmmmm... Interesting point. It used to look like this: > > #if (CONFIG_COMMANDS & CFG_CMD_LOADS) > static ulong load_serial (ulong offset); > static ulong load_serial_ymodem (ulong offset); > static int read_record (char *buf, ulong len); I see. Indeed. that will cause problems when CFG_CMD_LOADS is set but CFG_CMD_LOADB isn't (but anybody doing that should fix his configu- ration anyway :-) > Drop my previous patch. New patch follows. Dropped. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Program maintenance is an entropy-increasing process, and even its most skilfull execution only delays the subsidence of the system into unfixable obsolescence. - Fred Brooks, "The Mythical Man Month"