apps: zynq: remove platform_get_processor_for_fw()
authorWendy Liang <jliang@xilinx.com>
Wed, 29 Jun 2016 22:11:09 +0000 (15:11 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:44 +0000 (22:01 -0700)
This function was to get the CPU ID (the index in
the proc_table which is a table to keep the remoteproc
platform data) from firmware.
However, the user application should know which platform
data in the table to initialize which remote processor.
It is not necessary to to have this function, and not
necessary to have the "CPU ID" in the firmware.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
apps/machine/zynq7/platform_info.c
apps/machine/zynq7/platform_info_remoteproc_master.c

index 6de513a84e191a005ef2cf5a58aaa2c0483d7da1..d33a77c3f725972529732ffd857b8115685865ab 100644 (file)
@@ -152,8 +152,3 @@ struct hil_proc proc_table[] = {
        },
 };
 
-int platform_get_processor_for_fw(char *fw_name)
-{
-
-       return 1;
-}
index adf4dd50027ced870a1e08c8d4c4a83cd5f745a2..19dd69b3f11129ce420a20649b709aefb858f614 100644 (file)
@@ -147,7 +147,3 @@ struct hil_proc proc_table []=
     }
 };
 
-int platform_get_processor_for_fw(char *fw_name) {
-
-    return 1;
-}