summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/PrePi/Arm/ArchPrePi.c
blob: 8d021931e28daf57e3f3708145344f3e9924a563 (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 ();
  }
}