Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-23 Thread Andreas Dannenberg
Simon & Simon, On Wed, May 22, 2019 at 05:08:40PM -0500, Andreas Dannenberg wrote: > Hi Simon (Glass) > > On Tue, May 21, 2019 at 06:53:31PM -0600, Simon Glass wrote: > > > > > > Not having BSS available to carry over certain state to the > > > > > board_init_r() world would lead to a bunch of h

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Simon Glass
Hi Simon, On Wed, 22 May 2019 at 13:42, Simon Goldschmidt wrote: > > > > Simon Glass schrieb am Mi., 22. Mai 2019, 21:34: >> >> Hi Simon, >> >> On Wed, 22 May 2019 at 02:05, Simon Goldschmidt >> wrote: >> > >> > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: >> > > >> > > Hi Andreas, >> >

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Andreas Dannenberg
Hi Simon (Glass) On Tue, May 21, 2019 at 06:53:31PM -0600, Simon Glass wrote: > > > > Not having BSS available to carry over certain state to the > > > > board_init_r() world would lead to a bunch of hacky changes across > > > > the board I'm afraid, more below. > > > > > > This is really unfortu

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Simon Goldschmidt
Simon Glass schrieb am Mi., 22. Mai 2019, 21:34: > Hi Simon, > > On Wed, 22 May 2019 at 02:05, Simon Goldschmidt > wrote: > > > > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: > > > > > > Hi Andreas, > > > > > > On Tue, 21 May 2019 at 15:01, Andreas Dannenberg > wrote: > > > > > > > > Hi

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Simon Glass
Hi Simon, On Wed, 22 May 2019 at 02:05, Simon Goldschmidt wrote: > > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: > > > > Hi Andreas, > > > > On Tue, 21 May 2019 at 15:01, Andreas Dannenberg wrote: > > > > > > Hi Simon (Glass), > > > > > > On Sat, May 18, 2019 at 10:08:19AM -0600, Simon G

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-22 Thread Simon Goldschmidt
On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: > > Hi Andreas, > > On Tue, 21 May 2019 at 15:01, Andreas Dannenberg wrote: > > > > Hi Simon (Glass), > > > > On Sat, May 18, 2019 at 10:08:19AM -0600, Simon Glass wrote: > > > Hi Andreas, > > > > > > On Mon, 6 May 2019 at 22:49, Andreas Dannenbe

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-21 Thread Simon Glass
Hi Andreas, On Tue, 21 May 2019 at 15:01, Andreas Dannenberg wrote: > > Hi Simon (Glass), > > On Sat, May 18, 2019 at 10:08:19AM -0600, Simon Glass wrote: > > Hi Andreas, > > > > On Mon, 6 May 2019 at 22:49, Andreas Dannenberg wrote: > > > > > > Hi Simon, > > > > > > On Mon, May 06, 2019 at 09:5

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-21 Thread Andreas Dannenberg
Hi Simon (Glass), On Sat, May 18, 2019 at 10:08:19AM -0600, Simon Glass wrote: > Hi Andreas, > > On Mon, 6 May 2019 at 22:49, Andreas Dannenberg wrote: > > > > Hi Simon, > > > > On Mon, May 06, 2019 at 09:51:56PM -0600, Simon Glass wrote: > > > Hi Andreas, > > > > > > On Fri, 3 May 2019 at 14:25

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-18 Thread Simon Glass
Hi Andreas, On Mon, 6 May 2019 at 22:49, Andreas Dannenberg wrote: > > Hi Simon, > > On Mon, May 06, 2019 at 09:51:56PM -0600, Simon Glass wrote: > > Hi Andreas, > > > > On Fri, 3 May 2019 at 14:25, Andreas Dannenberg wrote: > > > > > > Simon, > > > > > > On Sat, Mar 30, 2019 at 09:18:08PM +0100

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-06 Thread Andreas Dannenberg
Hi Simon, On Mon, May 06, 2019 at 09:51:56PM -0600, Simon Glass wrote: > Hi Andreas, > > On Fri, 3 May 2019 at 14:25, Andreas Dannenberg wrote: > > > > Simon, > > > > On Sat, Mar 30, 2019 at 09:18:08PM +0100, Simon Goldschmidt wrote: > > > Simon Glass schrieb am Sa., 30. März 2019, 21:06: > > >

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-06 Thread Simon Glass
Hi Andreas, On Fri, 3 May 2019 at 14:25, Andreas Dannenberg wrote: > > Simon, > > On Sat, Mar 30, 2019 at 09:18:08PM +0100, Simon Goldschmidt wrote: > > Simon Glass schrieb am Sa., 30. März 2019, 21:06: > > > > > Hi Simon, > > > > > > On Wed, 27 Mar 2019 at 13:40, Simon Goldschmidt > > > wrote:

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-03 Thread Andreas Dannenberg
Simon, On Sat, Mar 30, 2019 at 09:18:08PM +0100, Simon Goldschmidt wrote: > Simon Glass schrieb am Sa., 30. März 2019, 21:06: > > > Hi Simon, > > > > On Wed, 27 Mar 2019 at 13:40, Simon Goldschmidt > > wrote: > > > > > > This introduces a new Kconfig option SPL_CLEAR_BSS_F. If enabled, it > > c

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-04-01 Thread Heiko Schocher
Hello Simon, Am 01.04.2019 um 10:43 schrieb Simon Goldschmidt: On Mon, Apr 1, 2019 at 8:07 AM Heiko Schocher wrote: Hello Simon, Am 30.03.2019 um 23:37 schrieb Simon Glass: Hi Simon, On Sat, 30 Mar 2019 at 15:40, Simon Goldschmidt wrote: Simon Glass schrieb am Sa., 30. März 2019, 22:

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-04-01 Thread Simon Goldschmidt
On Mon, Apr 1, 2019 at 8:07 AM Heiko Schocher wrote: > > Hello Simon, > > Am 30.03.2019 um 23:37 schrieb Simon Glass: > > Hi Simon, > > > > On Sat, 30 Mar 2019 at 15:40, Simon Goldschmidt > > wrote: > >> > >> > >> > >> Simon Glass schrieb am Sa., 30. März 2019, 22:18: > >>> > >>> Hi Simon, > >>>

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-31 Thread Heiko Schocher
Hello Simon, Am 30.03.2019 um 23:37 schrieb Simon Glass: Hi Simon, On Sat, 30 Mar 2019 at 15:40, Simon Goldschmidt wrote: Simon Glass schrieb am Sa., 30. März 2019, 22:18: Hi Simon, On Sat, 30 Mar 2019 at 14:50, Simon Goldschmidt wrote: Simon Goldschmidt schrieb am Sa., 30. März

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-31 Thread Simon Goldschmidt
On 30.03.19 23:37, Simon Glass wrote: Hi Simon, On Sat, 30 Mar 2019 at 15:40, Simon Goldschmidt wrote: Simon Glass schrieb am Sa., 30. März 2019, 22:18: Hi Simon, On Sat, 30 Mar 2019 at 14:50, Simon Goldschmidt wrote: Simon Goldschmidt schrieb am Sa., 30. März 2019, 21:18:

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-30 Thread Simon Glass
Hi Simon, On Sat, 30 Mar 2019 at 15:40, Simon Goldschmidt wrote: > > > > Simon Glass schrieb am Sa., 30. März 2019, 22:18: >> >> Hi Simon, >> >> On Sat, 30 Mar 2019 at 14:50, Simon Goldschmidt >> wrote: >> > >> > >> > >> > Simon Goldschmidt schrieb am Sa., 30. >> > März 2019, 21:18: >> >> >>

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-30 Thread Simon Goldschmidt
Simon Glass schrieb am Sa., 30. März 2019, 22:18: > Hi Simon, > > On Sat, 30 Mar 2019 at 14:50, Simon Goldschmidt > wrote: > > > > > > > > Simon Goldschmidt schrieb am Sa., 30. > März 2019, 21:18: > >> > >> > >> > >> Simon Glass schrieb am Sa., 30. März 2019, 21:06: > >>> > >>> Hi Simon, > >>>

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-30 Thread Simon Glass
Hi Simon, On Sat, 30 Mar 2019 at 14:50, Simon Goldschmidt wrote: > > > > Simon Goldschmidt schrieb am Sa., 30. März > 2019, 21:18: >> >> >> >> Simon Glass schrieb am Sa., 30. März 2019, 21:06: >>> >>> Hi Simon, >>> >>> On Wed, 27 Mar 2019 at 13:40, Simon Goldschmidt >>> wrote: >>> > >>> > Thi

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-30 Thread Simon Goldschmidt
Simon Goldschmidt schrieb am Sa., 30. März 2019, 21:18: > > > Simon Glass schrieb am Sa., 30. März 2019, 21:06: > >> Hi Simon, >> >> On Wed, 27 Mar 2019 at 13:40, Simon Goldschmidt >> wrote: >> > >> > This introduces a new Kconfig option SPL_CLEAR_BSS_F. If enabled, it >> clears >> > the bss be

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-30 Thread Simon Goldschmidt
Simon Glass schrieb am Sa., 30. März 2019, 21:06: > Hi Simon, > > On Wed, 27 Mar 2019 at 13:40, Simon Goldschmidt > wrote: > > > > This introduces a new Kconfig option SPL_CLEAR_BSS_F. If enabled, it > clears > > the bss before calling board_init_f() instead of clearing it before > calling > > b

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-30 Thread Simon Glass
Hi Simon, On Wed, 27 Mar 2019 at 13:40, Simon Goldschmidt wrote: > > This introduces a new Kconfig option SPL_CLEAR_BSS_F. If enabled, it clears > the bss before calling board_init_f() instead of clearing it before calling > board_init_r(). > > This also ensures that variables placed in BSS can b

[U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-03-27 Thread Simon Goldschmidt
This introduces a new Kconfig option SPL_CLEAR_BSS_F. If enabled, it clears the bss before calling board_init_f() instead of clearing it before calling board_init_r(). This also ensures that variables placed in BSS can be shared between board_init_f() and board_init_r() in SPL. Such global variab