>-----Original Message-----
>From: Biwen Li <[email protected]>
>Sent: Thursday, November 14, 2019 4:06 PM
>To: Jagdish Gediya <[email protected]>; Priyanka Jain
><[email protected]>; [email protected]; [email protected];
>[email protected]; Alison Wang <[email protected]>;
>[email protected]; [email protected]; [email protected];
>Pramod Kumar <[email protected]>; Rajesh Bhagat
><[email protected]>; Ruchika Gupta <[email protected]>;
>[email protected]
>Cc: Xiaobo Xie <[email protected]>; Jiafei Pan <[email protected]>; u-
>[email protected]; Biwen Li <[email protected]>
>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 <[email protected]>
<snip>
-priyankajain
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to