Breakup boot_setup() bootorder code into its own function.