summaryrefslogtreecommitdiff
path: root/include/drivers/marvell/mochi/cp110_setup.h
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2018-07-23 13:56:54 +0300
committerKonstantin Porotchkin <kostap@marvell.com>2018-09-03 14:48:32 +0300
commit77d5a2b3e2635002bfc7042abb0388395648bf71 (patch)
treedbc422ee19a2e7315a3d40840e9bc69e5a521daa /include/drivers/marvell/mochi/cp110_setup.h
parent71b6429c5769b0c5b7165217dd441ea2a0318bfa (diff)
plat: marvell: align the sources with mainline TF-A
Following the acception of Marvell platform support in the mainline TF-A code, some changes triggered by the TF-A team review should be ported back. This patch introduces changes (mostly cosmetic) that sync between the mainline and LSP code bases. - Limit line length to 80 characters for passing through Linux checkpatch - Make all comment blocks comply the Linux kernel coduing style - Arrange all includes in alphabetical order - Rename plat_config.h to armada_common.h (a8k_common in the mainline, but we should take into account next platform support as well) - Rename plat_private.h to marvell_plat_priv.h - Rename plat_def.h to mvebu_def.h Change-Id: Idd542c8a7d4ff8d8fb67c3601410308be5aed8e5 Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/58282 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Igal Liberman <igall@marvell.com>
Diffstat (limited to 'include/drivers/marvell/mochi/cp110_setup.h')
-rw-r--r--include/drivers/marvell/mochi/cp110_setup.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/drivers/marvell/mochi/cp110_setup.h b/include/drivers/marvell/mochi/cp110_setup.h
index 032c829d..1c88980a 100644
--- a/include/drivers/marvell/mochi/cp110_setup.h
+++ b/include/drivers/marvell/mochi/cp110_setup.h
@@ -1,14 +1,17 @@
/*
- * Copyright (C) 2016 - 2018 Marvell International Ltd.
+ * Copyright (C) 2018 Marvell International Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
* https://spdx.org/licenses
*/
-#ifndef __PLAT_CP110_H__
-#define __PLAT_CP110_H__
+
+/* CP110 Marvell SoC driver */
+
+#ifndef __CP110_SETUP_H__
+#define __CP110_SETUP_H__
#include <mmio.h>
-#include <plat_def.h>
+#include <mvebu_def.h>
#define MVEBU_DEVICE_ID_REG (MVEBU_CP_DFX_OFFSET + 0x40)
#define MVEBU_DEVICE_ID_OFFSET (0)
@@ -47,4 +50,4 @@ static inline uint32_t cp110_rev_id_get(uintptr_t base)
void cp110_init(uintptr_t cp110_base, uint32_t stream_id);
void cp110_ble_init(uintptr_t cp110_base);
-#endif /* __PLAT_CP110_H__ */
+#endif /* __CP110_SETUP_H__ */