diff options
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.19.3/B921600.patch')
| -rw-r--r-- | meta/recipes-core/busybox/busybox-1.19.3/B921600.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.19.3/B921600.patch b/meta/recipes-core/busybox/busybox-1.19.3/B921600.patch new file mode 100644 index 0000000000..c4d98e3a27 --- /dev/null +++ b/meta/recipes-core/busybox/busybox-1.19.3/B921600.patch | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | Upstream-Status: Inappropriate [configuration] | ||
| 2 | |||
| 3 | # copy commit message from OE as the patch comment: | ||
| 4 | # commit 5b1ed09b1ab1a60a28a76e4658bc9957cd361b5d | ||
| 5 | # Author: Valentin Longchamp <valentin.longchamp@epfl.ch> | ||
| 6 | # Date: Mon Dec 8 14:43:23 2008 +0100 | ||
| 7 | |||
| 8 | # busybox: added support for 921600 speed of serial line | ||
| 9 | # | ||
| 10 | # above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 | ||
| 11 | |||
| 12 | diff -upNr busybox-1.7.2/libbb/speed_table.c busybox-1.7.2-921600/libbb/speed_table.c | ||
| 13 | --- busybox-1.7.2/libbb/speed_table.c 2007-09-03 13:48:41.000000000 +0200 | ||
| 14 | +++ busybox-1.7.2-921600/libbb/speed_table.c 2008-10-09 16:23:26.269592899 +0200 | ||
| 15 | @@ -52,6 +52,9 @@ static const struct speed_map speeds[] = | ||
| 16 | #ifdef B460800 | ||
| 17 | {B460800, 460800/256 + 0x8000U}, | ||
| 18 | #endif | ||
| 19 | +#ifdef B921600 | ||
| 20 | + {B921600, 921600/256 + 0x8000U}, | ||
| 21 | +#endif | ||
| 22 | }; | ||
| 23 | |||
| 24 | enum { NUM_SPEEDS = ARRAY_SIZE(speeds) }; | ||
