lib: utils: Fix shakti uart implementation
authorVijai Kumar K <vijai@behindbytes.com>
Mon, 7 Dec 2020 16:54:16 +0000 (22:24 +0530)
committerAnup Patel <anup@brainfault.org>
Thu, 7 Jan 2021 04:48:23 +0000 (10:18 +0530)
commit0d49c3bc1823df8bf229ba3ece8ca0a753f0622b
treeaff2da83d3e3f2cec3066e434cb2728446f9bca3
parent12394a269b8b60e2d37b56afb2fa39fde6a3a4b8
lib: utils: Fix shakti uart implementation

Fix uart_putc implementation.
Due to a bug in the IP, this went unnoticed.
Use macros instead of magic numbers to make the code
more readable.

Signed-off-by: Vijai Kumar K <vijai@behindbytes.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
lib/utils/serial/shakti-uart.c