[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] mkimage: pad DTBs to target-specific pointer size
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] mkimage: pad DTBs to target-specific pointer size |
Date: |
Wed, 14 Nov 2018 17:34:30 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Wed, Nov 07, 2018 at 11:44:08AM +1300, Matthew Daley wrote:
> Device tree (DTB) lengths are being padded to a multiple of 4 bytes
> rather than the target-specific pointer size. This causes objects
> following OBJ_TYPE_DTB objects to be incorrectly parsed during GRUB
> execution on arm64.
>
> Fix by using ALIGN_ADDR, not ALIGN_UP.
>
> Signed-by-off: Matthew Daley <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
Daniel