imx8: suppress compiler warnings
This commit is contained in:
parent
5d3dfae745
commit
4ea2816a36
|
|
@ -906,6 +906,7 @@ int mmc_get_env_dev(void)
|
||||||
return board_mmc_get_env_dev(devno);
|
return board_mmc_get_env_dev(devno);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CONFIG_SKIP_RESOURCE_CHECING
|
||||||
static bool check_owned_resources_in_pd_tree(void *blob, int nodeoff,
|
static bool check_owned_resources_in_pd_tree(void *blob, int nodeoff,
|
||||||
unsigned int *unowned_rsrc)
|
unsigned int *unowned_rsrc)
|
||||||
{
|
{
|
||||||
|
|
@ -962,6 +963,7 @@ static int disable_fdt_node(void *blob, int nodeoffset)
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void fdt_edma_debug_int_array(u32 *array, int count, u32 stride)
|
static void fdt_edma_debug_int_array(u32 *array, int count, u32 stride)
|
||||||
{
|
{
|
||||||
|
|
@ -1197,6 +1199,7 @@ static void update_fdt_edma_nodes(void *blob)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CONFIG_SKIP_RESOURCE_CHECING
|
||||||
static void update_fdt_with_owned_resources(void *blob)
|
static void update_fdt_with_owned_resources(void *blob)
|
||||||
{
|
{
|
||||||
/* Traverses the fdt nodes,
|
/* Traverses the fdt nodes,
|
||||||
|
|
@ -1250,6 +1253,7 @@ static void update_fdt_with_owned_resources(void *blob)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_IMX_SMMU
|
#ifdef CONFIG_IMX_SMMU
|
||||||
static int get_srsc_from_fdt_node_power_domain(void *blob, int device_offset)
|
static int get_srsc_from_fdt_node_power_domain(void *blob, int device_offset)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue