powerpc/mpc5121: move PSC FIFO memory init to platform code
authorAnatolij Gustschin <agust@denx.de>
Fri, 30 Apr 2010 13:21:26 +0000 (13:21 +0000)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 25 May 2010 06:23:16 +0000 (00:23 -0600)
commit2da8cb6af5fe0d9e16b8a49399c8b7c6cfa94d5a
tree82b77729d34fbb09ffa11f1b3da121b0f9bce050
parent011f23a3c2f20ae15b7664d3942493af107fe39b
powerpc/mpc5121: move PSC FIFO memory init to platform code

Since PSC could also be used in other modes than UART mode
we move PSC FIFO memory initialization from serial driver to
common platform code. The initialized FIFO memory slices may
not overlap, so the most easy way would be to configure them
all at once at init time for all PSC devices. This is now done
by this patch.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/powerpc/platforms/512x/mpc512x_shared.c
drivers/serial/mpc52xx_uart.c