diff --git a/arch/arm/mach-imx/imx8/cpu.c b/arch/arm/mach-imx/imx8/cpu.c index 5e970cb108..9c9b546dca 100644 --- a/arch/arm/mach-imx/imx8/cpu.c +++ b/arch/arm/mach-imx/imx8/cpu.c @@ -906,6 +906,7 @@ int mmc_get_env_dev(void) return board_mmc_get_env_dev(devno); } +#ifndef CONFIG_SKIP_RESOURCE_CHECING static bool check_owned_resources_in_pd_tree(void *blob, int nodeoff, unsigned int *unowned_rsrc) { @@ -962,6 +963,7 @@ static int disable_fdt_node(void *blob, int nodeoffset) return rc; } +#endif 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) { /* Traverses the fdt nodes, @@ -1250,6 +1253,7 @@ static void update_fdt_with_owned_resources(void *blob) } } +#endif #ifdef CONFIG_IMX_SMMU static int get_srsc_from_fdt_node_power_domain(void *blob, int device_offset)