Intel® Arria® 10 SoC UEFI Boot Loader User Guide

ID 683536
Date 12/15/2017
Document Table of Contents Adding Custom Board Initialization Code

You can add your custom board initialization code to the <your_uefi_socfpga>/uefi-socfpga/AlteraPlatformPkg/Arria10SoCPkg/PlatformPei/Board.c file.

Add your code in the function named BoardSpecificInitialization in the Board.c file. For the initial release of UEFI boot loader, the function call is at line 136, but the line number may change in the future.
Figure 114. Adding Custom Board Initialization Code