[U-Boot] [PATCH v7 00/21] imx6: Add Engicam i.CoreM6 QDL support

Jagan Teki jagan at openedev.com
Mon Oct 24 14:09:19 CEST 2016


Hi Stefano,

On Mon, Oct 24, 2016 at 5:31 PM, Stefano Babic <sbabic at denx.de> wrote:
> Hi Jagan,
>
> On 24/10/2016 13:46, Jagan Teki wrote:
>
>>>
>>> No, this is not the correct way to do. We should stick with the patches
>>> sent to ML and included in patchworks. They are documented and I cannot
>>> (that means, all custodians are not allowed) to simply pick up patches
>>> from somewhere else.
>>
>> True, but I am not saying you to just apply the branch. My intention
>> was to check the new changes from your side so-that will send the
>> series to ML again.
>
> ok
>
>>
>>>
>>> It is enough that we agree about issue and solution. I had already
>>> tested with the following patch:
>>>
>>> diff --git a/configs/imx6qdl_icore_mmc_defconfig
>>> b/configs/imx6qdl_icore_mmc_defconfig
>>> index 221ea7e..c947e10 100644
>>> --- a/configs/imx6qdl_icore_mmc_defconfig
>>> +++ b/configs/imx6qdl_icore_mmc_defconfig
>>> @@ -6,6 +6,8 @@ CONFIG_DEFAULT_FDT_FILE="imx6dl-icore.dtb"
>>>  CONFIG_DEFAULT_DEVICE_TREE="imx6dl-icore"
>>>  CONFIG_SYS_PROMPT="icorem6qdl> "
>>>  CONFIG_SPL=y
>>> +# CONFIG_BLK is not set
>>> +# CONFIG_DM_MMC_OPS is not set
>>>  CONFIG_BOOTDELAY=3
>>>  CONFIG_BOARD_EARLY_INIT_F=y
>>>  CONFIG_DISPLAY_CPUINFO=y
>>> diff --git a/configs/imx6qdl_icore_nand_defconfig
>>
>> nand_defconfig doesn't require this change.
>>
>
> It is what I had expected, but fsl_esdhc is built even in the NAND
> configuration. There is omething else enabling (not in defconfig).
>
> In fact, dropping the two lines, I get the error again for
> imx6qdl_icore_nand.
>
> The reason is that even if MMC is not set, as far I can see,  these are
> automatically set:
>
> CONFIG_DM_MMC=y
> CONFIG_DM_MMC_OPS=y

Ohh, Ok, This is because mx6_common.h by default enabling the MMC.
So I will update these on nand support patch[1]  and send the single
patch, is that OK?

[1] [PATCH v8 21/23] imx6: icorem6: Add NAND support

-- 
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.


More information about the U-Boot mailing list