tools: fix fw_printenv tool to compile again
authorMarkus Klotzbücher <mk@denx.de>
Tue, 27 Nov 2007 09:23:20 +0000 (10:23 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 9 Jan 2008 08:51:12 +0000 (09:51 +0100)
commit64b3727b9779d86127cd576e392a987de5ebb9fd
tree3a7c11233db896f0e32bf4079f0c8e5327e60fe1
parent74ac5facb988fc488a707db228b177ead63a6541
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>
Makefile
tools/env/Makefile
tools/env/README
tools/env/fw_env.c
tools/env/fw_env.h