[U-Boot] [PATCH 2/2] uniphier: Drop CONFIG_I2C_EEPROM

Masahiro Yamada yamada.masahiro at socionext.com
Wed Jul 27 08:42:40 CEST 2016


Hi Tom,



>
> I'm confused because I both can't replicate my problem but know I
> checked in drivers/misc for output (I use O= always).


I have no idea.

I tried with O=
and drivers/misc/i2c_eeprom.o was built as well.






>> >  And
>> > moveconfig.py also didn't see it needed.
>>
>> This is correct behavior.
>>
>>
>> config I2C_EEPROM
>>         bool "Enable driver for generic I2C-attached EEPROMs"
>>         depends on MISC
>>
>>
>> This option depends on "MISC".
>> So, it is invisible unless MISC is defined.
>
> Ah, but I was expecting some sort of failure message from moveconfig.py
> as the option didn't get moved.  I don't know how expensive it would be,
> if possible, to detect this kind of failure however.

The tool will show as follows:

uniphier_ld4_sld8_defconfig
    CONFIG_I2C_EEPROM is not defined in Kconfig.  Do nothing.


This is the message.



 - CONFIG_... is not defined in Kconfig.  Do nothing.
   The entry for this CONFIG was not found in Kconfig.
   There are two common cases:
     - You forgot to create an entry for the CONFIG before running
       this tool, or made a typo in a CONFIG passed to this tool.
     - The entry was hidden due to unmet 'depends on'.
       This is correct behavior.


As the document says, moveconfig.py cannot know
whether it was hidden by unmet "depends on"
or it had really no entry.



-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list