]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: tegra: don't request GPIO from Seaboard's SPL
authorStephen Warren <swarren@nvidia.com>
Mon, 22 Oct 2012 06:19:36 +0000 (06:19 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 29 Oct 2012 16:07:05 +0000 (09:07 -0700)
commita2ab6b7d320423ab4d925d75c588c2a13fce61c6
treeb47a19e637893aea4cf23b510890348d20e5306e
parentda1f735272aaccf201b7d289c86fe8c6ff848f4f
ARM: tegra: don't request GPIO from Seaboard's SPL

Seaboard has a GPIO that switches an external mux between Tegra's debug
UART and SPI flash. This is initialized from the SPL so that SPL debug
output can be seen. Simplify the code that does this, and don't actually
request the GPIO in the SPL; just program it. This saves ~4.5K from the
size of the SPL, mostly BSS due to the large gpio_names[] table that is
no longer required. This makes Seaboard's SPL fit within the current max
size.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Allen Martin <amartin@nvidia.com>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/seaboard/seaboard.c