summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/dedede')
-rw-r--r--src/mainboard/google/dedede/Kconfig1
-rw-r--r--src/mainboard/google/dedede/romstage.c13
2 files changed, 1 insertions, 13 deletions
diff --git a/src/mainboard/google/dedede/Kconfig b/src/mainboard/google/dedede/Kconfig
index bd7d36e0fc..e1b713677d 100644
--- a/src/mainboard/google/dedede/Kconfig
+++ b/src/mainboard/google/dedede/Kconfig
@@ -37,6 +37,7 @@ config CHROMEOS
bool
default y
select CHROMEOS_CSE_BOARD_RESET_OVERRIDE
+ select CHROMEOS_DRAM_PART_NUMBER_IN_CBI
select EC_GOOGLE_CHROMEEC_SWITCHES
select GBB_FLAG_FORCE_DEV_SWITCH_ON
select GBB_FLAG_FORCE_DEV_BOOT_USB
diff --git a/src/mainboard/google/dedede/romstage.c b/src/mainboard/google/dedede/romstage.c
index e143f700cd..02ebfac426 100644
--- a/src/mainboard/google/dedede/romstage.c
+++ b/src/mainboard/google/dedede/romstage.c
@@ -21,16 +21,3 @@ void mainboard_memory_init_params(FSPM_UPD *memupd)
memcfg_init(&memupd->FspmConfig, board_cfg, &spd_info, half_populated);
}
-
-const char *mainboard_get_dram_part_num(void)
-{
- static char part_num_store[DIMM_INFO_PART_NUMBER_SIZE];
-
- if (google_chromeec_cbi_get_dram_part_num(&part_num_store[0],
- sizeof(part_num_store)) < 0) {
- printk(BIOS_ERR, "No DRAM part number in CBI!\n");
- return NULL;
- }
-
- return part_num_store;
-}