ARM: hisi: Fix typo in comment
authorYunzhi Li <yunzhi.li@deephi.tech>
Mon, 7 Aug 2017 09:37:04 +0000 (17:37 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Wed, 16 Aug 2017 09:40:46 +0000 (10:40 +0100)
The machine code "0xe51ff004" means "ldr pc, [pc, #-4]".
This patch fixed the comment typo to avoid any confusion.

Signed-off-by: Yunzhi Li <yunzhi.li@deephi.tech>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/mach-hisi/platsmp.c

index 91bb02d..da5689a 100644 (file)
@@ -109,7 +109,7 @@ static void hix5hd2_set_scu_boot_addr(phys_addr_t start_addr, phys_addr_t jump_a
 
        virt = ioremap(start_addr, PAGE_SIZE);
 
-       writel_relaxed(0xe51ff004, virt);       /* ldr pc, [rc, #-4] */
+       writel_relaxed(0xe51ff004, virt);       /* ldr pc, [pc, #-4] */
        writel_relaxed(jump_addr, virt + 4);    /* pc jump phy address */
        iounmap(virt);
 }