All of lore.kernel.org
 help / color / mirror / Atom feed
From: Priyanka Jain <priyanka.jain@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 02/42] include/configs: arm: ls1012a: fix compilation error
Date: Fri, 15 Nov 2019 12:43:23 +0000	[thread overview]
Message-ID: <VE1PR04MB64941C1B702042F06D6F1975E6700@VE1PR04MB6494.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20191114103641.34085-2-biwen.li@nxp.com>



>-----Original Message-----
>From: Biwen Li <biwen.li@nxp.com>
>Sent: Thursday, November 14, 2019 4:06 PM
>To: Jagdish Gediya <jagdish.gediya@nxp.com>; Priyanka Jain
><priyanka.jain@nxp.com>; hs at denx.de; jagan at amarulasolutions.com;
>aford173 at gmail.com; Alison Wang <alison.wang@nxp.com>;
>bhaskar.upadhaya at nxp.com; feng.li_2 at nxp.com; jh80.chung at samsung.com;
>Pramod Kumar <pramod.kumar_1@nxp.com>; Rajesh Bhagat
><rajesh.bhagat@nxp.com>; Ruchika Gupta <ruchika.gupta@nxp.com>;
>olteanv at gmail.com
>Cc: Xiaobo Xie <xiaobo.xie@nxp.com>; Jiafei Pan <jiafei.pan@nxp.com>; u-
>boot at lists.denx.de; Biwen Li <biwen.li@nxp.com>
>Subject: [PATCH 02/42] include/configs: arm: ls1012a: fix compilation error
>
>This fixes a compilation error as follow:
>	- In file included from include/config.h:9:0,
>                 from ./include/common.h:23:
>	  include/config_fallbacks.h:51:4: error: #error "Cannot define
>CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
>	  #  error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is
>used"
>	    ^~~~~
>	  In file included from include/config.h:9:0,
>			 from ./include/common.h:23:
>	  include/config_fallbacks.h:51:4: error: #error "Cannot define
>CONFIG_SYS_I2C when CONFIG_DM_I2C is used"
>	  #  error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is
>used"
>	    ^~~~~
>	  scripts/Makefile.autoconf:48: recipe for target
>include/autoconf.mk.dep failed
>	  make[1]: *** [include/autoconf.mk.dep] Error 1
>	  make[1]: *** Waiting for unfinished jobs....
>	  scripts/Makefile.autoconf:77: recipe for target u-boot.cfg failed
>	  make[1]: *** [u-boot.cfg] Error 1
>	  make: *** No rule to make target include/config/auto.conf, needed
>by include/config/uboot.release.  Stop.
>
>Signed-off-by: Biwen Li <biwen.li@nxp.com>
>---
> include/configs/ls1012a_common.h | 2 ++
> 1 file changed, 2 insertions(+)
>
>diff --git a/include/configs/ls1012a_common.h
>b/include/configs/ls1012a_common.h
>index dd2a679b79..c5be1d33cc 100644
>--- a/include/configs/ls1012a_common.h
>+++ b/include/configs/ls1012a_common.h
>@@ -74,7 +74,9 @@
> 						CONFIG_SYS_SCSI_MAX_LUN)
>
> /* I2C */
>+#ifndef CONFIG_DM_I2C
> #define CONFIG_SYS_I2C
>+#endif
>
> #define CONFIG_SYS_NS16550_SERIAL
> #define CONFIG_SYS_NS16550_REG_SIZE     1
>--
>2.17.1
This error seems to appear because of "configs: ls1012a: enable CONFIG_DM_I2C" patch,
Please merge this with first patch.
Note that all patches should independently compile and should not break builds.

-priyankajain

  reply	other threads:[~2019-11-15 12:43 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-14 10:36 [U-Boot] [PATCH 01/42] configs: ls1012a: enable CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 02/42] include/configs: arm: ls1012a: fix compilation error Biwen Li
2019-11-15 12:43   ` Priyanka Jain [this message]
2019-11-14 10:36 ` [U-Boot] [PATCH 03/42] board: freescale: ls1012ardb: ls1012ardb.c: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 04/42] board: freescale: ls1012ardb: eth.c: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 05/42] configs: ls1012a: enable CONFIG_DM_GPIO to fix compilation error Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 06/42] gpio: do not include <asm/arch/gpio.h> for ARCH_LS1012A Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 07/42] configs: ls1012a: enable CONFIG_DM_RTC Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 08/42] board: freescale: ls1012aqds: support dm_i2c_* API Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 09/42] include/configs: ls1012a_common: define default i2c bus Biwen Li
2019-11-15 12:43   ` Priyanka Jain
2019-11-14 10:36 ` [U-Boot] [PATCH 10/42] configs: arm: ls1043a: enable CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 11/42] include/configs: arm: ls1043a: fix a compilation error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 12/42] configs: arm: ls1043a: enable CONFIG_DM_GPIO Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 13/42] board: freescale: ls1043aqds: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 14/42] board: freescale: ls1043aqds: fix build error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 15/42] include/configs: ls1043a_common: define default i2c bus Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 16/42] gpio: do not include <asm/arch/gpio.h> for ARCH_LS1043A Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 17/42] configs: ls1046a: enable CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 18/42] include/configs: arm: ls1046a: fix compilation error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 19/42] configs: arm: ls1046a: enable CONFIG_DM_GPIO Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 20/42] board: freescale: ls1046aqds: fix build error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 21/42] include/configs: ls1046a_common: do not define CONFIG_DM_I2C for spl Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 22/42] armv8: dts: ls1046ardb: enable i2c0 and i2c3 DT node Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 23/42] include/configs: ls1046a_common.h: define default i2c bus Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 24/42] armv8: dts: ls1046aqds: enable i2c0 DT node Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 25/42] armv8: dts: ls1046afrwy: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 26/42] board: freescale: ls1046aqds: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 27/42] board: freescale: ls1046afrwy: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 28/42] pmic: i2c: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 29/42] gpio: do not include <asm/arch/gpio.h> for ARCH_LS1046A Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 30/42] configs: arm: ls1021a: enable CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 31/42] include/configs: arm: ls1021a: fix compilation error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 32/42] board: freescale: ls1021atwr: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 33/42] configs: arm: ls1021a: fix compilation error Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 34/42] ls1021aqds: dcu: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 35/42] board: freescale: ls1021aqds: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 36/42] include/configs: ls1021atwr: i2c: do not define DM_I2C for spl Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 37/42] video: dcu: support dm_i2c_* API Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 38/42] board: freescale: common: diu_ch7301: " Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 39/42] rtc: pcf8563: support driver model Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 40/42] armv8: fsl-layerscape: spl: fix build error when enabled CONFIG_DM_I2C Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 41/42] i2c: mxc_i2c: add DM_FLAG_PRE_RELOC flag Biwen Li
2019-11-14 10:36 ` [U-Boot] [PATCH 42/42] Kconfigs: layerscape: use a convenient default value for SYS_MALLOC_F_LEN Biwen Li
2019-11-15  5:06 ` [U-Boot] [PATCH 01/42] configs: ls1012a: enable CONFIG_DM_I2C Priyanka Jain

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=VE1PR04MB64941C1B702042F06D6F1975E6700@VE1PR04MB6494.eurprd04.prod.outlook.com \
    --to=priyanka.jain@nxp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.