>-----Original Message-----
>From: Biwen Li <biwen...@nxp.com>
>Sent: Thursday, November 14, 2019 4:06 PM
>To: Jagdish Gediya <jagdish.ged...@nxp.com>; Priyanka Jain
><priyanka.j...@nxp.com>; h...@denx.de; ja...@amarulasolutions.com;
>aford...@gmail.com; Alison Wang <alison.w...@nxp.com>;
>bhaskar.upadh...@nxp.com; feng.l...@nxp.com; jh80.ch...@samsung.com;
>Pramod Kumar <pramod.kuma...@nxp.com>; Rajesh Bhagat
><rajesh.bha...@nxp.com>; Ruchika Gupta <ruchika.gu...@nxp.com>;
>olte...@gmail.com
>Cc: Xiaobo Xie <xiaobo....@nxp.com>; Jiafei Pan <jiafei....@nxp.com>; u-
>b...@lists.denx.de; Biwen Li <biwen...@nxp.com>
>Subject: [PATCH 07/42] configs: ls1012a: enable CONFIG_DM_RTC
>
>This enables CONFIG_DM_RTC for SoC LS1012A to fix compilation error when
>enabled CONFIG_DM_I2C and CONFIG_CMD_DATE as follows:
>       - cmd/date.c: In function ‘do_date’:
>         cmd/date.c:51:12: warning: implicit declaration of function
>‘I2C_GET_BUS’; did you mean ‘IDE_BUS’? [-Wimplicit-function-declaration]
>         old_bus = I2C_GET_BUS();
>                   ^~~~~~~~~~~
>                   IDE_BUS
>         cmd/date.c:52:2: warning: implicit declaration of function
>‘I2C_SET_BUS’; did you mean ‘IDE_BUS’? [-Wimplicit-function-declaration]
>         I2C_SET_BUS(CONFIG_SYS_RTC_BUS_NUM);
>         ^~~~~~~~~~~
>         IDE_BUS
>         LD      drivers/pci/built-in.o
>         cmd/date.c:52:14: error: ‘CONFIG_SYS_RTC_BUS_NUM’ undeclared
>(first use in this function); did you mean ‘CONFIG_SYS_EEPROM_BUS_NUM’?
>         I2C_SET_BUS(CONFIG_SYS_RTC_BUS_NUM);
>                     ^~~~~~~~~~~~~~~~~~~~~~
>                     CONFIG_SYS_EEPROM_BUS_NUM
>         cmd/date.c:52:14: note: each undeclared identifier is reported only
>once for each function it appears in
>         scripts/Makefile.build:278: recipe for target cmd/date.o failed
>         make[1]: *** [cmd/date.o] Error 1
>         make[1]: *** Waiting for unfinished jobs....
>
If this compilation error is introduced by one of your patch, merge with that.
>Signed-off-by: Biwen Li <biwen...@nxp.com>
<snip>
-priyankajain
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to