mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-27 06:14:41 +00:00
arm: mach-k3: Remove unused fdt_disable_node()
This function is not used currently; remove it. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
This commit is contained in:
parent
e25fe5b275
commit
ee12d64f2d
@ -395,25 +395,6 @@ int fdt_fixup_msmc_ram(void *blob, char *parent_path, char *node_name)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int fdt_disable_node(void *blob, char *node_path)
|
|
||||||
{
|
|
||||||
int offs;
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
offs = fdt_path_offset(blob, node_path);
|
|
||||||
if (offs < 0) {
|
|
||||||
printf("Node %s not found.\n", node_path);
|
|
||||||
return offs;
|
|
||||||
}
|
|
||||||
ret = fdt_setprop_string(blob, offs, "status", "disabled");
|
|
||||||
if (ret < 0) {
|
|
||||||
printf("Could not add status property to node %s: %s\n",
|
|
||||||
node_path, fdt_strerror(ret));
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(CONFIG_OF_SYSTEM_SETUP)
|
#if defined(CONFIG_OF_SYSTEM_SETUP)
|
||||||
int ft_system_setup(void *blob, struct bd_info *bd)
|
int ft_system_setup(void *blob, struct bd_info *bd)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -10,7 +10,6 @@
|
|||||||
void sdelay(unsigned long loops);
|
void sdelay(unsigned long loops);
|
||||||
u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
|
u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
|
||||||
u32 bound);
|
u32 bound);
|
||||||
int fdt_disable_node(void *blob, char *node_path);
|
|
||||||
|
|
||||||
void k3_spl_init(void);
|
void k3_spl_init(void);
|
||||||
void k3_mem_init(void);
|
void k3_mem_init(void);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user