474a7c51ce
Some variants need the internal pull resistor on GPIO_SSUS_40 set explicitly to pull down rather than disabling the pull, in order for the ram-id to be read correctly via GPIO. Correct this by adding a function to enable and set the internal pull and define its use as needed in the board's variant.h. Chromium source: branch: firmware-gnawty-5216.239.B /src/soc/intel/baytrail/baytrail/gpio.h#418 /src/mainboard/google/gnawty/romstage.c#60 Test: boot 4GB Candy board and observe correct RAM id, amount detected Change-Id: I8823c27385f4422184b5afa57f6048f7ff2a25ab Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/18309 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> |
||
---|---|---|
.. | ||
acpi | ||
bootblock | ||
include/soc | ||
romstage | ||
acpi.c | ||
chip.c | ||
chip.h | ||
cpu.c | ||
dptf.c | ||
ehci.c | ||
elog.c | ||
emmc.c | ||
gfx.c | ||
gpio.c | ||
hda.c | ||
iosf.c | ||
Kconfig | ||
lpe.c | ||
lpss.c | ||
Makefile.inc | ||
memmap.c | ||
northcluster.c | ||
pcie.c | ||
perf_power.c | ||
placeholders.c | ||
pmutil.c | ||
ramstage.c | ||
refcode.c | ||
reset.c | ||
sata.c | ||
scc.c | ||
sd.c | ||
smihandler.c | ||
smm.c | ||
southcluster.c | ||
spi.c | ||
stage_cache.c | ||
tsc_freq.c | ||
xhci.c |