diff options
| author | Atish Patra <[email protected]> | 2020-04-21 11:14:59 -0700 |
|---|---|---|
| committer | Andes <[email protected]> | 2020-04-23 10:14:16 +0800 |
| commit | 5370478d1c7afb8b2a8a0a00b31ff97c3a2c0451 (patch) | |
| tree | ce82a93610acdd6250c6c3d7cb687cde5042b852 /scripts/Kbuild.include | |
| parent | fa16ec23bcc8c855106f055d6e552e4cc203a87d (diff) | |
riscv: Add boot hartid to device tree
Linux booting protocol mandates that register "a0" contains the hartid.
However, U-Boot can not pass the hartid via a0 during standard UEFI
protocol. DT nodes are commonly used to pass such information to the OS.
Add a DT node under chosen node to indicate the boot hartid. EFI stub
in Linux kernel will parse this node and pass it to the real kernel
in "a0" before jumping to it.
Signed-off-by: Atish Patra <[email protected]>
Reviewed-by: Rick Chen <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Tested-by: Heinrich Schuchardt <[email protected]>
Tested-by: Bin Meng <[email protected]>
Diffstat (limited to 'scripts/Kbuild.include')
0 files changed, 0 insertions, 0 deletions
