coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
variant.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#ifndef VARIANT_H
4
#define VARIANT_H
5
6
#include <
stdint.h
>
7
8
/*
9
* RAM_ID[2:0] are on GPIO_SSUS[39:37]
10
* 0b000 - 2GiB total - 1 x 2GiB Samsung K4B4G1646Q-HYK0 1600MHz
11
* 0b001 - 2GiB total - 1 x 2GiB Hynix H5TC4G63AFR-PBA 1600MHz
12
* 0b010 - 4GiB total - 2 x 2GiB Samsung K4B4G1646Q-HYK0 1600MHz
13
* 0b011 - 4GiB total - 2 x 2GiB Hynix H5TC4G63AFR-PBA 1600MHz
14
*/
15
16
static
const
uint32_t
dual_channel_config
=
17
(1 << 2) | (1 << 3);
18
19
#define SPD_SIZE 256
20
#define GPIO_SSUS_37_PAD 57
21
#define GPIO_SSUS_38_PAD 50
22
#define GPIO_SSUS_39_PAD 58
23
24
#endif
dual_channel_config
static const uint32_t dual_channel_config
Definition:
variant.h:16
stdint.h
uint32_t
unsigned int uint32_t
Definition:
stdint.h:14
src
mainboard
google
rambi
variants
swanky
include
variant
variant.h
Generated by
1.9.1