From: Wolfgang Denk Date: Wed, 09 Jan 2008 08:51:54 +0100 Subject: [U-Boot-Users] [PATCH]: tools: fix fw_printenv tool to compile again In-Reply-To: Your message of "Tue, 27 Nov 2007 10:23:20 +0100." <871wacjb3r.fsf@denx.de> Message-ID: <20080109075154.C32056F0010@nyx.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 Dear Markus, in message <871wacjb3r.fsf@denx.de> you wrote: > > > I suggest we optionally provide a build option to allow to use the > > old include files for systems that still need it (as a separate make > > target, for example). > > How about the following: > > This patch updates the fw_printenv/fw_setenv userspace tool to include > the correct MTD header in order to compile against current kernel > headers. Backward compatibility is preserved by introducing an option > MTD_VERSION which can be set to "old" for compilation using the old MTD > headers. Along with this a number of warnings are fixed. > > Signed-off-by: Markus Klotzbuecher Applied. Thanks again. Would you please also update the wiki docs? TIA... Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Who is the oldest inhabitant of this village?" "We haven't got one; we had one, but he died three weeks ago."