summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-31 17:57:12 -0600
committerSimon Glass <sjg@chromium.org>2017-06-09 13:39:31 -0600
commit579dfca2ef2fdff93ae78a942fef49f3d1da3f8c (patch)
treeb2a379d0a54b800edcb6c50aa5d01c696718375f /arch
parent1c2d2727d17a5a81caa3c611603a9e1c92ee86e1 (diff)
downloadu-boot-579dfca2ef2fdff93ae78a942fef49f3d1da3f8c.tar.gz
arm: Rename HCTR to HTCR
This appears to be a typo. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/lib/cache-cp15.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/cache-cp15.c b/arch/arm/lib/cache-cp15.c
index e9bbcf5122..0f7020a315 100644
--- a/arch/arm/lib/cache-cp15.c
+++ b/arch/arm/lib/cache-cp15.c
@@ -147,7 +147,7 @@ static inline void mmu_setup(void)
#endif
if (is_hyp()) {
- /* Set HCTR to enable LPAE */
+ /* Set HTCR to enable LPAE */
asm volatile("mcr p15, 4, %0, c2, c0, 2"
: : "r" (reg) : "memory");
/* Set HTTBR0 */