Hooks in FSBL - 2020.2 English

Zynq UltraScale+ MPSoC Software Developer Guide (UG1137)

Document ID
UG1137
Release Date
2021-01-05
Version
2020.2 English

Hooks are the functions that can be defined by you. FSBL provides blank functions and executes them from certain strategic locations. The following table shows the currently available hooks.

Table 1. Hooks in FSBL
Hook Purpose/Location Hook Function Name
Before PL bitstream loading XFsbl_HookBeforeBSDownload()
After PL bitstream loading XFsbl_HookAfterBSDownload()
Before (the first) Handoff (to any application) XFsbl_HookBeforeHandoff()
Before fallback XFsbl_HookBeforeFallback()
To add more initialization code, in addition to that in psu_init or to replace psu_init with custom initialization XFsbl_HookPsuInit(()

See FSBL wiki page for more information on FSBL.