summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/PrePi/Arm/ArchPrePi.c
blob: 250b622f457fb46df617749c3c159f7fac3093b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/** @file
*
*  Copyright (c) 2011 - 2013, ARM Limited. All rights reserved.
*
*  SPDX-License-Identifier: BSD-2-Clause-Patent
*
**/

#include "PrePi.h"

VOID
ArchInitialize (
  VOID
  )
{
  // Enable program flow prediction, if supported.
  ArmEnableBranchPrediction ();

  if (FixedPcdGet32 (PcdVFPEnabled)) {
    ArmEnableVFP ();
  }
}