rockchip: Streamline and complete UARTn_BASE macros.
authorChristoph Müllner <[email protected]>
Tue, 30 Apr 2019 23:37:58 +0000 (01:37 +0200)
committerChristoph Müllner <[email protected]>
Wed, 1 May 2019 00:15:43 +0000 (02:15 +0200)
commit0957b9b2717d314fc669b22542e8329d48f178ef
tree4a01a736bb760fe4d37b05dffe4ce89ab7bce056
parent19b4f689c6f58cb2da9377bcec32c79a97d3fb73
rockchip: Streamline and complete UARTn_BASE macros.

In order to set the UART base during bootup in common code of
plat/rockchip, we need to streamline the way the UART base addresses
are defined and add the missing definitions and mappings.

This patch does so by following the pattern UARTn_BASE, which is
already in use on RK3399 and RK3328. The numbering itself is derived
from the upstream Linux DTS files of the individual SoCs.

Signed-off-by: Christoph Müllner <[email protected]>
Change-Id: I341a1996f4ceed5f82a2f6687d4dead9d7cc5c1f
plat/rockchip/rk3288/drivers/soc/soc.c
plat/rockchip/rk3288/include/platform_def.h
plat/rockchip/rk3288/rk3288_def.h
plat/rockchip/rk3328/drivers/soc/soc.c
plat/rockchip/rk3328/include/platform_def.h
plat/rockchip/rk3328/rk3328_def.h
plat/rockchip/rk3368/drivers/soc/soc.c
plat/rockchip/rk3368/include/platform_def.h
plat/rockchip/rk3368/rk3368_def.h