summaryrefslogtreecommitdiff
path: root/platform/generic/sophgo
AgeCommit message (Collapse)AuthorFilesLines
2024-08-24platform: generic: Pass FDT to early/final_init overridesSamuel Holland1-1/+1
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>
2023-11-16platform: generic: Add Sophgo sg2042 platform supportInochi Amaoto2-0/+72
Add Sophgo sg2042 soc support Signed-off-by: Inochi Amaoto <inochiama@outlook.com> Reviewed-by: Guo Ren <guoren@kernel.org> Reviewed-by: Anup Patel <anup@brainfault.org>