[PATCH] [v2] PPC 4xx: Enable XMON on PPC 4xx boards
Josh Boyer
jdub at us.ibm.com
Thu Sep 7 23:29:53 EST 2006
On Thu, 2006-09-07 at 09:23 -0400, Matt Porter wrote:
>
> These can be represented with CONFIG_44x. Though it doesn't work for
> 440EP since it doesn't have the 36-bit memory map. It should be:
>
> +#elif ( defined(CONFIG_44x) && !defined(CONFIG_440EP) )
> + sccd = (volatile unsigned char *) ioremap64(0x0000000140000200ULL, 8);
> + sccc = sccd + 5;
> + TXRDY = 0x20;
> + RXRDY = 1;
> + DLAB = 0x80;
Right. I don't have access to a 440EP board anymore, so I couldn't test
it.
> Adding in another case would enable 440EP as well:
>
> +#elif ( defined(CONFIG_440EP) )
> + sccd = (volatile unsigned char *) ioremap(0xef600300, 8);
> + sccc = sccd + 5;
> + TXRDY = 0x20;
> + RXRDY = 1;
> + DLAB = 0x80;
That seems correct to me. I'll add that and send out another version
shortly.
josh
More information about the Linuxppc-dev
mailing list