arm: Rename HCTR to HTCR

This appears to be a typo. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2017-05-31 17:57:12 -06:00
parent 1c2d2727d1
commit 579dfca2ef

View file

@ -147,7 +147,7 @@ static inline void mmu_setup(void)
#endif #endif
if (is_hyp()) { if (is_hyp()) {
/* Set HCTR to enable LPAE */ /* Set HTCR to enable LPAE */
asm volatile("mcr p15, 4, %0, c2, c0, 2" asm volatile("mcr p15, 4, %0, c2, c0, 2"
: : "r" (reg) : "memory"); : : "r" (reg) : "memory");
/* Set HTTBR0 */ /* Set HTTBR0 */