diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-07 01:10:10 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-07 01:10:10 +0300 |
commit | 5617efd2c882562b716a61bc0dc0edda46b045df (patch) | |
tree | ea55ae3b5f8b5ed7cc2b51e07c03c13cf8058147 /drivers/serial | |
parent | b5f9d2f3aae7b208273546965be4ea5497930882 (diff) | |
parent | 725cf89512eba9a49d447f009e0b97fdf2ae5dd6 (diff) | |
download | u-boot-5617efd2c882562b716a61bc0dc0edda46b045df.tar.xz |
Merge branch '2021-07-06-platform-updates'
- mpc8379erdb DM_USB, DM_PCI and DM_ETH support.
- Drop PCI support from the integrator family of boards
- Add synquacer support
- Assorted lpc32xx updates and improvements
- snapdragon (and related) fixes, Broadcom iproc update
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/serial_msm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_msm.c index d8c6c2f6b5..d8dd5c1104 100644 --- a/drivers/serial/serial_msm.c +++ b/drivers/serial/serial_msm.c @@ -23,6 +23,7 @@ /* Serial registers - this driver works in uartdm mode*/ #define UARTDM_DMRX 0x34 /* Max RX transfer length */ +#define UARTDM_DMEN 0x3C /* DMA/data-packing mode */ #define UARTDM_NCF_TX 0x40 /* Number of chars to TX */ #define UARTDM_RXFS 0x50 /* RX channel status register */ @@ -197,6 +198,9 @@ static void uart_dm_init(struct msm_serial_data *priv) writel(MSM_BOOT_UART_DM_8_N_1_MODE, priv->base + UARTDM_MR2); writel(MSM_BOOT_UART_DM_CMD_RESET_RX, priv->base + UARTDM_CR); writel(MSM_BOOT_UART_DM_CMD_RESET_TX, priv->base + UARTDM_CR); + + /* Make sure BAM/single character mode is disabled */ + writel(0x0, priv->base + UARTDM_DMEN); } static int msm_serial_probe(struct udevice *dev) { |