Merge "Refactor boot_control into a separate library."