Lines Matching full:node
13 * spl_node_to_boot_device() - maps from a DT-node to a SPL boot device
14 * @node: of_offset of the node
20 * are enabled in any given DTS). This function maps from a DT-node back
24 * -ENOENT, if no device matching the node could be found
25 * -ENOSYS, if the device matching the node can not be mapped onto a
31 static int spl_node_to_boot_device(int node) in spl_node_to_boot_device() argument
40 if (!uclass_get_device_by_of_offset(UCLASS_MMC, node, &parent)) { in spl_node_to_boot_device()
64 } else if (!uclass_get_device_by_of_offset(UCLASS_SPI_FLASH, node, in spl_node_to_boot_device()
75 if (!uclass_get_device_by_of_offset(UCLASS_SPI_FLASH, node, &parent)) in spl_node_to_boot_device()
106 int node; in board_boot_order() local
135 node = fdt_path_offset(blob, conf); in board_boot_order()
136 if (node < 0) { in board_boot_order()
142 boot_device = spl_node_to_boot_device(node); in board_boot_order()
144 debug("%s: could not map node @%x to a boot-device\n", in board_boot_order()
145 __func__, node); in board_boot_order()