/* Apple ARM64 platforms have their own idea of board type, passed in *viathedevicetree.TheyalsohaveanantennaSKUparameter
*/
err = of_property_read_string(np, "brcm,board-type", &prop); if (!err)
settings->board_type = prop;
if (!of_property_read_string(np, "apple,antenna-sku", &prop))
settings->antenna_sku = prop;
/* The WLAN calibration blob is normally stored in SROM, but Apple *ARM64platformspassitviatheDTinstead.
*/
prop = of_get_property(np, "brcm,cal-blob", &settings->cal_size); if (prop && settings->cal_size)
settings->cal_blob = prop;
/* Set board-type to the first string of the machine compatible prop */
root = of_find_node_by_path("/"); if (root && err) { char *board_type = NULL; constchar *tmp;
/* get rid of '/' in the compatible string to be able to find the FW */ if (!of_property_read_string_index(root, "compatible", 0, &tmp))
board_type = devm_kstrdup(dev, tmp, GFP_KERNEL);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.