summaryrefslogtreecommitdiff
path: root/src/mainboard/thomson/ip1000/spd_table.h
diff options
context:
space:
mode:
authorJoseph Smith <joe@settoplinux.org>2008-05-16 15:43:35 +0000
committerJoseph Smith <joe@smittys.pointclark.net>2008-05-16 15:43:35 +0000
commit0fd8ccd7e71772c9827bffd5632ec4f218e26783 (patch)
tree96cd2d8efa8768de465cca87f52be9dc4a850c66 /src/mainboard/thomson/ip1000/spd_table.h
parentd9fa5d2abab83c855538e59eb11f14bd68ce793c (diff)
downloadcoreboot-0fd8ccd7e71772c9827bffd5632ec4f218e26783.tar.xz
New Target and initial support for the Thomson IP1000.
Signed-off-by: Joseph Smith <joe@settoplinux.org> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3328 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/thomson/ip1000/spd_table.h')
-rw-r--r--src/mainboard/thomson/ip1000/spd_table.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/mainboard/thomson/ip1000/spd_table.h b/src/mainboard/thomson/ip1000/spd_table.h
new file mode 100644
index 0000000000..e771d82014
--- /dev/null
+++ b/src/mainboard/thomson/ip1000/spd_table.h
@@ -0,0 +1,40 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2008 Joseph Smith <joe@settoplinux.org>
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include <spd.h>
+
+struct spd_entry {
+ unsigned int address;
+ unsigned int data;
+};
+
+/*
+ * The onboard 64MB PC133 memory does not have an SPD EEPROM so the values
+ * have to be set manually, the onboard memory is located in socket1 (0x51).
+ */
+const struct spd_entry spd_table [] = {
+ {SPD_MEMORY_TYPE, 0x04}, /* (Fundamental) memory type */
+ {SPD_NUM_COLUMNS, 0x09}, /* Number of column address bits */
+ {SPD_NUM_DIMM_BANKS, 0x01}, /* Number of module rows (banks) */
+ {SPD_MODULE_DATA_WIDTH_LSB, 0x40}, /* Module data width (LSB) */
+ {SPD_MIN_CYCLE_TIME_AT_CAS_MAX, 0x75}, /* SDRAM cycle time (highest CAS latency), RAS access time (tRAC) */
+ {SPD_ACCESS_TIME_FROM_CLOCK, 0x54}, /* SDRAM access time from clock (highest CAS latency), CAS access time (Tac, tCAC) */
+ {SPD_DENSITY_OF_EACH_ROW_ON_MODULE, 0x10}, /* Density of each row on module */
+};