diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-07-31 14:54:12 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-24 15:27:40 +0100 |
commit | 401b3b6ea66731c3d665659d869ed06008db19e6 (patch) | |
tree | 4829aa08420e52d0956e1e10531324f054d1c9f7 /src/soc/nvidia/tegra132/Makefile.inc | |
parent | aee84263363e4fdc2b7e4762f0b4c7c68a48bea1 (diff) |
tegra132: provide pad configuration interface
Instead of sprinkling the pad configuration and pinmux
selection throughout the code allow for a data-driven
initialization sequence. Most of the calls in the
original pinmux functions require 12 bytes per pad
plus the support code. This implementation allows for
4 bytes per pad in addition to the support code.
BUG=chrome-os-partner:29981
TEST=Built and booted into depthcharge on rush.
Change-Id: I22c243a5f9891a97e14b78d8c8064e36adaf50b8
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 9329c17bbadcaab803b38842e38e1704d262817d
Original-Change-Id: I3a119b4068e880b74a0a1597f143d7c4e108a6c1
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/210833
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/8875
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/nvidia/tegra132/Makefile.inc')
-rw-r--r-- | src/soc/nvidia/tegra132/Makefile.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra132/Makefile.inc b/src/soc/nvidia/tegra132/Makefile.inc index c0a899fc61..756560dc44 100644 --- a/src/soc/nvidia/tegra132/Makefile.inc +++ b/src/soc/nvidia/tegra132/Makefile.inc @@ -7,6 +7,7 @@ bootblock-y += spi.c bootblock-y += i2c.c bootblock-y += dma.c bootblock-y += monotonic_timer.c +bootblock-y += padconfig.c bootblock-y += ../tegra/gpio.c bootblock-y += ../tegra/i2c.c bootblock-y += ../tegra/pingroup.c @@ -27,6 +28,7 @@ romstage-y += spi.c romstage-y += i2c.c romstage-y += dma.c romstage-y += monotonic_timer.c +romstage-y += padconfig.c romstage-y += romstage.c romstage-y += power.c romstage-y += sdram.c @@ -46,6 +48,7 @@ ramstage-y += spi.c ramstage-y += i2c.c ramstage-y += dma.c ramstage-y += monotonic_timer.c +ramstage-y += padconfig.c ramstage-y += ../tegra/gpio.c ramstage-y += ../tegra/i2c.c ramstage-y += ../tegra/pinmux.c |