[U-Boot] [PATCH 1/1] spi: tegra20: Add support for mode selection

Jagan Teki jteki at openedev.com
Fri Sep 4 14:29:35 CEST 2015


On 4 September 2015 at 17:17, Mirza Krak <mirza.krak at hostmobility.com> wrote:
> 2015-09-04 13:35 GMT+02:00 Jagan Teki <jteki at openedev.com>:
>>
>> I think we need to or CPOL and CPHA
>>
>> what about this
>>              reg &= ~(SLINK_CMD_IDLE_SCLK_MASK | SLINK_CMD_CK_SDA);
>>
>
> The end result should be the same as
>      reg &= ~SLINK_CMD_IDLE_SCLK_MASK & ~SLINK_CMD_CK_SDA;
>
> or am I wrong?

Yes, true.

>
> But I can agree that it is easier to read/follow your suggestion.

Please make this change and send.

thanks!
-- 
Jagan | openedev.


More information about the U-Boot mailing list