summaryrefslogtreecommitdiff
path: root/packages/u-boot/u-boot-mkimage-openmoko-native/dontask.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/u-boot/u-boot-mkimage-openmoko-native/dontask.patch')
-rw-r--r--packages/u-boot/u-boot-mkimage-openmoko-native/dontask.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/u-boot/u-boot-mkimage-openmoko-native/dontask.patch b/packages/u-boot/u-boot-mkimage-openmoko-native/dontask.patch
deleted file mode 100644
index 23d4b13626..0000000000
--- a/packages/u-boot/u-boot-mkimage-openmoko-native/dontask.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-common/cmd_nand.c (yes): if the environment variable "dontask" is set to "y" or
- "Y", non-interactively assume the answer was "yes". In all other cases, ask.
-
-- Werner Almesberger <werner@openmoko.org>
-
-Index: u-boot/common/cmd_nand.c
-===================================================================
---- u-boot.orig/common/cmd_nand.c
-+++ u-boot/common/cmd_nand.c
-@@ -165,8 +165,12 @@ out:
-
- static int yes(void)
- {
-+ char *s;
- char c;
-
-+ s = getenv("dontask");
-+ if (s && (s[0] =='y' || s[0] == 'Y') && !s[1])
-+ return 1;
- c = getc();
- if (c != 'y' && c != 'Y')
- return 0;