summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox-1.18.4/B921600.patch
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2011-04-25 14:06:48 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-04 00:54:42 +0100
commita29b96e3828ecf8a4915856d1e6733a97cd4b89f (patch)
tree119531cc1adc53b34ea119b1e7a1483d3288dcb9 /meta/recipes-core/busybox/busybox-1.18.4/B921600.patch
parentb9e63d96addd5fa1d69877e9a58e6ea92482e19b (diff)
downloadpoky-a29b96e3828ecf8a4915856d1e6733a97cd4b89f.tar.gz
busybox: upgrade to version 1.18.4
from version 1.17.3 - remove make-382-fix since it's upstreamed (From OE-Core rev: bb92a1852e17232c07658eef013f243ca6780563) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.18.4/B921600.patch')
-rw-r--r--meta/recipes-core/busybox/busybox-1.18.4/B921600.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.18.4/B921600.patch b/meta/recipes-core/busybox/busybox-1.18.4/B921600.patch
new file mode 100644
index 0000000000..803dc411d8
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-1.18.4/B921600.patch
@@ -0,0 +1,22 @@
1# copy commit message from OE as the patch comment:
2# commit 5b1ed09b1ab1a60a28a76e4658bc9957cd361b5d
3# Author: Valentin Longchamp <valentin.longchamp@epfl.ch>
4# Date: Mon Dec 8 14:43:23 2008 +0100
5
6# busybox: added support for 921600 speed of serial line
7#
8# above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
9
10diff -upNr busybox-1.7.2/libbb/speed_table.c busybox-1.7.2-921600/libbb/speed_table.c
11--- busybox-1.7.2/libbb/speed_table.c 2007-09-03 13:48:41.000000000 +0200
12+++ busybox-1.7.2-921600/libbb/speed_table.c 2008-10-09 16:23:26.269592899 +0200
13@@ -52,6 +52,9 @@ static const struct speed_map speeds[] =
14 #ifdef B460800
15 {B460800, 460800/256 + 0x8000U},
16 #endif
17+#ifdef B921600
18+ {B921600, 921600/256 + 0x8000U},
19+#endif
20 };
21
22 enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };