[PATCH v2 5/5] platform: kendryte/k210: Add some padding for FDT fixups

Anup Patel Anup.Patel at wdc.com
Mon Oct 19 00:17:35 EDT 2020



> -----Original Message-----
> From: Anup Patel <Anup.Patel at wdc.com>
> Sent: 18 October 2020 10:45
> To: Atish Patra <Atish.Patra at wdc.com>; Alistair Francis
> <Alistair.Francis at wdc.com>
> Cc: Damien Le Moal <Damien.LeMoal at wdc.com>; Anup Patel
> <anup at brainfault.org>; opensbi at lists.infradead.org; Anup Patel
> <Anup.Patel at wdc.com>
> Subject: [PATCH v2 5/5] platform: kendryte/k210: Add some padding for FDT
> fixups
> 
> The Kendryte K210 platform has built-in DTB and does not provides
> FW_PAYLOAD_FDT_ADDR. This means the FDT fixups will be done on the
> built-in DTB in absence of FW_PAYLOAD_FDT_ADDR. This patch adds some
> padding in built-in DTB for FDT fixups.
> 
> Signed-off-by: Anup Patel <anup.patel at wdc.com>
> Reviewed-by: Atish Patra <atish.patra at wdc.com>
> ---
>  platform/kendryte/k210/objects.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/platform/kendryte/k210/objects.mk
> b/platform/kendryte/k210/objects.mk
> index 106f9f2..b74da74 100644
> --- a/platform/kendryte/k210/objects.mk
> +++ b/platform/kendryte/k210/objects.mk
> @@ -11,3 +11,4 @@ platform-objs-y += platform.o
> 
>  platform-objs-y += k210.o
>  platform-varprefix-k210.o = dt_k210
> +platform-padding-k210.o = 2048
> --
> 2.25.1

Applied this patch to the riscv/opensbi repo

Regards,
Anup



More information about the opensbi mailing list