rpi gpio: Remove alt0 mode on serial pins

* Confirmed this places pins in miniUART mode
  (we don't want this mode however)
* We do need to fully understand *which* mode
  the pins need to be in for PL011 mode.. however
  the boot state of the Pi is PL011
This commit is contained in:
Alexander von Gluck IV 2012-05-14 13:54:02 -05:00
parent 78af90d494
commit 4ffe10ca33

View File

@ -99,13 +99,4 @@ gpio_init()
int pin = 0;
for (pin = 16; pin <= 25; pin++)
gpio_mode(GPIO_BASE, pin, GPIO_OUT);
// ** Prepare UART pins for serial communication
// Set alternate function 0 on UART pins
gpio_mode(GPIO_BASE, 14, GPIO_ALT0);
gpio_mode(GPIO_BASE, 15, GPIO_ALT0);
// Pull UART pins to initial state low
gpio_write(GPIO_BASE, 14, 0);
gpio_write(GPIO_BASE, 15, 0);
}