Alison Wang ed39218238 common: spl: Add interactive DDR debugger support for SPL image
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>
Reviewed-by: York Sun <yorksun@freescale.com>
2014-12-05 08:05:52 -08:00
..
2014-11-26 11:21:16 -05:00
2014-07-18 17:53:24 -04:00
2013-04-01 16:33:52 -04:00
2014-06-11 16:25:47 -04:00
2014-02-04 16:32:20 +01:00
2014-05-27 10:21:32 -04:00
2014-11-19 08:48:41 +01:00
2014-10-26 14:03:08 -04:00
2014-06-20 11:54:29 -06:00
2014-06-05 14:38:38 -04:00
2011-04-08 00:44:27 -04:00
2013-08-16 13:45:15 -04:00
2014-03-22 14:47:22 -06:00
2013-05-31 17:12:03 -05:00
2014-11-23 06:49:01 -05:00
2014-05-12 15:19:46 -04:00
2012-08-09 23:39:18 +02:00
2014-10-25 07:27:37 -04:00
2013-04-01 16:33:52 -04:00
2014-01-14 09:01:06 -05:00
2014-03-21 16:43:59 -04:00
2014-01-14 09:01:06 -05:00
2014-04-17 17:44:36 -04:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2014-10-22 10:36:47 -06:00
2014-03-21 16:43:59 -04:00
2014-10-22 10:36:46 -06:00
2014-06-20 11:54:29 -06:00
2010-01-18 00:23:00 +01:00
2014-09-16 12:23:56 -04:00
2011-10-22 01:13:35 +02:00
2014-10-25 07:01:59 -04:00
2014-07-18 17:53:23 -04:00
2014-11-04 06:04:00 +01:00