zynqmp_r5 remoteproc: remove platform_get_processor_for_fw()
authorWendy Liang <jliang@xilinx.com>
Tue, 5 Jul 2016 21:07:14 +0000 (14:07 -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>
lib/remoteproc/drivers/zynqmp_remoteproc_a53.c

index 9fe9f0e271aaf9d013ee3fe11bc40ffe826b4d26..36bbaf37c37afa4b6d24aab800c65dbc8346e92f 100644 (file)
@@ -188,8 +188,3 @@ static int _initialize(void *pdata,
        return 0;
 }
 
-int platform_get_processor_for_fw(char *fw_name)
-{
-       (void)fw_name;
-       return 1;
-}