[U-Boot] [PATCH V3 2/3] mx7: psci: add basic psci support

Peng Fan b51431 at freescale.com
Thu Oct 22 14:38:29 CEST 2015


On Thu, Oct 22, 2015 at 10:38:10AM -0200, Fabio Estevam wrote:
>On Thu, Oct 22, 2015 at 10:34 AM, Peng Fan <Peng.Fan at freescale.com> wrote:
>
>> +/* enable all periherial can be access in nosec mode */
>> +static void init_csu(void)
>> +{
>> +       int i = 0;
>> +       for (i = 0; i < 64; i++)
>> +               writel(0x00FF00FF, 0x303e0000 + i * 4);
>
>I have already commented about this on my previous review: these
>hardcoded numbers do not look fine.
Oh. I missed this part.
Will use macro for the two value.

Regards,
Peng.

-- 


More information about the U-Boot mailing list