[U-Boot] [PATCH] [v3] powerpc: add support for the Freescale P1022DS reference board
Wolfgang Denk
wd at denx.de
Wed Jul 14 21:42:15 CEST 2010
Dear Timur Tabi,
In message <1276547304-10105-1-git-send-email-timur at freescale.com> you wrote:
> Add basic suport for the Freescale P1022DS reference board.
>
> Specifics:
>
> 1) 36-bit only
> 2) Booting from NOR flash only
> 3) Environment stored in NOR flash only
> 4) No SPI support
...
> +int checkboard(void)
> +{
> + u8 sw;
> +
> + puts("Board: P1022DS ");
> +
> + printf("Sys ID: 0x%02x, Sys Ver: 0x%02x, FPGA Ver: 0x%02x, ",
> + in_8(&pixis->id), in_8(&pixis->arch), in_8(&pixis->scver));
> +
> + sw = in_8(&PIXIS_SW(PIXIS_LBMAP_SWITCH));
> +
> + switch ((sw & PIXIS_LBMAP_MASK) >> 6) {
> + case 0:
> + printf ("vBank: %u\n", ((sw & 0x30) >> 4));
> + break;
> + case 1:
> + printf ("NAND\n");
> + break;
> + case 2:
> + case 3:
> + puts ("Promjet\n");
> + break;
> + }
Incorrect indentation.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
On a clear disk you can seek forever.
More information about the U-Boot
mailing list