]>
git.proxmox.com Git - mirror_edk2.git/blob - QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/memory_options.h
2 Common definitions and compilation switches for MRC
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef __MEMORY_OPTIONS_H
16 #define __MEMORY_OPTIONS_H
18 #include "core_types.h"
20 // MRC COMPILE TIME SWITCHES:
21 // ==========================
25 //#define MRC_SV // enable some validation opitons
27 #if defined (SIM) || defined(EMU)
28 #define QUICKSIM // reduce execution time using shorter rd/wr sequences
31 #define CLT // required for Quark project
35 //#define BACKUP_RCVN // enable STATIC timing settings for RCVN (BACKUP_MODE)
36 //#define BACKUP_WDQS // enable STATIC timing settings for WDQS (BACKUP_MODE)
37 //#define BACKUP_RDQS // enable STATIC timing settings for RDQS (BACKUP_MODE)
38 //#define BACKUP_WDQ // enable STATIC timing settings for WDQ (BACKUP_MODE)
42 //#define BACKUP_COMPS // enable *COMP overrides (BACKUP_MODE)
43 //#define RX_EYE_CHECK // enable the RD_TRAIN eye check
44 #define HMC_TEST // enable Host to Memory Clock Alignment
45 #define R2R_SHARING // enable multi-rank support via rank2rank sharing
47 #define FORCE_16BIT_DDRIO // disable signals not used in 16bit mode of DDRIO
61 void dpf( uint32_t mask
, char_t
*bla
, ...);
69 #define D_ERROR 0x0001
71 #define D_REGRD 0x0004
72 #define D_REGWR 0x0008
73 #define D_FCALL 0x0010
77 #define ENTERFN() DPF(D_FCALL, "<%s>\n", __FUNCTION__)
78 #define LEAVEFN() DPF(D_FCALL, "</%s>\n", __FUNCTION__)
79 #define REPORTFN() DPF(D_FCALL, "<%s/>\n", __FUNCTION__)
81 extern uint32_t DpfPrintMask
;