summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin Chiu <kevin.chiu.17802@gmail.com>2021-09-07 16:59:38 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-01-27 14:47:02 +0000
commit2c7e4988764c746da7bca0c7e1ad8d0bc4664acd (patch)
tree34472ba2941397715d1fc9d4c8d890f2a8f22d49 /src
parent8d6c1c2d0e0691969ffa516f86aa6c3b410923eb (diff)
mb/google/kukui: Add dedicated memory map for kappa
Add a dedicated memory mapping table starting at index 0x40: 0x40 SAMSUNG 4GB LP4X K4UBE3D4AA-MGCR 0x41 HYNIX 4GB QDP LP4X H9HCNNNCPMALHR-NEE 0x42 MICRON 4GB LP4X MT53E1G32D4NQ-046 WT:E 0x43 MICRON 4GB LP4X MT53E1G32D2NP-046 WT:A 0x44 MICRON 4GB LP4X MT53E1G32D2NP-046 WT:B 0x45 HYNIX 4GB LP4X H54G56CYRBX247 0x46 SAMSUNG 4GB LP4X K4UBE3D4AB-MGCL 0x48 SAMSUNG 4GB LP4X K4UBE3D4AA-MGCL 0x49 MICRON 8GB LP4X MT53E2G32D4NQ-046 WT:A 0x4A HYNIX 4GB QDP LP4X H9HCNNNCPMMLXR-NEE 0x4B Micron MT29VZZZAD9GQFSM BUG=b:162379736 BRANCH=kukui TEST=emerge-jacuzzi coreboot Signed-off-by: Kevin Chiu <kevin.chiu@quantatw.com> Change-Id: I97f296cb8c35fd2f979a05d0b97a0562c1b472f3 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57442 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/kukui/Kconfig1
-rw-r--r--src/mainboard/google/kukui/sdram_configs.c13
2 files changed, 14 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/Kconfig b/src/mainboard/google/kukui/Kconfig
index 4c44c565ca..a1614ed2aa 100644
--- a/src/mainboard/google/kukui/Kconfig
+++ b/src/mainboard/google/kukui/Kconfig
@@ -92,6 +92,7 @@ config BOARD_SDRAM_TABLE_OFFSET
default 0x10 if BOARD_GOOGLE_BURNET || BOARD_GOOGLE_ESCHE || BOARD_GOOGLE_FENNEL || BOARD_GOOGLE_CERISE || BOARD_GOOGLE_STERN || BOARD_GOOGLE_MAKOMO || BOARD_GOOGLE_MUNNA
default 0x20 if BOARD_GOOGLE_KAKADU || BOARD_GOOGLE_KATSU
default 0x30 if BOARD_GOOGLE_COZMO || BOARD_GOOGLE_PICO
+ default 0x40 if BOARD_GOOGLE_KAPPA
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 040810e1d8..7891c6edb0 100644
--- a/src/mainboard/google/kukui/sdram_configs.c
+++ b/src/mainboard/google/kukui/sdram_configs.c
@@ -55,6 +55,19 @@ static const char *const sdram_configs[] = {
[0x39] = "sdram-lpddr4x-MT53E2G32D4NQ-046-8GB",
[0x3a] = "sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB",
[0x3b] = "sdram-lpddr4x-H9HCNNNFAMMLXR-NEE-8GB",
+
+ /* Table shared by Kappa and its variants, offset = 0x40 */
+ [0x40] = "sdram-lpddr4x-K4UBE3D4AA-MGCR-4GB",
+ [0x41] = "sdram-lpddr4x-H9HCNNNCPMALHR-4GB",
+ [0x42] = "sdram-lpddr4x-MT53E1G32D4NQ-4GB",
+ [0x43] = "sdram-lpddr4x-MT53E1G32D2NP-046-4GB",
+ [0x44] = "sdram-lpddr4x-MT53E1G32D4NQ-4GB",
+ [0x45] = "sdram-lpddr4x-H9HCNNNCPMALHR-4GB",
+ [0x46] = "sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB",
+ [0x48] = "sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB",
+ [0x49] = "sdram-lpddr4x-MT53E2G32D4NQ-046-8GB",
+ [0x4a] = "sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB",
+ [0x4b] = "sdram-lpddr4x-MT29VZZZAD9GQFSM-046-4GB",
};
static struct sdram_params params;