coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lpddr4.h
Go to the documentation of this file.
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 */
common.h
lpddr4_speed_mhz_to_reported_mts
uint16_t lpddr4_speed_mhz_to_reported_mts(uint16_t speed_mhz)
Converts LPDDR4 clock speed in MHz to the standard reported speed in MT/s.
Definition:
lpddr4.c:87
uint16_t
unsigned short uint16_t
Definition:
stdint.h:11
src
include
device
dram
lpddr4.h
Generated by
1.9.1