diff --git a/patch.sh b/patch.sh index 49191e7c15e7365e6c36a216bb9524ed56470f21..b2568b5efcfb214306fe2258553599092601c656 100644 --- a/patch.sh +++ b/patch.sh @@ -134,12 +134,15 @@ patch -s -p1 < "${DIR}/patches/panda/0001-panda-fix-wl12xx-regulator.patch" } function fixes { -echo "cherry pick fixes" -git am "${DIR}/patches/fixes/0001-ARM-OMAP-AM3517-3505-fix-crash-on-boot-due-to-incorr.patch" -git am "${DIR}/patches/fixes/0001-ARM-OMAP4-hwmod-Don-t-wait-for-the-idle-status-if-mo.patch" -git am "${DIR}/patches/fixes/0001-ARM-OMAP4-clock-Add-CPU-local-timer-clock-node.patch" -git am "${DIR}/patches/fixes/0001-ARM-OMAP3-hwmod-data-disable-multiblock-reads-on-MMC.patch" -git am "${DIR}/patches/fixes/0001-OMAP-HWMOD-add-es3plus-to-am36xx-am35xx.patch" +echo "generic fixes" + +git am "${DIR}/patches/fixes/0001-OMAP-UART-Enable-tx-wakeup-bit-in-wer.patch" + +#git am "${DIR}/patches/fixes/0001-ARM-OMAP-AM3517-3505-fix-crash-on-boot-due-to-incorr.patch" +#git am "${DIR}/patches/fixes/0001-ARM-OMAP4-hwmod-Don-t-wait-for-the-idle-status-if-mo.patch" +#git am "${DIR}/patches/fixes/0001-ARM-OMAP4-clock-Add-CPU-local-timer-clock-node.patch" +#git am "${DIR}/patches/fixes/0001-ARM-OMAP3-hwmod-data-disable-multiblock-reads-on-MMC.patch" +#git am "${DIR}/patches/fixes/0001-OMAP-HWMOD-add-es3plus-to-am36xx-am35xx.patch" } bugs_trivial @@ -164,7 +167,7 @@ touchbook #omap4/dvfs still needs more testing.. omap4 -#fixes +fixes echo "patch.sh ran successful" diff --git a/patches/fixes/0001-OMAP-UART-Enable-tx-wakeup-bit-in-wer.patch b/patches/fixes/0001-OMAP-UART-Enable-tx-wakeup-bit-in-wer.patch new file mode 100644 index 0000000000000000000000000000000000000000..51e322e47cf49b44c31f13f3e1a4ea13cf1d8357 --- /dev/null +++ b/patches/fixes/0001-OMAP-UART-Enable-tx-wakeup-bit-in-wer.patch @@ -0,0 +1,36 @@ +From e8dc1e2f49705059ee60106a998465ed065d0a03 Mon Sep 17 00:00:00 2001 +From: Govindraj.R <govindraj.raja@ti.com> +Date: Tue, 24 Jan 2012 19:07:29 +0530 +Subject: [PATCH] OMAP: UART: Enable tx wakeup bit in wer + +On omap3630 onwards uart wer reg has bit 7 +for tx wakeup enable. + +Without this bit set some uart sluggishness might be seen +while printing data on console, response is better when +enabling this bit. +Tested with Beagle XM (OMAP3630) + +Cc: Kevin Hilman <khilman@ti.com> +Cc: Paul Walmsley <paul@pwsan.com> +Signed-off-by: Govindraj.R <govindraj.raja@ti.com> +--- + arch/arm/plat-omap/include/plat/omap-serial.h | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/plat-omap/include/plat/omap-serial.h b/arch/arm/plat-omap/include/plat/omap-serial.h +index 9ff4444..0c22d8d 100644 +--- a/arch/arm/plat-omap/include/plat/omap-serial.h ++++ b/arch/arm/plat-omap/include/plat/omap-serial.h +@@ -39,7 +39,7 @@ + /* WER = 0x7F + * Enable module level wakeup in WER reg + */ +-#define OMAP_UART_WER_MOD_WKUP 0X7F ++#define OMAP_UART_WER_MOD_WKUP 0xFF + + /* Enable XON/XOFF flow control on output */ + #define OMAP_UART_SW_TX 0x04 +-- +1.7.4.1 +