![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/device.h>
#include <device/dram/lpddr4.h>
#include <memory_info.h>
#include <smbios.h>
#include <types.h>
Go to the source code of this file.
Data Structures | |
struct | lpddr4_speed_attr |
Enumerations | |
enum | lpddr4_speed_grade { LPDDR4_1333 , LPDDR4_1600 , LPDDR4_1866 , LPDDR4_2133 , LPDDR4_2400 , LPDDR4_2666 , LPDDR4_3200 , LPDDR4_3733 , LPDDR4_4266 } |
Functions | |
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. More... | |
Variables | |
static const struct lpddr4_speed_attr | lpddr4_speeds [] |
LPDDR4 speed attributes derived from JEDEC 209-4C and industry norms. More... | |
enum lpddr4_speed_grade |
Converts LPDDR4 clock speed in MHz to the standard reported speed in MT/s.
Definition at line 87 of file lpddr4.c.
References ARRAY_SIZE, BIOS_ERR, lpddr4_speeds, lpddr4_speed_attr::max_clock_mhz, lpddr4_speed_attr::min_clock_mhz, printk, and lpddr4_speed_attr::reported_mts.
Referenced by ddr_speed_mhz_to_reported_mts().
|
static |
LPDDR4 speed attributes derived from JEDEC 209-4C and industry norms.
min_clock_mhz = Previous max_clock_mhz + 1 max_clock_mhz = 1000/min_tCk_avg(ns) reported_mts = Standard reported DDR4 speed in MT/s May be slightly less than the actual max MT/s
Definition at line 1 of file lpddr4.c.
Referenced by lpddr4_speed_mhz_to_reported_mts().