[U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

Scott Jiang scott.jiang.linux at gmail.com
Fri Oct 31 08:12:09 CET 2014


Hi Heiko,


>>   static int wait_for_completion(struct i2c_msg *msg)
>>   {
>> -       uint16_t int_stat;
>> +       u16 int_stat, ctl;
>
>
> This change is not related to the subject of the patch,
> please split this into seperate patches ...
>
>>         ulong timebase = get_timer(0);
>>
>>         do {
>> -               int_stat = twi->int_stat;
>> +               int_stat = readw(&twi->int_stat);
>
>
> Here too... please fix globally.
>

This patch is to modify blackfin specific string or api to generic.
So I use standard io api readl/writel here. I'm not sure what you
mean.

Scott


More information about the U-Boot mailing list