mb/google/octopus: Enable DRAM_PART_NUM_IN_CBI feature for Fleex

Enable DRAM_PART_NUM_IN_CBI feature to get DRAM part number from CBI
and set DRAM_PART_IN_CBI_BOARD_ID_MIN to 2 for DVT.

BUG=b:116721822
TEST=Verified it in Fleex EVT board which rework ram id.

Change-Id: I0f191c950aa6a70069bffa1f1802386ab263a310
Signed-off-by: Ivy Jian <ivy_jian@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/28782
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marco Chen <marcochen@google.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Ivy Jian 2018-09-28 10:23:41 +08:00 committed by Patrick Georgi
parent 3f59f082e3
commit 0562c1e758
1 changed files with 2 additions and 1 deletions

View File

@ -117,6 +117,7 @@ config DRAM_PART_NUM_IN_CBI
default y if BOARD_GOOGLE_PHASER default y if BOARD_GOOGLE_PHASER
default y if BOARD_GOOGLE_MEEP default y if BOARD_GOOGLE_MEEP
default y if BOARD_GOOGLE_AMPTON default y if BOARD_GOOGLE_AMPTON
default y if BOARD_GOOGLE_FLEEX
config DRAM_PART_NUM_ALWAYS_IN_CBI config DRAM_PART_NUM_ALWAYS_IN_CBI
bool bool
@ -129,7 +130,7 @@ config DRAM_PART_IN_CBI_BOARD_ID_MIN
default 255 if BOARD_GOOGLE_YORP default 255 if BOARD_GOOGLE_YORP
default 255 if BOARD_GOOGLE_BIP default 255 if BOARD_GOOGLE_BIP
default 2 if BOARD_GOOGLE_PHASER default 2 if BOARD_GOOGLE_PHASER
default 9 if BOARD_GOOGLE_FLEEX default 2 if BOARD_GOOGLE_FLEEX
default 9 if BOARD_GOOGLE_BOBBA default 9 if BOARD_GOOGLE_BOBBA
default 1 if BOARD_GOOGLE_MEEP default 1 if BOARD_GOOGLE_MEEP
default 255 if BOARD_GOOGLE_AMPTON default 255 if BOARD_GOOGLE_AMPTON