Hi, York, On 07/03/2014 12:24 AM, Alison Wang wrote: > diff --git a/lib/lmb.c b/lib/lmb.c > index 081e418..0903222 100644 > --- a/lib/lmb.c > +++ b/lib/lmb.c > @@ -295,7 +295,7 @@ phys_addr_t __lmb_alloc_base(struct lmb *lmb, > phys_size_t size, ulong align, phy > if (max_addr == LMB_ALLOC_ANYWHERE) > base = lmb_align_down(lmbbase + lmbsize - size, > align); > else if (lmbbase < max_addr) { > - base = min(lmbbase + lmbsize, max_addr); > + base = min(lmbbase + lmbsize - 1, max_addr); > base = lmb_align_down(base - size, align); > } else > continue; > Alison, You didn't mention the change to lmb.c. It looks like a bug fix.
[Alison Wang] Yes, I will prepare a separate patch for it and add the commit message. Thanks. Best Regards, Alison Wang -- View this message in context: http://u-boot.10912.n7.nabble.com/PATCH-v2-0-9-arm-ls102xa-Add-Freescale-LS102xA-SoC-and-LS1021AQDS-TWR-board-support-tp183468p186445.html Sent from the U-Boot mailing list archive at Nabble.com. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot