ARM: EXYNOS: Fix UART address selection for DEBUG_LL
authorJoonyoung Shim <jy0922.shim@samsung.com>
Fri, 26 Sep 2014 10:43:54 +0000 (19:43 +0900)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 22 Jun 2016 06:20:43 +0000 (08:20 +0200)
commit2f3428b5cf9ba4255d8729fd249cbfb8a540d33e
treeecc1ce723a1fb5e5dc5dc43bc0c0aa3ccaa31620
parent17e0645e6ba7d7e65ec3f3e77200caf13f57d776
ARM: EXYNOS: Fix UART address selection for DEBUG_LL

The Exynos542x SoCs using A15+A7 can boot to A15 or A7. If it boots using
A7 (like on Odroid XU family boards), it can't choose right UART
physical address only the part number of CP15. Fix the detection logic
by checking the Cluster ID additionally.

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
[k.kozlowski: Extend commit message]
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/include/debug/exynos.S