summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2018-12-20 14:39:32 +0900
committerDamien Le Moal <[email protected]>2018-12-20 14:43:04 +0900
commitb88b9ee2d1ee1ead6efd0ffb501be49fc9b6fbbe (patch)
treede3537134fd1af7c3cce0b59415fa572b9bb83eb
parentfcfbb30fc368c05e5d45c7402a0e916dc58e3d42 (diff)
blob: Fix comments
Add comments to assembler (not trivial to follow). Signed-off-by: Damien Le Moal <[email protected]>
-rw-r--r--blob/fw_common.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/blob/fw_common.S b/blob/fw_common.S
index 25bdd55c..db0f7f7d 100644
--- a/blob/fw_common.S
+++ b/blob/fw_common.S
@@ -15,7 +15,10 @@
.globl _start
.globl _start_warm
_start:
- /* Jump to warm-boot for mhartid != 0 */
+ /*
+ * Jump to warm-boot if this is not the first core booting,
+ * that is, for mhartid != 0
+ */
csrr a6, mhartid
blt zero, a6, _wait_for_boot_hart
@@ -39,7 +42,7 @@ _bss_zero:
_prev_arg1_override_done:
/*
- * Relocate FDT
+ * Relocate Flatened Device Tree (FDT)
* source FDT address = previous arg1
* destination FDT address = next arg1
*