coreboot/src
Gabe Black bd533cc109 tegra124: Mux some unused pins away from UARTA, and pull up the serial RX line.
On nyan boards, the hardware flow control pins for the UART aren't used or
connected to anything, but the reset pinmux settings still have them routed
out some of the SOC pins. That can break input over the serial console if the
pin is pulled in the wrong direction.

Also, if the RX line isn't connected to anything, ie if no servo is connected,
then we don't want it to float around and potentially draw power through the
input pin buffering logic. We add a pull up to it so it will go somewhere in
particular if otherwise unattached.

This is generally not a great place to put pinmux configuration because it's
specific to a particular board but this is shared by everything with a
tegra124 in it. It's a good idea to have serial output as soon as possible,
though, and the other serial related pinmux settings were probably put here
before we really understood the complexities and flexibility of the tegra
pinmux. We might want to factor out this part of the serial console config and
delegate it to a hook in the mainboard specific code, or just wait until we
call bootblock_mainboard_init.

BUG=chrome-os-partner:24138
TEST=Built and booted on a peppy based nyan. Before this change serial input
was ignored. After this change, serial input was accepted by both the firmware
and the kernel.
BRANCH=None

Change-Id: Ie5428500aa525a600eb1ff4a81b5cc2805d5cc92
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://chromium-review.googlesource.com/177637
Reviewed-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
2013-11-23 02:33:26 +00:00
..
arch arm: Remove exception_test() 2013-11-20 06:51:13 +00:00
console ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
cpu x86: Add SMM helper functions to MP infrastructure 2013-10-23 04:08:19 +00:00
device pnp: Allow setting of misc register 0xfa in device tree 2013-11-08 00:52:45 +00:00
drivers tpm: Clean up I2C TPM driver 2013-11-11 23:47:09 +00:00
ec chromeec: allow override of i8042 interrupt 2013-11-21 04:31:04 +00:00
include tpm: Clean up I2C TPM driver 2013-11-11 23:47:09 +00:00
lib arm: Move exception_init() close to console_init() 2013-11-20 06:51:09 +00:00
mainboard nyan: Create kconfig variables for each SDRAM config. 2013-11-23 02:33:14 +00:00
northbridge haswell: Report x32 memory as "x8 or x32" 2013-10-23 21:27:19 +00:00
soc tegra124: Mux some unused pins away from UARTA, and pull up the serial RX line. 2013-11-23 02:33:26 +00:00
southbridge lynxpoint: Add SATA DEVSLP disable option 2013-11-15 04:58:50 +00:00
superio pnp: Allow setting of misc register 0xfa in device tree 2013-11-08 00:52:45 +00:00
vendorcode tpm: Clean up I2C TPM driver 2013-11-11 23:47:09 +00:00
Kconfig Fix the reg_script stuff to not be used in ARM builds and not break them. 2013-11-02 01:07:13 +00:00