mb/google/kukui/var/cozmo: Add RAM ID table

Add the RAM ID table offset 0x30 for cozmo.

BUG=b:182776048
BRANCH=kukui
TEST=emerge-jacuzzi coreboot

Signed-off-by: Lucas Chen <lucas.chen@quanta.corp-partner.google.com>
Change-Id: Ia29d38f61975c5e29a901adbfad343153628405f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51845
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Lucas Chen 2021-03-26 16:35:02 +08:00 committed by Hung-Te Lin
parent dedd77f6dc
commit 6b0ebee63e
2 changed files with 9 additions and 0 deletions

View File

@ -79,6 +79,7 @@ config BOARD_SDRAM_TABLE_OFFSET
hex hex
default 0x10 if BOARD_GOOGLE_BURNET || BOARD_GOOGLE_ESCHE || BOARD_GOOGLE_FENNEL || BOARD_GOOGLE_CERISE || BOARD_GOOGLE_STERN || BOARD_GOOGLE_MAKOMO default 0x10 if BOARD_GOOGLE_BURNET || BOARD_GOOGLE_ESCHE || BOARD_GOOGLE_FENNEL || BOARD_GOOGLE_CERISE || BOARD_GOOGLE_STERN || BOARD_GOOGLE_MAKOMO
default 0x20 if BOARD_GOOGLE_KAKADU || BOARD_GOOGLE_KATSU default 0x20 if BOARD_GOOGLE_KAKADU || BOARD_GOOGLE_KATSU
default 0x30 if BOARD_GOOGLE_COZMO
default 0x0 default 0x0
config BOARD_OVERRIDE_LCM_ID config BOARD_OVERRIDE_LCM_ID

View File

@ -46,6 +46,14 @@ static const char *const sdram_configs[] = {
[0x27] = "sdram-lpddr4x-SDADA4CR-128G-4GB", [0x27] = "sdram-lpddr4x-SDADA4CR-128G-4GB",
[0x28] = "sdram-lpddr4x-MT29VZZZCD9GQKPR-046-8GB", [0x28] = "sdram-lpddr4x-MT29VZZZCD9GQKPR-046-8GB",
/* Table shared by Cozmo and its variants, offset = 0x30 */
[0x30] = "sdram-lpddr4x-K4UBE3D4AA-MGCR-4GB",
[0x31] = "sdram-lpddr4x-H9HCNNNCPMALHR-4GB",
[0x32] = "sdram-lpddr4x-MT53E1G32D4NQ-4GB",
[0x38] = "sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB",
[0x39] = "sdram-lpddr4x-MT53E2G32D4NQ-046-8GB",
[0x3a] = "sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB",
[0x3b] = "sdram-lpddr4x-H9HCNNNFAMMLXR-NEE-8GB",
}; };
static struct sdram_params params; static struct sdram_params params;