From: Dinh Nguyen Date: Thu, 27 Apr 2017 04:36:03 +0000 (-0500) Subject: armv8: minor fix to comment for enabling SMPEN bit X-Git-Tag: v2017.07-rc1~282 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9ad7147b8d38f00df1d81e237f5cfad0a0e3a39b;p=oweals%2Fu-boot.git armv8: minor fix to comment for enabling SMPEN bit The SMPEN bit is located in the cpuectlr_el1 register and not the cpuactlr_el1 register. Adjust the comment accordingly and also fix a spelling error. Signed-off-by: Dinh Nguyen CC: Mingkai Hu CC: Gong Qianyu CC: Mateusz Kulikowski CC: Hou Zhiqiang CC: York Sun CC: Albert Aribaud CC: Masahiro Yamada Reviewed-by: York Sun --- diff --git a/arch/arm/cpu/armv8/start.S b/arch/arm/cpu/armv8/start.S index 62d97f7e88..354468b905 100644 --- a/arch/arm/cpu/armv8/start.S +++ b/arch/arm/cpu/armv8/start.S @@ -86,12 +86,12 @@ save_boot_params_ret: 0: /* - * Enalbe SMPEN bit for coherency. + * Enable SMPEN bit for coherency. * This register is not architectural but at the moment * this bit should be set for A53/A57/A72. */ #ifdef CONFIG_ARMV8_SET_SMPEN - mrs x0, S3_1_c15_c2_1 /* cpuactlr_el1 */ + mrs x0, S3_1_c15_c2_1 /* cpuectlr_el1 */ orr x0, x0, #0x40 msr S3_1_c15_c2_1, x0 #endif