- uint32_t arm_id = NFP_CPP_ID(NFP_CPP_TARGET_ARM, 0, 0);
- uint32_t model = 0;
-
- if (nfp_cpp_readl(cpp, arm_id, NFP6000_ARM_GCSR_SOFTMODEL0, &model))
- return 0;
-
- if (NFP_CPP_MODEL_IS_6000(model)) {
- uint32_t tmp;
-
- nfp_cpp_model_set(cpp, model);