diff options
Diffstat (limited to 'src/include/device')
-rw-r--r-- | src/include/device/dram/lpddr4.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/include/device/dram/lpddr4.h b/src/include/device/dram/lpddr4.h new file mode 100644 index 0000000000..59ddc337e4 --- /dev/null +++ b/src/include/device/dram/lpddr4.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef DEVICE_DRAM_LPDDR4_H +#define DEVICE_DRAM_LPDDR4_H + +/** + * @file lpddr4.h + * + * \brief Utilities for decoding LPDDR4 info + */ + +#include <device/dram/common.h> +#include <types.h> + +/** + * Converts LPDDR4 clock speed in MHz to the standard reported speed in MT/s + */ +uint16_t lpddr4_speed_mhz_to_reported_mts(uint16_t speed_mhz); + +#endif /* DEVICE_DRAM_LPDDR4_H */ |