[U-Boot] [PATCH 2/2] mx6qsabrelite: Do not hardcode the CPU revision
Fabio Estevam
festevam at gmail.com
Sat Mar 16 15:50:35 CET 2013
Hi Dirk,
On Sat, Mar 16, 2013 at 2:59 AM, Dirk Behme <dirk.behme at gmail.com> wrote:
> Am 15.03.2013 22:06, schrieb Fabio Estevam:
>
>> From: Fabio Estevam <fabio.estevam at freescale.com>
>>
>> Instead of hardcoding the CPU revision, it is better to use get_cpu_rev().
>
>
> I think to remember that there is a reason why it is hard coded this way.
> Have you tested this with the Vivante GPU driver? If I remember correctly
> they check for exactly the 0x63000 and if it's not there, it won't work (?).
Good point, maybe we can do:
return (get_cpu_rev() & ~0xfff);
Regards,
Fabio Estevam
More information about the U-Boot
mailing list