summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kukui
diff options
context:
space:
mode:
authorLucas Chen <lucas.chen@quanta.corp-partner.google.com>2021-03-26 16:35:02 +0800
committerHung-Te Lin <hungte@chromium.org>2021-03-31 04:19:37 +0000
commit6b0ebee63e5974560f755d0d5dac7fa752899b67 (patch)
tree317b37f730ad877649637c193bba92eef9ecdeaa /src/mainboard/google/kukui
parentdedd77f6dc4b9a7bef24ddd535d3ef4e2bf9dae9 (diff)
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>
Diffstat (limited to 'src/mainboard/google/kukui')
-rw-r--r--src/mainboard/google/kukui/Kconfig1
-rw-r--r--src/mainboard/google/kukui/sdram_configs.c8
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/Kconfig b/src/mainboard/google/kukui/Kconfig
index aa14d26778..d03f5433ee 100644
--- a/src/mainboard/google/kukui/Kconfig
+++ b/src/mainboard/google/kukui/Kconfig
@@ -79,6 +79,7 @@ config BOARD_SDRAM_TABLE_OFFSET
hex
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 0x30 if BOARD_GOOGLE_COZMO
default 0x0
config BOARD_OVERRIDE_LCM_ID
diff --git a/src/mainboard/google/kukui/sdram_configs.c b/src/mainboard/google/kukui/sdram_configs.c
index a2c80e7ba5..9eb04fed28 100644
--- a/src/mainboard/google/kukui/sdram_configs.c
+++ b/src/mainboard/google/kukui/sdram_configs.c
@@ -46,6 +46,14 @@ static const char *const sdram_configs[] = {
[0x27] = "sdram-lpddr4x-SDADA4CR-128G-4GB",
[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;