coreboot/src
Matt DeVillier 037cc72e33 UPSTREAM: 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

BUG=none
BRANCH=none
TEST=none

Change-Id: Ia648846f4cdf65908db9a310b201562f0ff72951
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Original-Commit-Id: 474a7c51ce
Original-Change-Id: I8823c27385f4422184b5afa57f6048f7ff2a25ab
Original-Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/18309
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://chromium-review.googlesource.com/443676
2017-02-17 04:09:18 -08:00
..
acpi UPSTREAM: src/acpi: Capitalize ACPI and SATA 2016-08-04 23:37:57 -07:00
arch UPSTREAM: x86/acpi: Add VFCT table 2017-02-06 06:43:46 -08:00
commonlib UPSTREAM: buildsystem: Drop explicit (k)config.h includes 2016-12-09 03:29:54 -08:00
console UPSTREAM: console: Enable do_printk_va_list for VBOOT 2017-01-05 11:00:16 -08:00
cpu UPSTREAM: cpu/intel/model_6fx: Add Conroe-L to cpu_device_id list 2017-01-13 15:22:22 -08:00
device UPSTREAM: ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-13 10:01:11 -08:00
drivers UPSTREAM: drivers/intel/gma/vbt: Add Kconfig symbol for SSC ref 2017-02-06 10:37:41 -08:00
ec UPSTREAM: ec/google/chromeec: let platform prepare for reboot when resetting EC 2017-02-08 07:27:11 -08:00
include UPSTREAM: ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-13 10:01:11 -08:00
lib UPSTREAM: ddr3 spd: move accessor code into lib/spd_bin.c 2017-02-13 10:01:11 -08:00
mainboard UPSTREAM: google/rambi: add explicit pull-down for ram-id 2017-02-17 04:09:18 -08:00
northbridge UPSTREAM: nb/i945/gma.c: Remove writes to FIFO Watermark registers 2017-02-17 04:09:18 -08:00
soc UPSTREAM: google/rambi: add explicit pull-down for ram-id 2017-02-17 04:09:18 -08:00
southbridge UPSTREAM: southbridge/intel/common/firmware: allow locking ME without HAVE_ME_BIN 2017-02-09 09:21:41 -08:00
superio UPSTREAM: sio/ite/it8783ef: Return (0) in ACPI _PSC methods 2016-12-16 04:50:43 -08:00
vboot UPSTREAM: build system: mark sub-make invocations as parallelizable 2017-01-31 17:07:38 -08:00
vendorcode UPSTREAM: AGESA: Remove nonexistent include path 2017-02-17 04:09:17 -08:00
Kconfig UPSTREAM: device/dram: use global DIMM_SPD_SIZE Kconfig variable 2017-02-13 10:01:10 -08:00