coreboot-kgpe-d16/src/soc/rockchip/rk3399
Julius Werner 2768a119ce rockchip: Remove pulls for gpio_output(), clean up code
Output GPIOs should never have a pull-up or pull-down resistor attached
since they're actively driven. Since some GPIOs get initialized with a
pull at power-on reset, we should explicitly overwrite that setting.
Most other platforms do this on gpio_output, but Rockchip hadn't yet.

Also, shuffle some code around to make things cleaner and allow for
easier code reuse.

BRANCH=None
BUG=chrome-os-partner:52526
TEST=Booted Kevin.

Change-Id: I1425d074ea1e90f4484e1e84a8002b057192c5f7
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: df5b236bfd58b172435043c1cb792b917a4ec4ab
Original-Change-Id: I044266d71ef8bd0518316ff72d829d1ca1e30f35
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/382531
Original-Reviewed-by: Simon Glass <sjg@google.com>
Reviewed-on: https://review.coreboot.org/16710
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2016-10-04 21:17:37 +02:00
..
include/soc gru: Add watchdog reset support 2016-09-20 21:50:39 +02:00
bl31_plat_params.c rockchip: rk3399: pass board specific message to BL31 2016-06-12 12:14:36 +02:00
bootblock.c rockchip/rk3399: Add pwm_regulator.c for pwm then ramp boot up cpu 2016-08-31 20:32:43 +02:00
chip.h rockchip: rk3399: initialize display for eDP 2016-06-03 18:08:10 +02:00
clock.c gru: Add watchdog reset support 2016-09-20 21:50:39 +02:00
display.c rockchip: rk3399: initialize display for eDP 2016-06-03 18:08:10 +02:00
gpio.c rockchip: Remove pulls for gpio_output(), clean up code 2016-10-04 21:17:37 +02:00
Kconfig rockchip/rk3399: Remove CONFIG_ARM64_A53_ERRATUM_843419 2016-10-04 21:14:52 +02:00
Makefile.inc rockchip/rk3399: Add pwm_regulator.c for pwm then ramp boot up cpu 2016-08-31 20:32:43 +02:00
mmu_operations.c rockchip: rk3399: enable mmu 2016-05-09 08:42:04 +02:00
saradc.c rockchip: rk3399: support saradc 2016-05-09 08:46:42 +02:00
sdram.c rockchip/rk3399 & gru/kevin: support sdram 933MHz on kevin 2016-08-19 18:56:52 +02:00
soc.c soc: Remove newline from CHIP_NAME 2016-07-07 17:14:01 +02:00
timer.c
tsadc.c rockchip: rk3399: add tsadc driver 2016-05-18 20:19:29 +02:00
usb.c rockchip/rk3399: Add code to neuter Type-C PHY for firmware USB 2016-08-11 22:30:21 +02:00