summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/include/intelblocks
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2017-04-24 11:28:40 +0530
committerMartin Roth <martinroth@google.com>2017-05-05 23:28:10 +0200
commit23ccb0de3cb2177b10c23e334ca11f133c675564 (patch)
tree4f3065ee7ff5223d353cd7ebfc73cb5808423fab /src/soc/intel/common/block/include/intelblocks
parent73b179737835b846fea7d800448abeaa58a481fe (diff)
soc/intel/common/block: Add Intel XDCI code support
XDCI MMIO offsets definitions are not alike between various SoCs hence provided "soc_xdci_init" function to implement SoC specific initialization. Change-Id: I9cbc686a00c26b92be2847b6bd6c2e5aa5a690f7 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/19428 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/common/block/include/intelblocks')
-rw-r--r--src/soc/intel/common/block/include/intelblocks/xdci.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/xdci.h b/src/soc/intel/common/block/include/intelblocks/xdci.h
new file mode 100644
index 0000000000..fa25513b70
--- /dev/null
+++ b/src/soc/intel/common/block/include/intelblocks/xdci.h
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2017 Intel Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef SOC_INTEL_COMMON_BLOCK_XDCI_H
+#define SOC_INTEL_COMMON_BLOCK_XDCI_H
+
+void soc_xdci_init(struct device *dev);
+
+#endif /* SOC_INTEL_COMMON_BLOCK_XDCI_H */