summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hisi
diff options
context:
space:
mode:
authorYunzhi Li <yunzhi.li@deephi.tech>2017-08-07 17:37:04 +0800
committerWei Xu <xuwei5@hisilicon.com>2017-08-16 10:40:46 +0100
commitd2057bbb79aad0e0f20112edd7b6599f06101e64 (patch)
treefda2fb86ee6b01a886fa7feb64f697bc74d8bb48 /arch/arm/mach-hisi
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
downloadblackbird-obmc-linux-d2057bbb79aad0e0f20112edd7b6599f06101e64.tar.gz
blackbird-obmc-linux-d2057bbb79aad0e0f20112edd7b6599f06101e64.zip
ARM: hisi: Fix typo in comment
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>
Diffstat (limited to 'arch/arm/mach-hisi')
-rw-r--r--arch/arm/mach-hisi/platsmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm/mach-hisi/platsmp.c
index 91bb02dec20f..da5689ababf7 100644
--- a/arch/arm/mach-hisi/platsmp.c
+++ b/arch/arm/mach-hisi/platsmp.c
@@ -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);
}
OpenPOWER on IntegriCloud