summaryrefslogtreecommitdiff
path: root/packages/uboot-utils/fw_env.c.patch
diff options
context:
space:
mode:
authorAndrew Wilcox <andy@protium.com>2006-12-07 19:40:25 +0000
committerAndrew Wilcox <andy@protium.com>2006-12-07 19:40:25 +0000
commit0165cbef046ef6a02bf096806f2e72d3785358a5 (patch)
tree6f99f4e9035a5dcecfc17c6654ef03e44d0a7b0a /packages/uboot-utils/fw_env.c.patch
parentaa5a787f25f567632f53decbaee305315e6d1c58 (diff)
uboot: OS native utils for accessing the boot environment vars.
Diffstat (limited to 'packages/uboot-utils/fw_env.c.patch')
-rw-r--r--packages/uboot-utils/fw_env.c.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/uboot-utils/fw_env.c.patch b/packages/uboot-utils/fw_env.c.patch
new file mode 100644
index 0000000000..62f364ad4a
--- /dev/null
+++ b/packages/uboot-utils/fw_env.c.patch
@@ -0,0 +1,13 @@
+--- u-boot-1.1.2.orig/tools/env/fw_env.c 2004-12-31 01:32:54.000000000 -0800
++++ u-boot-1.1.2/tools/env/fw_env.c 2006-11-08 12:43:41.000000000 -0800
+@@ -31,7 +31,9 @@
+ #include <sys/ioctl.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
+-#include <linux/mtd/mtd.h>
++#include <stdint.h>
++#include <mtd/mtd-abi.h>
++#include <mtd/mtd-user.h>
+ #include "fw_env.h"
+
+ typedef unsigned char uchar;