diff options
author | Igal Liberman <igall@marvell.com> | 2018-02-21 14:35:12 +0200 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2018-02-22 13:53:58 +0200 |
commit | 08be3488bc22ec45ed499aadca14cf806283d092 (patch) | |
tree | eab22f7a8e9de3fff098ffc7681631ed655127c7 /drivers | |
parent | 1e5d036f46984ac9598d6dda02920fdfa7fa31de (diff) |
ap810: remove ble init from ap810_setup
This patch removes ap810_ble_init from ap810_setup as part
of the ap810_setup clean up.
Currently, ap810_ble_init calls only ap810_enumeration_algo().
No need for this wrapping, ap810_enumeration_algo() should be
called directly from plat_ble and (and plat_bl31 for palladium
target).
Change-Id: I4e035af31ceb06d1e71fb6625a1407f648c3c7b2
Signed-off-by: Igal Liberman <igall@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/50859
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Reviewed-by: Hanna Hawa <hannah@marvell.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/marvell/mochi/ap810_setup.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/marvell/mochi/ap810_setup.c b/drivers/marvell/mochi/ap810_setup.c index 66d4f19b..9d88a7b1 100644 --- a/drivers/marvell/mochi/ap810_setup.c +++ b/drivers/marvell/mochi/ap810_setup.c @@ -52,7 +52,7 @@ int g_ap_count = -1; int g_cp_per_ap[] = {-1, -1, -1, -1}; /* Configure access between AP, use static configuration */ -static void ap810_enumeration_algo(void) +void ap810_enumeration_algo(void) { uint32_t reg; int ap_id; @@ -269,11 +269,3 @@ int ap810_rev_id_get(int ap_index) GWD_IIDR2_REV_ID_OFFSET) & GWD_IIDR2_REV_ID_MASK; } - -void ap810_ble_init(void) -{ - /* Initialize the enumeration alogethim in BLE stage to - ** enable access to another APs - ** */ - ap810_enumeration_algo(); -} |