diff options
| author | Samuel Holland <samuel.holland@sifive.com> | 2024-07-30 21:58:54 -0700 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2024-08-24 13:02:54 +0530 |
| commit | 6e5db7b09c6c25be59900a3470923727a4e14033 (patch) | |
| tree | 665c8ce7ac46e77118da40f4c0b8852490116ec1 /include | |
| parent | 3f964652d9236bcd5a7111bace3fd8bdb5dec7b1 (diff) | |
| download | opensbi-6e5db7b09c6c25be59900a3470923727a4e14033.zip opensbi-6e5db7b09c6c25be59900a3470923727a4e14033.tar.gz opensbi-6e5db7b09c6c25be59900a3470923727a4e14033.tar.bz2 | |
platform: generic: Pass FDT to early/final_init overrides
Several of these override functions access the FDT blob. Explicitly
indicate which callbacks are allowed to modify the FDT blob by passing
the parameter as a possibly-const pointer. This also reduces code size
by deduplicating the call to fdt_get_address().
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
