serial/mpc52xx_uart: prepare for adding MPC5125 PSC UART support
authorMatteo Facchinetti <matteo.facchinetti@sirius-es.it>
Fri, 24 May 2013 18:24:58 +0000 (20:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 17:22:35 +0000 (10:22 -0700)
commit2574b27eee4f00f2773d1c209218b3f4cf34a3ca
tree505b17eacf962c3e0be4a105b9c9bab72071fc7d
parent696faedd616e202f5c510cd03dcc8853c11ca6db
serial/mpc52xx_uart: prepare for adding MPC5125 PSC UART support

MPC5125 PSC controller has different register layout than MPC5121.
To support MPC5125 PSC in this driver we have to provide further
psc_ops functions for SoC specific register accesses.

Add new register access functions to the psc_ops structure and
provide MPC52xx and MPC512x specific implementation for them.
Then replace remaining direct register accesses in the driver by
appropriate psc_ops function calls. The subsequent patch can now
add MPC5125 specific set of psc_ops functions.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
Signed-off-by: Matteo Facchinetti <matteo.facchinetti@sirius-es.it>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mpc52xx_uart.c
This page took 0.025282 seconds and 5 git commands to generate.