Markus Klotzbücher 64b3727b97 tools: fix fw_printenv tool to compile again
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 <mk@denx.de>
2008-01-09 09:51:12 +01:00
..
2006-09-01 19:44:05 +02:00
2006-10-09 00:42:01 +02:00
2001-11-03 22:15:16 +00:00
2007-11-15 08:46:46 -07:00
2001-09-06 22:25:14 +00:00
2005-07-21 11:22:21 +02:00
2003-06-27 21:31:46 +00:00
2007-07-09 23:41:45 +02:00
2001-04-02 19:55:34 +00:00
2007-05-15 22:18:07 +02:00
2004-09-08 22:03:11 +00:00