[Concept] [PATCH 02/19] boot: Create a function for final pre-boot steps