Lines Matching defs:flash
713 struct device_node *flash;
719 flash = of_get_next_child(dev->of_node, NULL);
720 if (!flash) {
721 dev_warn(dev, "no flash node found\n");
725 if (of_device_is_compatible(flash, "jedec,spi-nor")) {
727 } else if (of_device_is_compatible(flash, "cfi-flash")) {
730 of_node_put(flash);
731 dev_warn(dev, "unknown flash type\n");
734 of_node_put(flash);