mb/google/poppy/variants/nami: Add memory detection logic
commit9d2e597908d4467bd325a0b581f978e5639c8b68
authorShelley Chen <shchen@chromium.org>
Mon, 5 Mar 2018 19:15:37 +0000 (5 11:15 -0800)
committerFurquan Shaikh <furquan@google.com>
Wed, 7 Mar 2018 20:03:53 +0000 (7 20:03 +0000)
tree384ea66cec5e8a7d1c2b66c75bcc691c68ff7ef8
parentee62c4937d38880beaf629a40777a8c86639bf03
mb/google/poppy/variants/nami: Add memory detection logic

Alkali will use LPDDR3, so need to have Nami support both
DDR4 and LPDDR3.  We do this with the PCH_MEM_CONFIG4 GPIO.

BUG=b:73514687
BRANCH=None
TEST=None

Change-Id: Ife6740ce0e8fe109ded7b954134171ba91895628
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://review.coreboot.org/25000
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/mainboard/google/poppy/variants/nami/gpio.c
src/mainboard/google/poppy/variants/nami/include/variant/gpio.h
src/mainboard/google/poppy/variants/nami/memory.c