aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/include
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2017-10-26 11:59:14 -0700
committerAaron Durbin <adurbin@chromium.org>2017-10-27 20:13:27 +0000
commita3cbbf7652db37cb6b5728028bd61139d57a5cac (patch)
tree70e7f273ed532e53232b02d1f66c679ed814678c /src/soc/intel/common/block/include
parentbb59f67ee8aa91eed6cc30daec3fa08d5b651f81 (diff)
intel/common/p2sb: Add common p2sb driver
Add common p2sb device driver that will use fixed resource instead dynamic assigned by PCI enumeration. TEST=None Change-Id: Ie3f7036a5956e3db1662678aaf43023ff79ae10e Signed-off-by: Lijian Zhao <lijian.zhao@intel.com> Reviewed-on: https://review.coreboot.org/22189 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block/include')
-rw-r--r--src/soc/intel/common/block/include/intelblocks/p2sb.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/p2sb.h b/src/soc/intel/common/block/include/intelblocks/p2sb.h
new file mode 100644
index 0000000000..8139a69b62
--- /dev/null
+++ b/src/soc/intel/common/block/include/intelblocks/p2sb.h
@@ -0,0 +1,22 @@
+/*
+ * 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_P2SB_H
+#define SOC_INTEL_COMMON_BLOCK_P2SB_H
+
+void p2sb_unhide(void);
+void p2sb_hide(void);
+
+#endif /* SOC_INTEL_COMMON_BLOCK_P2SB_H */