diff options
| author | Nicholas Piggin <[email protected]> | 2026-05-22 17:54:17 -0500 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2026-06-13 15:22:32 +0530 |
| commit | 9c9767504d4e2e48015642239cea954d17ea6bef (patch) | |
| tree | 8616a9a7824b82c7b95b31c9f0ef8a10833855c2 /lib/utils | |
| parent | 3d29f380a66c2b5608faf7e4f4b0ff3c945d0d64 (diff) | |
lib: sbi: Drop fw_rw_offset alignment requirement for single fw region
In a single fw region scheme, there is no separate PMP created for RW
memory. The checks that opensbi does for the alignment between fw_start
and fw_rw_start (using fw_rw_offset) and the power of 2 check for
fw_rw_offset are no longer necessary.
Update sbi_domain_init so that these checks are only done in the non
single fw region scheme.
Signed-off-by: Nicholas Piggin <[email protected]>
Co-developed-by: Anirudh Srinivasan <[email protected]>
Signed-off-by: Anirudh Srinivasan <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/20260522-fw_rw_start_alignment-v1-1-362c17331541@oss.tenstorrent.com
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions
