On 12/10/14 13:12, Ard Biesheuvel wrote:
Well, considering all the concerns you raise (including the ones below), it is perhaps better to retain the old allocation, and pass the address via the HOB, instead of the payload itself.
Good point, let's do that. :)
This was what I set out to do but then I realized it would be much easier to pass the entire DTB ...
So that's why the "FdtHobData" local variable has type (UINT64 *) in the patch, rather than (VOID *). Because originally you only wanted to store an address in the HOB. :)
Laszlo