coreboot-kgpe-d16/src/soc/intel/baytrail
Matt DeVillier 474a7c51ce google/rambi: add explicit pull-down for ram-id
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>
2017-02-14 13:03:53 +01:00
..
acpi soc/intel: Update license headers 2016-04-14 16:54:33 +02:00
bootblock soc/intel: Update license headers 2016-04-14 16:54:33 +02:00
include/soc google/rambi: add explicit pull-down for ram-id 2017-02-14 13:03:53 +01:00
romstage soc/intel/common: remove mrc cache assumptions 2016-12-15 07:51:35 +01:00
acpi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
chip.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
chip.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpu.c soc/intel/baytrail: convert to using common MP and SMM init 2016-05-04 18:52:10 +02:00
dptf.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ehci.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
elog.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
emmc.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gfx.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gpio.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
hda.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
iosf.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig MMCONF_SUPPORT: Flip default to enabled 2016-12-07 13:00:31 +01:00
lpe.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
lpss.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Makefile.inc cpu: microcode: Use microcode stored in binary format 2015-09-30 06:57:19 +00:00
memmap.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
northcluster.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pcie.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
perf_power.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
placeholders.c {cpu,soc}/intel: remove unused smm_init() function 2016-05-06 16:48:21 +02:00
pmutil.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ramstage.c baytrail: add C0 and D0 stepping decode 2015-11-21 03:41:34 +01:00
refcode.c lib: remove assets infrastructure 2015-12-10 04:44:09 +01:00
reset.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sata.c src/soc: Add required space before opening parenthesis '(' 2016-08-31 20:09:42 +02:00
scc.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sd.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smihandler.c soc/intel/baytrail: use common Intel ACPI hardware definitions 2016-07-15 08:31:56 +02:00
smm.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
southcluster.c baytrail: fix missing brackets around ir_base to fix IRQ routing 2015-11-28 19:17:05 +01:00
spi.c spi: Get rid of SPI_ATOMIC_SEQUENCING 2016-12-23 04:54:55 +01:00
stage_cache.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tsc_freq.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
xhci.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00