]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/PchRegs/PchRegsRcrb.h
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / SouthCluster / Include / PchRegs / PchRegsRcrb.h
CommitLineData
3cbfba02
DW
1/**\r
2\r
3Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved\r
4\r
7ede8060 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
3cbfba02
DW
6\r
7\r
8\r
9 @file\r
10 PchRegsRcrb.h\r
11\r
12 @brief\r
13 Register names for VLV Chipset Configuration Registers\r
14\r
15 Conventions:\r
16\r
17 - Prefixes:\r
18 Definitions beginning with "R_" are registers\r
19 Definitions beginning with "B_" are bits within registers\r
20 Definitions beginning with "V_" are meaningful values of bits within the registers\r
21 Definitions beginning with "S_" are register sizes\r
22 Definitions beginning with "N_" are the bit position\r
23 - In general, PCH registers are denoted by "_PCH_" in register names\r
24 - Registers / bits that are different between PCH generations are denoted by\r
25 "_PCH_<generation_name>_" in register/bit names. e.g., "_PCH_VLV_"\r
26 - Registers / bits that are different between SKUs are denoted by "_<SKU_name>"\r
27 at the end of the register/bit names\r
28 - Registers / bits of new devices introduced in a PCH generation will be just named\r
29 as "_PCH_" without <generation_name> inserted.\r
30\r
31**/\r
32#ifndef _PCH_REGS_RCRB_H_\r
33#define _PCH_REGS_RCRB_H_\r
34\r
35///\r
36/// Chipset Configuration Registers (Memory space)\r
37/// RCBA\r
38///\r
39#define R_PCH_RCRB_GCS 0x00 // General Control and Status\r
40#define B_PCH_RCRB_GCS_BBSIZE (BIT30 | BIT29) // Boot Block Size\r
41#define B_PCH_RCRB_GCS_BBS (BIT11 | BIT10) // Boot BIOS Straps\r
42#define V_PCH_RCRB_GCS_BBS_SPI (3 << 10) // Boot BIOS strapped to SPI\r
43#define V_PCH_RCRB_GCS_BBS_LPC (0 << 10) // Boot BIOS strapped to LPC\r
44#define B_PCH_RCRB_GCS_TS BIT1 // Top Swap\r
45#define B_PCH_RCRB_GCS_BILD BIT0 // BIOS Interface Lock-Down\r
46\r
47\r
48#endif\r