RE: [PATCH 3/3] board_f.c: Insure 16 alignment of start_addr_sp and reserved memory

2020-01-10 Thread Patrick DELAUNAY
Hi, > From: Heinrich Schuchardt > Sent: jeudi 9 janvier 2020 18:56 > > On 1/9/20 6:11 PM, Patrick Delaunay wrote: > > Add a function reserve_sp() to reserved memory with 16 bits alignment > > I guess this is a typo: > > %s/bits/bytes/ Yes error in commit message "16 bytes alignment"... I wil

Re: [PATCH 3/3] board_f.c: Insure 16 alignment of start_addr_sp and reserved memory

2020-01-09 Thread Heinrich Schuchardt
On 1/9/20 6:11 PM, Patrick Delaunay wrote: Add a function reserve_sp() to reserved memory with 16 bits alignment I guess this is a typo: %s/bits/bytes/ Best regards Heinrich after the stack pointer (gd->start_addr_sp) and use this new function in board_f.c to reserve all the memory area (m

[PATCH 3/3] board_f.c: Insure 16 alignment of start_addr_sp and reserved memory

2020-01-09 Thread Patrick Delaunay
Add a function reserve_sp() to reserved memory with 16 bits alignment after the stack pointer (gd->start_addr_sp) and use this new function in board_f.c to reserve all the memory area (malloc, board, gd, fdt, bootstage, stacks). This 16 byte alignment is needed for cast on struct pointer for the r