arm: Rename HCTR to HTCR
authorSimon Glass <sjg@chromium.org>
Wed, 31 May 2017 23:57:12 +0000 (17:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 9 Jun 2017 19:39:31 +0000 (13:39 -0600)
This appears to be a typo. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/cache-cp15.c

index e9bbcf5..0f7020a 100644 (file)
@@ -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 */