1## @file
2# This is the Memory Initialization Driver for Quark
3#
4# Copyright (c) 2013-2015 Intel Corporation.
5#
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
10#
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.
13#
14##
15
16################################################################################
17#
18# Defines Section - statements that will be processed to create a Makefile.
19#
20################################################################################
21[Defines]
22  INF_VERSION                    = 0x00010005
23  BASE_NAME                      = MemoryInitPei
24  FILE_GUID                      = D2C69B26-82E1-4a1b-AD35-ED0261B9F347
25  MODULE_TYPE                    = PEIM
26  VERSION_STRING                 = 1.0
27
28  ENTRY_POINT                    = PeimMemoryInit
29
30#
31# The following information is for reference only and not required by the build tools.
32#
33#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
34#
35
36[BuildOptions]
37  GCC:DEBUG_*_*_CC_FLAGS               = -DGCC -Wno-unused-function
38  GCC:RELEASE_*_*_CC_FLAGS             = -DNDEBUG -DGCC -Wno-unused-function
39  INTEL:RELEASE_*_*_CC_FLAGS           = /D NDEBUG
40  MSFT:RELEASE_*_*_CC_FLAGS            = /D NDEBUG
41
42[Sources]
43  memory_options.h
44  platform.c
45  lprint.c
46  meminit.h
47  meminit.c
48  meminit_utils.h
49  meminit_utils.c
50  gen5_iosf_sb_definitions.h
51  general_definitions.h
52  io.h
53  core_types.h
54  prememinit.h
55  prememinit.c
56  mrc.h
57  mrc.c
58  hte.c
59  hte.h
60  MemoryInit.h
61  MemoryInit.c
62
63[Packages]
64  QuarkSocPkg/QuarkSocPkg.dec
65  MdePkg/MdePkg.dec
66
67[LibraryClasses]
68  PeimEntryPoint
69  DebugLib
70  BaseMemoryLib
71
72[Ppis]
73  gQNCMemoryInitPpiGuid                        # PPI ALWAYS_PRODUCED
74
75[Depex]
76  TRUE
77
78[BuildOptions]
79  # /Oi option to use the intrinsic memset function in source code.
80  MSFT:*_*_*_CC_FLAGS = /Oi
81