diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2010-12-13 11:53:27 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-14 15:15:06 +0100 |
commit | e4f17bd3941fad3ebd687c65260d096f1f2020f8 (patch) | |
tree | 111ba8d3ca19492f2a9af537805803c4d4b9a131 | |
parent | 8dc537022ef42fe9b7ce4bd62cf2956c481caca3 (diff) | |
download | barebox-e4f17bd3941fad3ebd687c65260d096f1f2020f8.tar.gz barebox-e4f17bd3941fad3ebd687c65260d096f1f2020f8.tar.xz |
STM378x: Do not configure any pin usage in the driver
Only the platform should configure pins to be used by the driver.
The driver must work independently from the settings.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | drivers/serial/stm-serial.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/serial/stm-serial.c b/drivers/serial/stm-serial.c index 3edd484b..a225e30c 100644 --- a/drivers/serial/stm-serial.c +++ b/drivers/serial/stm-serial.c @@ -134,13 +134,6 @@ static int stm_clocksource_clock_change(struct notifier_block *nb, unsigned long static int stm_serial_init_port(struct console_device *cdev) { struct device_d *dev = cdev->dev; - /* - * If the board specific file registers this console we should force - * the usage of the debug UART pins, to be able to let the user see - * the output, even if the board file forgets to configure these pins. - */ - imx_gpio_mode(PWM1_DUART_TX); - imx_gpio_mode(PWM0_DUART_RX); /* Disable UART */ writel(0, dev->map_base + UARTDBGCR); |