[Concept] [PATCH v2 13/18] boot: Move the architecture check into check_allowed()