Remove hil_get_cpuforfw()
authorWendy Liang <jliang@xilinx.com>
Tue, 5 Jul 2016 21:50:08 +0000 (14:50 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:44 +0000 (22:01 -0700)
As it is no longer required to specify CPU ID in the firmware,
remove the hil_get_cpuforfw().

Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/common/hil.c
lib/include/openamp/hil.h

index c31f78c5f198eda3e45e4f981e94748aa14a9b80..adee84d73a5e00763bdb1f71d98fbcbfcd334fa9 100644 (file)
@@ -57,8 +57,6 @@ unsigned long long shutdown_time_stamp;
 
 #endif
 
-extern int platform_get_processor_for_fw(char *fw_name);
-
 /**
  * hil_create_proc
  *
@@ -115,21 +113,6 @@ struct hil_proc *hil_create_proc(void *pdata, int cpu_id)
        return proc;
 }
 
-/**
- * hil_get_cpuforfw
- *
- * This function provides the CPU ID for the given firmware.
- *
- * @param fw_name - name of firmware
- *
- * @return - cpu id
- *
- */
-int hil_get_cpuforfw(char *fw_name)
-{
-       return (platform_get_processor_for_fw(fw_name));
-}
-
 /**
  * hil_delete_proc
  *
index ebe70b505150c61acb724ad079eb3b252ef391d4..2d2901ed34702065b597462ff5a76c350a611843 100644 (file)
@@ -225,18 +225,6 @@ struct hil_proc *hil_get_proc(int cpu_id);
  */
 void hil_isr(struct proc_vring *vring_hw);
 
-/**
- * hil_get_cpuforfw
- *
- * This function provides the CPU ID for the given firmware.
- *
- * @param fw_name - name of firmware
- *
- * @return - cpu id
- *
- */
-int hil_get_cpuforfw(char *fw_name);
-
 /**
  * hil_get_vdev_info
  *