未验证 提交 8b08f501 编写于 作者: M Michael Clark 提交者: Palmer Dabbelt

Rename sbi_save to parse_dtb to improve code readability

The sbi_ prefix would seem to indicate an SBI interface, and save is not
very specific. After applying this patch, reading head.S makes more sense.
Signed-off-by: NMichael Clark <michaeljclark@mac.com>
Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
上级 bcae803a
...@@ -64,7 +64,7 @@ ENTRY(_start) ...@@ -64,7 +64,7 @@ ENTRY(_start)
/* Start the kernel */ /* Start the kernel */
mv a0, s0 mv a0, s0
mv a1, s1 mv a1, s1
call sbi_save call parse_dtb
tail start_kernel tail start_kernel
relocate: relocate:
......
...@@ -144,7 +144,7 @@ asmlinkage void __init setup_vm(void) ...@@ -144,7 +144,7 @@ asmlinkage void __init setup_vm(void)
#endif #endif
} }
void __init sbi_save(unsigned int hartid, void *dtb) void __init parse_dtb(unsigned int hartid, void *dtb)
{ {
early_init_dt_scan(__va(dtb)); early_init_dt_scan(__va(dtb));
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册