summaryrefslogtreecommitdiff
path: root/include/drivers/marvell/mochi/ap_setup.h
diff options
context:
space:
mode:
authorTerry Zhou <bjzhou@marvell.com>2018-03-19 17:12:03 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-03-19 18:54:40 +0200
commite28d83b5561b395e92e1f79e101f963cfdf654ae (patch)
tree44f272afaa0535ab6ef8ecb2e50609b42ccd42ae /include/drivers/marvell/mochi/ap_setup.h
parenta69da86a2c72c79987e443debdbbd7b4d38457ba (diff)
plat: a8k: update all AP related function to be more generic
This patch is the preparation for the coming A3900 which using APN807 instead of APN806, we put it under A8K family since most of the designs are the same. Replace all the function/headfile names with apn806_XX to ap_XX Add ble init function before doing dram initialization since we use a new DDR PHY in APN807 Change-Id: Ia3f79f5236280df6ed22f7dee623c7f6a8a6aa46 Signed-off-by: Terry Zhou <bjzhou@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/52169 Reviewed-by: Hanna Hawa <hannah@marvell.com> Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Diffstat (limited to 'include/drivers/marvell/mochi/ap_setup.h')
-rw-r--r--include/drivers/marvell/mochi/ap_setup.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/drivers/marvell/mochi/ap_setup.h b/include/drivers/marvell/mochi/ap_setup.h
new file mode 100644
index 00000000..256edd9d
--- /dev/null
+++ b/include/drivers/marvell/mochi/ap_setup.h
@@ -0,0 +1,40 @@
+/*
+* ***************************************************************************
+* Copyright (C) 2016 Marvell International Ltd.
+* ***************************************************************************
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions are met:
+*
+* Redistributions of source code must retain the above copyright notice, this
+* list of conditions and the following disclaimer.
+*
+* Redistributions in binary form must reproduce the above copyright notice,
+* this list of conditions and the following disclaimer in the documentation
+* and/or other materials provided with the distribution.
+*
+* Neither the name of Marvell nor the names of its contributors may be used
+* to endorse or promote products derived from this software without specific
+* prior written permission.
+*
+* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+* OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+* POSSIBILITY OF SUCH DAMAGE.
+*
+***************************************************************************
+*/
+#ifndef __AP_SETUP_H__
+#define __AP_SETUP_H__
+
+void ap_init(void);
+void ap_ble_init(void);
+int ap_rev_id_get(void);
+#endif /* __AP_SETUP_H__ */