aboutsummaryrefslogtreecommitdiff
path: root/drivers/ddr/marvell/a38x/old/silicon_if.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ddr/marvell/a38x/old/silicon_if.h')
-rw-r--r--drivers/ddr/marvell/a38x/old/silicon_if.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/ddr/marvell/a38x/old/silicon_if.h b/drivers/ddr/marvell/a38x/old/silicon_if.h
new file mode 100644
index 00000000000..7fce27da123
--- /dev/null
+++ b/drivers/ddr/marvell/a38x/old/silicon_if.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) Marvell International Ltd. and its affiliates
+ *
+ * SPDX-License-Identifier: GPL-2.0
+ */
+
+#ifndef __silicon_if_H
+#define __silicon_if_H
+
+/* max number of devices supported by driver */
+#ifdef CO_CPU_RUN
+#define HWS_MAX_DEVICE_NUM (1)
+#else
+#define HWS_MAX_DEVICE_NUM (16)
+#endif
+
+#endif /* __silicon_if_H */