mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
fdt_support: Make of_bus_default_count_cells non static
of_bus_default_count_cells can be used to get the #address-cells and #size-cells defined by the current node's parent node. This is required when using of_read_number to read from FDT nodes that can be 32 or 64 bytes depending on values defined by the parent. Signed-off-by: Arnab Basu <arnab.basu@freescale.com> CC: Scott Wood <scottwood@freescale.com>
This commit is contained in:
@@ -963,7 +963,7 @@ struct of_bus {
|
||||
};
|
||||
|
||||
/* Default translator (generic bus) */
|
||||
static void of_bus_default_count_cells(void *blob, int parentoffset,
|
||||
void of_bus_default_count_cells(void *blob, int parentoffset,
|
||||
int *addrc, int *sizec)
|
||||
{
|
||||
const fdt32_t *prop;
|
||||
|
Reference in New Issue
Block a user