[U-Boot] [PATCH v3] mx31ads: Use the new relocation scheme

Fabio Estevam festevam at gmail.com
Sun Jun 12 23:58:04 CEST 2011


Hi Felix,

On Sun, Jun 5, 2011 at 4:28 AM, Felix Radensky <felix at embedded-sol.com> wrote:
...
> Unrelated to your patch, u-boot prints
>
> CPU:   Freescale i.MX31 rev 2.0 unknown at 531 MHz.Reset cause: WDOG
>
> Do you think "unknown" can be replaced by something more meaningful ?

I don't see the "unknown" string on my MX31PDK board.

Can you try the patch below and let me know if it gets rid of it?

diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/gen
index 4ebf38d..f0cfa8a 100644
--- a/arch/arm/cpu/arm1136/mx31/generic.c
+++ b/arch/arm/cpu/arm1136/mx31/generic.c
@@ -129,8 +129,9 @@ u32 get_cpu_rev(void)
        for (i = 0; i < ARRAY_SIZE(mx31_cpu_type); i++)
                if (srev == mx31_cpu_type[i].srev)
                        return mx31_cpu_type[i].v;
+       srev|= 0x8000;

-       return srev | 0x8000;
+       return srev;
 }

Regards,

Fabio Estevam


More information about the U-Boot mailing list