diff options
-rw-r--r-- | src/vendorcode/cavium/bdk/libbdk-dram/bdk-dram-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/cavium/bdk/libbdk-dram/bdk-dram-config.c b/src/vendorcode/cavium/bdk/libbdk-dram/bdk-dram-config.c index 5c104231dc0a..2ec7a1aaace4 100644 --- a/src/vendorcode/cavium/bdk/libbdk-dram/bdk-dram-config.c +++ b/src/vendorcode/cavium/bdk/libbdk-dram/bdk-dram-config.c @@ -106,7 +106,7 @@ const char* bdk_dram_get_info_string(int node) snprintf(info_string, INFO_STRING_LEN, " %ld MB, %ld MT/s, %s %s", bdk_dram_get_size_mbytes(node), - bdk_config_get_int(BDK_CONFIG_DDR_SPEED, node), + libdram_get_freq_from_pll(node, 0) / 1000000, (__bdk_dram_is_ddr4(node, 0)) ? "DDR4" : "DDR3", (__bdk_dram_is_rdimm(node, 0)) ? "RDIMM" : "UDIMM"); |