Does CONFIG_I2C_EEPROM depend on CONFIG_MISC_INIT_R?

2023-06-29 Thread sunying
Hi, We noticed that in the code implementation board/atmel/sama7g5ek/sama7g5ek.c, "#if (IS_ENABLED(CONFIG_I2C_EEPROM))" is located in the condition "#if (IS_ENABLED(CONFIG_MISC_INIT_R))". Consider that the CONFIG_I2C_EEPROM option requires access to EEPROM memory after normal initial operations

Suggestion: Does the CONFIG_RTC_DS1307 and CONFIG_DM_RTC options conflict?

2023-06-29 Thread sunying
hi, we recently noticed that RTC_DS1307 is dependent on DM_RTC in drivers/rtc/Kconfig, but the code implementation of drivers/rtc/ds1307.c: conflicts between the two. "#ifdef CONFIG_RTC_DS1307" is in the condition "#ifndef CONFIG_DM_RTC" . These two options are used to enable different RTC

[PATCH] sql: Kconfig: TPL_BANNER_PRINT depends on DEBUG_UART && TPL_SERIAL

2023-06-25 Thread sunying
From: Ying Sun As implemented in the arch/arm/mach-rockchip/tpl.c file, the CONFIG_TPL_BANNER_PRINT option will not work if either of these options is not enabled. Add dependency constraints to the CONFIG_TPL_BANNER_PRINT option definition to prevent configuration problems where option is

[PATCH] common: Kconfig: SYS_CONSOLE_ENV_OVERWRITE depends on SYS_CONSOLE_IS_IN_ENV

2023-06-25 Thread sunying
From: Ying Sun CONFIG_SYS_CONSOLE_ENV_OVERWRITE is implemented in common/console.c when "#if CONFIG_IS_ENABLED(SYS_CONSOLE_IS_IN_ENV)" is met. It is recommended to add dependency constraints to its definition. Suggested-by: Yanjie Ren Signed-off-by: Ying Sun --- common/Kconfig | 1 + 1 file

[PATCH] cmd: CONFIG_CMD_SAVES depends on CONFIG_CMD_LOADS

2023-06-25 Thread sunying
From: Ying Sun CONFIG_CMD_SAVES is used to enable support for the "saveenv" command and is only implemented in cmd/load.c when "#if defined(CONFIG_CMD_LOADS)" is met. It is recommended to add dependency constraints to its definition. Prevents "saveenv" command from not being supported when