summaryrefslogtreecommitdiff
path: root/src/arch/arm64
diff options
context:
space:
mode:
authorJimmy Huang <jimmy.huang@mediatek.com>2015-05-20 15:57:06 +0800
committerPatrick Georgi <pgeorgi@google.com>2015-06-02 11:34:42 +0200
commit2e01e8df4d61301da421a542b0005a1c15068eaa (patch)
tree8347fc4048740038c1c2c92da7ba535851c6f7cf /src/arch/arm64
parent35531197d4ef0c5ef59c9720d12a68235da86558 (diff)
downloadcoreboot-2e01e8df4d61301da421a542b0005a1c15068eaa.tar.xz
arm64: correct cacheable/non-cacheable tag string in print_tag
BRANCH=none BUG=none TEST=Booted on Oak and confirmed the output cacheable/non-cacheable string is correct. Change-Id: I062c1cc384b8cb9d07038399b1bc7ef47d992103 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 45552f95b55cd9fc81817e4ff02c78e885377065 Original-Change-Id: Ie52066dbefd2f54d0746792b89f0b57767811adb Original-Signed-off-by: Jimmy Huang <jimmy.huang@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/273994 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Original-Commit-Queue: Yidi Lin <yidi.lin@mediatek.com> Original-Tested-by: Yidi Lin <yidi.lin@mediatek.com> Reviewed-on: http://review.coreboot.org/10390 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/arm64')
-rw-r--r--src/arch/arm64/armv8/mmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm64/armv8/mmu.c b/src/arch/arm64/armv8/mmu.c
index e16ee71aa5..a3e8d7758a 100644
--- a/src/arch/arm64/armv8/mmu.c
+++ b/src/arch/arm64/armv8/mmu.c
@@ -46,8 +46,8 @@ static int free_idx;
static void print_tag(int level, uint64_t tag)
{
- printk(level, tag & MA_MEM_NC ? " cacheable | " :
- "non-cacheable | ");
+ printk(level, tag & MA_MEM_NC ? "non-cacheable | " :
+ " cacheable | ");
printk(level, tag & MA_RO ? "read-only | " :
"read-write | ");
printk(level, tag & MA_NS ? "non-secure | " :