Unverified Commit 8b08f501 authored by Michael Clark's avatar Michael Clark Committed by Palmer Dabbelt
Browse files

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: default avatarMichael Clark <michaeljclark@mac.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
parent bcae803a
......@@ -64,7 +64,7 @@ ENTRY(_start)
/* Start the kernel */
mv a0, s0
mv a1, s1
call sbi_save
call parse_dtb
tail start_kernel
relocate:
......
......@@ -144,7 +144,7 @@ asmlinkage void __init setup_vm(void)
#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));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment