diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2020-11-12 16:36:05 +0800 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2021-01-24 21:39:26 +0100 |
commit | 2161f1fcb34762d3b64aeb2e9dcd2b2e809ab272 (patch) | |
tree | 29edc5ebd03b33b28367041e22e2dc67d7b76fda /common/malloc_simple.c | |
parent | 803c8ad204576a2c8ce17ed6c73f7352d3108be2 (diff) | |
download | u-boot-2161f1fcb34762d3b64aeb2e9dcd2b2e809ab272.tar.gz u-boot-2161f1fcb34762d3b64aeb2e9dcd2b2e809ab272.tar.xz u-boot-2161f1fcb34762d3b64aeb2e9dcd2b2e809ab272.zip |
serial: add uart driver for MediaTek MT7620 SoC
This patch adds uart support for MediaTek MT7620 and earlier SoCs.
The UART used by MT7620 is incompatible with the ns16550a driver.
All registers of this UART have different addresses. A special 16-bit
register for Divisor Latch is used to set the baudrate instead of the
original two 8-bit registers (DLL and DLM).
The driver supports of-platdata which is useful for tiny SPL.
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'common/malloc_simple.c')
0 files changed, 0 insertions, 0 deletions