From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 09/10] arm: ls102xa: Add basic support for LS1021AQDS board
Date: Wed, 6 Aug 2014 11:11:36 -0700 [thread overview]
Message-ID: <53E26FD8.7020604@freescale.com> (raw)
In-Reply-To: <1404372264-2301-10-git-send-email-b18965@freescale.com>
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.
York
next prev parent reply other threads:[~2014-08-06 18:11 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 7:24 [U-Boot] [PATCH v2 0/9] arm: ls102xa: Add Freescale LS102xA SoC and LS1021AQDS/TWR board support Alison Wang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 01/10] arm: ls102xa: Add Freescale LS102xA SoC support Alison Wang
2014-07-21 21:06 ` York Sun
2014-07-03 7:24 ` [U-Boot] [PATCH v2 02/10] arm: ls102xa: Add i2c support for LS102xA Alison Wang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 03/10] net: Merge asm/fsl_enet.h into fsl_mdio.h Alison Wang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 04/10] arm: ls102xa: Add etsec support for LS102xA Alison Wang
2014-08-06 22:12 ` York Sun
2014-08-11 5:44 ` AlisonWang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 05/10] arm: ls102xa: Add esdhc " Alison Wang
2014-08-06 22:19 ` York Sun
2014-08-11 5:47 ` AlisonWang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 06/10] driver/ddr/freescale: Add support of accumulate ECC Alison Wang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 07/10] driver/ddr/freescale: Fix DDR3 driver for ARM Alison Wang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 08/10] driver/ddr/fsl: Add support of overriding chip select write leveling Alison Wang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 09/10] arm: ls102xa: Add basic support for LS1021AQDS board Alison Wang
2014-08-06 18:11 ` York Sun [this message]
2014-08-11 5:40 ` AlisonWang
2014-07-03 7:24 ` [U-Boot] [PATCH v2 10/10] arm: ls102xa: Add basic support for LS1021ATWR board Alison Wang
2014-07-03 13:11 ` [U-Boot] [PATCH v2 0/9] arm: ls102xa: Add Freescale LS102xA SoC and LS1021AQDS/TWR board support Albert ARIBAUD
2014-07-03 13:58 ` AlisonWang
2014-08-06 22:28 ` York Sun
2014-08-11 5:52 ` AlisonWang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53E26FD8.7020604@freescale.com \
--to=yorksun@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox