Re: [PATCH 12/49] image: Create a function to do manual relocation

2021-05-06 Thread Simon Glass
Hi Rasmus, On Tue, 4 May 2021 at 01:17, Rasmus Villemoes wrote: > > On 04/05/2021 01.10, Simon Glass wrote: > > Rather than adding an #ifdef and open-coding this calculation, add a > > helper function to handle it. Use this in the image code. > > > > Signed-off-by: Simon Glass > > --- > > > >

Re: [PATCH 12/49] image: Create a function to do manual relocation

2021-05-04 Thread Rasmus Villemoes
On 04/05/2021 01.10, Simon Glass wrote: > Rather than adding an #ifdef and open-coding this calculation, add a > helper function to handle it. Use this in the image code. > > Signed-off-by: Simon Glass > --- > > (no changes since v1) > > common/image.c | 33

[PATCH 12/49] image: Create a function to do manual relocation

2021-05-03 Thread Simon Glass
Rather than adding an #ifdef and open-coding this calculation, add a helper function to handle it. Use this in the image code. Signed-off-by: Simon Glass --- (no changes since v1) common/image.c | 33 +++-- include/relocate.h | 24 +++- 2