Re: [U-Boot] [PATCH] SPL: tiny-printf: avoid any BSS usage

2016-07-05 Thread Vignesh R
On Monday 04 July 2016 05:26 AM, Andre Przywara wrote: > As printf calls may be executed quite early, we should avoid using any > BSS stored variables, since some boards put BSS in DRAM, which may not > have been initialised yet. > Explicitly mark those "static global" variables as belonging to t

Re: [U-Boot] [PATCH] SPL: tiny-printf: avoid any BSS usage

2016-07-04 Thread Tom Rini
On Mon, Jul 04, 2016 at 02:30:20PM +0200, Marek Vasut wrote: > On 07/04/2016 01:56 AM, Andre Przywara wrote: > >As printf calls may be executed quite early, we should avoid using any > >BSS stored variables, since some boards put BSS in DRAM, which may not > >have been initialised yet. > >Explicitl

Re: [U-Boot] [PATCH] SPL: tiny-printf: avoid any BSS usage

2016-07-04 Thread Marek Vasut
On 07/04/2016 01:56 AM, Andre Przywara wrote: As printf calls may be executed quite early, we should avoid using any BSS stored variables, since some boards put BSS in DRAM, which may not have been initialised yet. Explicitly mark those "static global" variables as belonging to the .data section,

[U-Boot] [PATCH] SPL: tiny-printf: avoid any BSS usage

2016-07-03 Thread Andre Przywara
As printf calls may be executed quite early, we should avoid using any BSS stored variables, since some boards put BSS in DRAM, which may not have been initialised yet. Explicitly mark those "static global" variables as belonging to the .data section, to keep tiny-printf clear of any BSS usage. Ple