Could someone push this to u-boot-sunxi?

On Sat, Sep 13, 2014 at 2:36 AM, Hans de Goede <hdego...@redhat.com> wrote:
> Hi,
>
> On 09/12/2014 01:30 PM, Chen-Yu Tsai wrote:
>> This fixes the mmc code no longer working on sun8i after the changes to
>> stop using dma, like sun6i.
>>
>> Signed-off-by: Chen-Yu Tsai <w...@csie.org>
>> ---
>>  drivers/mmc/sunxi_mmc.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c
>> index a631c78..7e60901 100644
>> --- a/drivers/mmc/sunxi_mmc.c
>> +++ b/drivers/mmc/sunxi_mmc.c
>> @@ -57,7 +57,7 @@ static int mmc_resource_init(int sdc_no)
>>               printf("Wrong mmc number %d\n", sdc_no);
>>               return -1;
>>       }
>> -#ifdef CONFIG_SUN6I
>> +#if defined(CONFIG_SUN6I) || defined(CONFIG_SUN8I)
>>       mmchost->database = (unsigned int)mmchost->reg + 0x200;
>>  #else
>>       mmchost->database = (unsigned int)mmchost->reg + 0x100;
>>
>
> Looks good:
>
> Acked-by: Hans de Goede <hdego...@redhat.com>
>
> Regards,
>
> Hans

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to