1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef DEVICE_DRAM_LPDDR4_H 4 #define DEVICE_DRAM_LPDDR4_H 5 6 /** 7 * @file lpddr4.h 8 * 9 * \brief Utilities for decoding LPDDR4 info 10 */ 11 12 #include <device/dram/common.h> 13 #include <types.h> 14 15 /** 16 * Converts LPDDR4 clock speed in MHz to the standard reported speed in MT/s 17 */ 18 uint16_t lpddr4_speed_mhz_to_reported_mts(uint16_t speed_mhz); 19 20 #endif /* DEVICE_DRAM_LPDDR4_H */ 21