diff options
author | Damien Le Moal <[email protected]> | 2019-10-28 13:10:39 +0100 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2019-11-17 15:17:39 -0800 |
commit | accb9dbc4affdb7ebf30db7e9ba71eee47280081 (patch) | |
tree | 343100142069604e557a7d1cc9ffb1397928d3f3 /fs/ubifs/commit.c | |
parent | fcdc65375186a5cd69cc2eedfb498b86f4f5a21e (diff) |
riscv: read the hart ID from mhartid on boot
When in M-Mode, we can use the mhartid CSR to get the ID of the running
HART. Doing so, direct M-Mode boot without firmware is possible.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions