diff options
-rw-r--r-- | src/mainboard/google/kukui/sdram_configs.c | 7 | ||||
-rw-r--r-- | src/mainboard/google/kukui/sdram_params/Makefile.inc | 25 |
2 files changed, 23 insertions, 9 deletions
diff --git a/src/mainboard/google/kukui/sdram_configs.c b/src/mainboard/google/kukui/sdram_configs.c index c1e75ef6f6..7638853648 100644 --- a/src/mainboard/google/kukui/sdram_configs.c +++ b/src/mainboard/google/kukui/sdram_configs.c @@ -6,6 +6,12 @@ #include <soc/emi.h> static const char *const sdram_configs[] = { +#if CONFIG(BOARD_GOOGLE_BURNET) + [1] = "sdram-lpddr4x-H9HCNNNCPMALHR-4GB", + [2] = "sdram-lpddr4x-MT53E1G32D4NQ-4GB", + [3] = "sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB", + [4] = "sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB", +#else /* The default unified table */ [1] = "sdram-lpddr4x-H9HCNNNCPMALHR-4GB", [2] = "sdram-lpddr4x-MT53E1G32D4NQ-4GB", [3] = "sdram-lpddr4x-KMDH6001DA-B422-4GB", @@ -15,6 +21,7 @@ static const char *const sdram_configs[] = { [7] = "sdram-lpddr4x-SDADA4CR-128G-4GB", [8] = "sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB", [10] = "sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB", +#endif }; static struct sdram_params params; diff --git a/src/mainboard/google/kukui/sdram_params/Makefile.inc b/src/mainboard/google/kukui/sdram_params/Makefile.inc index af13aa1d79..2b43519357 100644 --- a/src/mainboard/google/kukui/sdram_params/Makefile.inc +++ b/src/mainboard/google/kukui/sdram_params/Makefile.inc @@ -1,13 +1,20 @@ sdram-params := -sdram-params += sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB -sdram-params += sdram-lpddr4x-H9HCNNNCPMALHR-4GB -sdram-params += sdram-lpddr4x-MT53E1G32D4NQ-4GB -sdram-params += sdram-lpddr4x-KMDH6001DA-B422-4GB -sdram-params += sdram-lpddr4x-KMDP6001DA-B425-4GB -sdram-params += sdram-lpddr4x-MT29VZZZAD8DQKSL-4GB -sdram-params += sdram-lpddr4x-KMDV6001DA-B620-4GB -sdram-params += sdram-lpddr4x-SDADA4CR-128G-4GB -sdram-params += sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB +ifeq ($(CONFIG_BOARD_GOOGLE_BURNET),y) + sdram-params += sdram-lpddr4x-H9HCNNNCPMALHR-4GB + sdram-params += sdram-lpddr4x-MT53E1G32D4NQ-4GB + sdram-params += sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB + sdram-params += sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB +else + sdram-params += sdram-lpddr4x-K4UBE3D4AA-MGCL-4GB + sdram-params += sdram-lpddr4x-H9HCNNNCPMALHR-4GB + sdram-params += sdram-lpddr4x-MT53E1G32D4NQ-4GB + sdram-params += sdram-lpddr4x-KMDH6001DA-B422-4GB + sdram-params += sdram-lpddr4x-KMDP6001DA-B425-4GB + sdram-params += sdram-lpddr4x-MT29VZZZAD8DQKSL-4GB + sdram-params += sdram-lpddr4x-KMDV6001DA-B620-4GB + sdram-params += sdram-lpddr4x-SDADA4CR-128G-4GB + sdram-params += sdram-lpddr4x-H9HCNNNCPMMLXR-NEE-4GB +endif $(foreach params,$(sdram-params), \ $(eval cbfs-files-y += $(params)) \ |