On Wed, 9 Mar 2011 13:35:44 -0300
Fabio Estevam <[email protected]> wrote:
...
> +++ b/board/freescale/mx31pdk/mx31pdk.c
> @@ -86,7 +86,30 @@ int board_late_init(void)
>
> int checkboard(void)
> {
> - printf("Board: i.MX31 MAX PDK (3DS)\n");
> + u32 cause;
> + struct clock_control_regs *ccm =
> + (struct clock_control_regs *)CCM_BASE;
> + puts("Board: MX31PDK [");
> +
> + cause = ccm->rcsr & 0x03;
The mask should be 0x07, since ...
> + case 0x0006:
> + puts("JTAG");
> + break;
we check if bit 2 is set here.
Best regards,
Anatolij
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot