[U-Boot] [U-Boot,2/3] imx: mx6: correct IPU clock

Fabio Estevam festevam at gmail.com
Tue Sep 5 12:56:40 UTC 2017


Hi Eric,

On Mon, Sep 4, 2017 at 11:37 PM, Eric Nelson <ericnelsonaz at gmail.com> wrote:

>> --- a/include/configs/mx6sabre_common.h
>> +++ b/include/configs/mx6sabre_common.h
>> @@ -225,7 +225,11 @@
>>   #define CONFIG_BMP_16BPP
>>   #define CONFIG_VIDEO_LOGO
>>   #define CONFIG_VIDEO_BMP_LOGO
>> -#define CONFIG_IPUV3_CLK 260000000
>> +#ifdef CONFIG_MX6DL
>> +#define CONFIG_IPUV3_CLK 198000000
>> +#else
>> +#define CONFIG_IPUV3_CLK 264000000
>> +#endif
>
>
>
> Note that this should probably be applied for other boards
> which are compiled for multiple CPU types.
>
> At least the Boundary Nitrogen boards, but probably others
> like Wand have ordering options for DL or Solo processors
> and may need the reduced clock rate.

Agreed. The clock frequency decision should be done in run-time rather
than in build-time.


More information about the U-Boot mailing list