aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/amd/family_10h-family_15h/ram_calc.h
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineeringinc.com>2015-10-16 14:24:06 -0500
committerMartin Roth <martinroth@google.com>2015-11-02 23:37:24 +0100
commitb30d7ed8f09d4d5d75bf68f3ba74674fe65c4b4f (patch)
treeddc91437a60efdc74d2502fc1e321e455e5afda7 /src/cpu/amd/family_10h-family_15h/ram_calc.h
parent69b11f9d407057f0ea76784ecb0e9970cb7d0991 (diff)
cpu/amd: Move model_10xxx to family_10h-family_15h
Change-Id: I34501d3fc68b71db7781dad11d5b883868932a60 Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/11965 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/cpu/amd/family_10h-family_15h/ram_calc.h')
-rw-r--r--src/cpu/amd/family_10h-family_15h/ram_calc.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/cpu/amd/family_10h-family_15h/ram_calc.h b/src/cpu/amd/family_10h-family_15h/ram_calc.h
new file mode 100644
index 0000000000..8cfc199bdf
--- /dev/null
+++ b/src/cpu/amd/family_10h-family_15h/ram_calc.h
@@ -0,0 +1,21 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
+ *
+ * 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 _AMD_MODEL_10XXX_RAM_CALC_H_
+#define _AMD_MODEL_10XXX_RAM_CALC_H_
+
+uint64_t get_uma_memory_size(uint64_t topmem);
+
+#endif