Commit 357273a
committed
create a size variable for the sbi_hart_ext
On some platforms, e.g. coreboot, opensbi fails as the loop in
fdt_parse_isa_one_hart is for SBI_HART_EXT_MAX (32) items,
and the array is only 15 at present.
Create a variable, sbi_hart_ext_size, which can be used
in for loops and other conditionals.
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>1 parent 29ecda9 commit 357273a
3 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| 671 | + | |
| 672 | + | |
671 | 673 | | |
672 | 674 | | |
673 | 675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| |||
0 commit comments