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

2016-08-05 Thread Simon Glass
Hi, On 9 July 2016 at 11:27, André Przywara wrote: > On 09/07/16 15:38, Simon Glass wrote: >> On 8 July 2016 at 08:18, 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 >>> h

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

2016-07-09 Thread André Przywara
On 09/07/16 15:38, Simon Glass wrote: > On 8 July 2016 at 08:18, 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

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

2016-07-09 Thread Marek Vasut
On 07/09/2016 04:38 PM, Simon Glass wrote: On 8 July 2016 at 08:18, 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

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

2016-07-09 Thread Simon Glass
On 8 July 2016 at 08:18, 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 > .dat

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

2016-07-08 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. Si