blob: 59ddc337e4fdb9df2878b7089195dad8ab61c2ef [file] [log] [blame]
Rob Barnesf892b852021-06-07 08:55:14 -06001/* 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 */
18uint16_t lpddr4_speed_mhz_to_reported_mts(uint16_t speed_mhz);
19
20#endif /* DEVICE_DRAM_LPDDR4_H */