diff options
author | Colin Cross <ccross@android.com> | 2012-04-04 16:27:19 (GMT) |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-04-04 16:27:19 (GMT) |
commit | fd9abe1b5beafe776c51507dac32486f627c6ad8 (patch) | |
tree | e3a2a1db44bf7bc1b75a8f838e3bb1977e974b2d /drivers/parisc/led.c | |
parent | 8551f3ff49aeda57c6c204a4a4769395fa679fb8 (diff) | |
download | linux-fd9abe1b5beafe776c51507dac32486f627c6ad8.tar.xz |
ARM: EXYNOS: fix CONFIG_DEBUG_LL
addruart cannot read from the physical address of the chipid
register, that will fail as soon as the mmu is turned on.
Fixing it to read from the physical or virtual address depending
on the mmu state also does not work, because there is a period
between head.S and exynos_map_io where the mmu is on, the uart
is mapped and used, but the chipid mapping is not yet present.
Fix addruart to use the ARM Main ID cp15 register to determine
if the core is Cortex A15 (EXYNOS5) or not (EXYNOS4).
Signed-off-by: Colin Cross <ccross@android.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'drivers/parisc/led.c')
0 files changed, 0 insertions, 0 deletions