summaryrefslogtreecommitdiff
path: root/src/soc/intel/quark/memmap.c
diff options
context:
space:
mode:
authorLee Leahy <lpleahyjr@gmail.com>2016-01-01 18:08:48 -0800
committerLeroy P Leahy <leroy.p.leahy@intel.com>2016-02-04 15:27:27 +0100
commit2ed7eb795cbcef16e7647d2ccb6052e7057456b5 (patch)
treeeae821f31944e584cfbe1b4ef69d1c275ab0edd4 /src/soc/intel/quark/memmap.c
parent5bcbd11b0d11049fe42b9c64330eaf8dbee0132f (diff)
downloadcoreboot-2ed7eb795cbcef16e7647d2ccb6052e7057456b5.tar.xz
soc/intel/quark: Add minimal Quark SoC X1000 files
Add the files for minimal Quark X1000 SoC support: * Declare pei_data structure * Declare sleep states and chipset_power_state structure * Specify top of memory * Empty FspUpdVpd.h file TEST=None Change-Id: If741f84904394780e1f29bd6ddbd81514c3e21c9 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-on: https://review.coreboot.org/13439 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/quark/memmap.c')
-rw-r--r--src/soc/intel/quark/memmap.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/soc/intel/quark/memmap.c b/src/soc/intel/quark/memmap.c
new file mode 100644
index 0000000000..2edfdc40e8
--- /dev/null
+++ b/src/soc/intel/quark/memmap.c
@@ -0,0 +1,22 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2015-2016 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)
+{
+ /* TODO: Get this dynamically*/
+ return (void *)0x0afd0000;
+}