summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/cbmem.c
diff options
context:
space:
mode:
authorLijian Zhao <lijian.zhao@intel.com>2017-05-02 18:54:44 -0700
committerMartin Roth <martinroth@google.com>2017-06-29 14:50:38 +0000
commit81096041b8da42b17e57c63bdf81902b6ec69d61 (patch)
tree74c22da9b50c3a9cdb91ff8ed28aeae2bb07973c /src/soc/intel/cannonlake/cbmem.c
parent786bd5d29371745bb731e92be0e73e261baf125e (diff)
soc/intel/cannonlake: Add initial dummy directory
Add Cannon Lake SoC boilerplate directory with: * SoC directory * Base Kconfig * Dummy cbmem.c Change-Id: Ie28d8b56a1d1afcf1214ef734a08be6efcc8a931 Signed-off-by: Lijian Zhao <lijian.zhao@intel.com> Signed-off-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-on: https://review.coreboot.org/20061 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc/intel/cannonlake/cbmem.c')
-rw-r--r--src/soc/intel/cannonlake/cbmem.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/soc/intel/cannonlake/cbmem.c b/src/soc/intel/cannonlake/cbmem.c
new file mode 100644
index 0000000000..0f47173061
--- /dev/null
+++ b/src/soc/intel/cannonlake/cbmem.c
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 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.
+ */
+
+#include <cbmem.h>
+
+void *cbmem_top(void)
+{
+ /* not implemented yet */
+ return (void *) NULL;
+}