diff mbox series

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

Message ID 20201015081211.1956554-6-anup.patel@wdc.com
State Superseded
Headers show
Series Builtin DTB improvements | expand

Commit Message

Anup Patel Oct. 15, 2020, 8:12 a.m. UTC
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@wdc.com>
---
 platform/kendryte/k210/objects.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Atish Patra Oct. 16, 2020, 11:31 p.m. UTC | #1
On Thu, Oct 15, 2020 at 1:13 AM Anup Patel <anup.patel@wdc.com> wrote:
>
> 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@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
>
>
> --
> opensbi mailing list
> opensbi@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi


Reviewed-by: Atish Patra <atish.patra@wdc.com>
diff mbox series

Patch

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