[U-Boot] [PATCH] Make it possible to allocate physical address 0 with lmb

2011-01-26 Thread Grant Likely
LMB doesn't currently handle allocating regions based at physical address 0. This patch reworks the lmb_alloc functions to return all ones when allocation fails instead of zero so that callers can differentiate between a region allocated at zero and a failed allocation Signed-off-by: Grant Likely

Re: [U-Boot] [PATCH] Make it possible to allocate physical address 0 with lmb

2011-01-26 Thread Grant Likely
On Wed, Jan 26, 2011 at 9:57 AM, Grant Likely wrote: > LMB doesn't currently handle allocating regions based at physical > address 0.  This patch reworks the lmb_alloc functions to return > all ones when allocation fails instead of zero so that callers can > differentiate between a region allocate

Re: [U-Boot] [PATCH] Make it possible to allocate physical address 0 with lmb

2011-01-26 Thread Wolfgang Denk
Dear Grant Likely, In message <20110126165340.14306.98359.stgit@localhost6.localdomain6> you wrote: > LMB doesn't currently handle allocating regions based at physical > address 0. This patch reworks the lmb_alloc functions to return > all ones when allocation fails instead of zero so that caller

Re: [U-Boot] [PATCH] Make it possible to allocate physical address 0 with lmb

2011-01-26 Thread Grant Likely
On Wed, Jan 26, 2011 at 11:30 AM, Wolfgang Denk wrote: > Dear Grant Likely, > > In message <20110126165340.14306.98359.stgit@localhost6.localdomain6> you > wrote: >> LMB doesn't currently handle allocating regions based at physical >> address 0.  This patch reworks the lmb_alloc functions to retu