]>
git.proxmox.com Git - mirror_edk2.git/blob - QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/mrc.c
ae7e239c8c2e5507c338c0477b854efb6d756a29
1 /************************************************************************
3 * Copyright (c) 2013-2015 Intel Corporation.
5 * This program and the accompanying materials
6 * are licensed and made available under the terms and conditions of the BSD License
7 * which accompanies this distribution. The full text of the license may be found at
8 * http://opensource.org/licenses/bsd-license.php
10 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 ************************************************************************/
15 #include "memory_options.h"
18 #include "meminit_utils.h"
19 #include "prememinit.h"
22 // Base address for UART registers
23 extern uint32_t UartMmioBase
;
26 // Memory Reference Code entry point when executing from BIOS
28 void Mrc( MRCParams_t
*mrc_params
)
30 // configure uart base address assuming code relocated to eSRAM
31 UartMmioBase
= mrc_params
->uart_mmio_base
;
35 DPF(D_INFO
, "MRC Version %04X %s %s\n", MRC_VERSION
, __DATE__
, __TIME__
);
37 // this will set up the data structures used by MemInit()
38 PreMemInit(mrc_params
);
40 // this will initialize system memory