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>
This commit is contained in:
parent
35531197d4
commit
2e01e8df4d
|
@ -46,8 +46,8 @@ static int free_idx;
|
||||||
|
|
||||||
static void print_tag(int level, uint64_t tag)
|
static void print_tag(int level, uint64_t tag)
|
||||||
{
|
{
|
||||||
printk(level, tag & MA_MEM_NC ? " cacheable | " :
|
printk(level, tag & MA_MEM_NC ? "non-cacheable | " :
|
||||||
"non-cacheable | ");
|
" cacheable | ");
|
||||||
printk(level, tag & MA_RO ? "read-only | " :
|
printk(level, tag & MA_RO ? "read-only | " :
|
||||||
"read-write | ");
|
"read-write | ");
|
||||||
printk(level, tag & MA_NS ? "non-secure | " :
|
printk(level, tag & MA_NS ? "non-secure | " :
|
||||||
|
|
Loading…
Reference in New Issue