
On 10/18/2016 02:39 AM, Y.B. Lu wrote:
Hi York,
I have a question about CONFIG option. Are we going to completely using Kconfig in the future like kernel? I just found below compiling error.
=============Error log=================== ./scripts/check-config.sh u-boot.cfg \ ./scripts/config_whitelist.txt . 1>&2 Error: You must add new CONFIG options using Kconfig The following new ad-hoc CONFIG options were detected: CONFIG_SYS_FSL_ERRATUM_ESDHC_A009620
Please add these via Kconfig instead. Find a suitable Kconfig file and add a 'config' or 'menuconfig' option. make: *** [all] Error 1 ===========================================
As you know, all CONFIG options of the QorIQ eSDHC driver were defined in <board>.h. Should we convert to use Kconfig for eSDHC driver?
That is the direction U-Boot is taking. Please check my recent commits on upstream U-Boot for examples to move config macros to Kconfig. I converted some DDR options, and some errata macros.
York