]>
git.proxmox.com Git - mirror_edk2.git/blob - QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/mrc.c
1 /************************************************************************
3 * Copyright (c) 2013-2015 Intel Corporation.
5 * SPDX-License-Identifier: BSD-2-Clause-Patent
7 ************************************************************************/
9 #include "memory_options.h"
12 #include "meminit_utils.h"
13 #include "prememinit.h"
16 // Base address for UART registers
17 extern uint32_t UartMmioBase
;
20 // Memory Reference Code entry point when executing from BIOS
22 void Mrc( MRCParams_t
*mrc_params
)
24 // configure uart base address assuming code relocated to eSRAM
25 UartMmioBase
= mrc_params
->uart_mmio_base
;
29 DPF(D_INFO
, "MRC Version %04X %s %s\n", MRC_VERSION
, __DATE__
, __TIME__
);
31 // this will set up the data structures used by MemInit()
32 PreMemInit(mrc_params
);
34 // this will initialize system memory