public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 4/9] common: spl: Add interactive DDR debugger support for SPL image
Date: Fri, 5 Dec 2014 08:40:02 -0800	[thread overview]
Message-ID: <5481DFE2.6000207@freescale.com> (raw)
In-Reply-To: <1417590049-500-5-git-send-email-b18965@freescale.com>

On 12/02/2014 11:00 PM, Alison Wang wrote:
> To support interactive DDR debugger, cli_simple.o, cli.o, cli_readline.o,
> command.o, s_record.o, xyzModem.o and cmd_disk.o are all needed for
> drivers/ddr/fsl/interactive.c.
> 
> In current common/Makefile, the above .o files are only produced when
> CONFIG_SPL_BUILD is disabled.
> 
> For LS102xA, interactive DDR debugger is needed in SD/NAND boot too, and
> I enabled CONFIG_FSL_DDR_INTERACTIVE. But according to the current
> common/Makfile, all the above .o files are not produced in SPL part
> because CONFIG_SPL_BUILD is enabled in SPL part, the following error
> will be shown,
> 
> drivers/ddr/fsl/built-in.o: In function `fsl_ddr_interactive':
> /home/wangh/layerscape/u-boot/drivers/ddr/fsl/interactive.c:1871:
> undefined reference to `cli_readline_into_buffer'
> /home/wangh/layerscape/u-boot/drivers/ddr/fsl/interactive.c:1873:
> undefined reference to `cli_simple_parse_line'
> make[1]: *** [spl/u-boot-spl] Error 1
> make: *** [spl/u-boot-spl] Error 2
> 
> So this patch fixed this issue and the above .o files will be produced
> no matter CONFIG_SPL_BUILD is enabled or disabled.
> 
> Signed-off-by: Alison Wang <alison.wang@freescale.com>
> ---
> Change log:
>  v4: No change.
>  v3: Gave more explaination in the commit.
>  v2: No change.
> 

Applied to u-boot-mpc85xx, awaiting upstream.

York

  reply	other threads:[~2014-12-05 16:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03  7:00 [U-Boot] [PATCH v4 0/9] Add SD/NAND boot support for LS1021AQDS/TWR board Alison Wang
2014-12-03  7:00 ` [U-Boot] [PATCH v4 1/9] ls102xa: pblimage: Add pblimage tool support for LS102xA Alison Wang
2014-12-11 19:01   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 2/9] spl: Use u-boot.img instead of u-boot.bin Alison Wang
2014-12-11 19:01   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 3/9] arm: spl: Add I2C linker list in generic .lds Alison Wang
2014-12-11 19:02   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 4/9] common: spl: Add interactive DDR debugger support for SPL image Alison Wang
2014-12-05 16:40   ` York Sun [this message]
2014-12-03  7:00 ` [U-Boot] [PATCH v4 5/9] kconfig: ls1021a: add SUPPORT_SPL Alison Wang
2014-12-03  7:30   ` Masahiro Yamada
2014-12-03  7:53     ` Huan Wang
2014-12-11 19:02   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 6/9] ls102xa: qixis: Add CONFIG_QIXIS_I2C_ACCESS macro Alison Wang
2014-12-11 19:03   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 7/9] arm: ls102xa: Add SD boot support for LS1021AQDS board Alison Wang
2014-12-11 19:03   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 8/9] arm: ls102xa: Add SD boot support for LS1021ATWR board Alison Wang
2014-12-11 19:04   ` York Sun
2014-12-03  7:00 ` [U-Boot] [PATCH v4 9/9] arm: ls102xa: Add NAND boot support for LS1021AQDS board Alison Wang
2014-12-05 18:10   ` York Sun

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=5481DFE2.6000207@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