Re: [U-Boot] [PATCH v2 2/5] Align global_data to a 16-byte boundary

2015-08-11 Thread Simon Glass
On 11 August 2015 at 00:28, Bin Meng wrote: > On Tue, Aug 11, 2015 at 10:44 AM, Simon Glass wrote: >> Some archs like to have larger alignment for their global data. Use 16 bytes >> which suits all current archs. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: >> - Correct logic to

Re: [U-Boot] [PATCH v2 2/5] Align global_data to a 16-byte boundary

2015-08-10 Thread Bin Meng
On Tue, Aug 11, 2015 at 10:44 AM, Simon Glass wrote: > Some archs like to have larger alignment for their global data. Use 16 bytes > which suits all current archs. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Correct logic to round down instead of up > > common/board_f.c

[U-Boot] [PATCH v2 2/5] Align global_data to a 16-byte boundary

2015-08-10 Thread Simon Glass
Some archs like to have larger alignment for their global data. Use 16 bytes which suits all current archs. Signed-off-by: Simon Glass --- Changes in v2: - Correct logic to round down instead of up common/board_f.c | 1 + include/asm-generic/global_data.h | 2 +- 2 files chang