treewide: do board detection during preinit