Re: [U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-16 Thread Simon Glass
On Wed, 16 Jan 2019 at 14:49, Tom Rini wrote: > > On Wed, Jan 16, 2019 at 10:44:16PM +0100, Simon Goldschmidt wrote: > > Am Mi., 16. Jan. 2019, 22:34 hat Simon Glass > > geschrieben: > > > > > Hi Simon, > > > > > > On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt > > > wrote: > > > > > > > >

Re: [U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-16 Thread Tom Rini
On Wed, Jan 16, 2019 at 10:44:16PM +0100, Simon Goldschmidt wrote: > Am Mi., 16. Jan. 2019, 22:34 hat Simon Glass geschrieben: > > > Hi Simon, > > > > On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt > > wrote: > > > > > > This adds two new functions, lmb_alloc_addr and > > >

Re: [U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-16 Thread Simon Goldschmidt
Am Mi., 16. Jan. 2019, 22:34 hat Simon Glass geschrieben: > Hi Simon, > > On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt > wrote: > > > > This adds two new functions, lmb_alloc_addr and > > lmb_get_unreserved_size. > > > > lmb_alloc_addr behaves like lmb_alloc, but it tries to allocate a > >

Re: [U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-16 Thread Simon Glass
Hi Simon, On Mon, 14 Jan 2019 at 14:38, Simon Goldschmidt wrote: > > This adds two new functions, lmb_alloc_addr and > lmb_get_unreserved_size. > > lmb_alloc_addr behaves like lmb_alloc, but it tries to allocate a > pre-specified address range. Unlike lmb_reserve, this address range > must be

[U-Boot] [PATCH v10 05/10] lib: lmb: extend lmb for checks at load time

2019-01-14 Thread Simon Goldschmidt
This adds two new functions, lmb_alloc_addr and lmb_get_unreserved_size. lmb_alloc_addr behaves like lmb_alloc, but it tries to allocate a pre-specified address range. Unlike lmb_reserve, this address range must be inside one of the memory ranges that has been set up with lmb_add.