]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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>
Tue, 8 Jan 2008 21:53:01 +0000 (22:53 +0100)
commit6de66b35426312a21174a9bf0576a094e2904bea
tree669558857036d28d3823ae7968490dd2c525c93e
parentce37422d0002e10490e268392e0c4e3028e52cec
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