summaryrefslogtreecommitdiff
path: root/src/mainboard/dell/s1850/s1850_fixups.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2009-09-25 19:53:59 +0000
committerRonald G. Minnich <rminnich@gmail.com>2009-09-25 19:53:59 +0000
commit45847beb4947442f6e7e78e04de50bfbc5798a7e (patch)
treeee1921fc4ab767a54dcf98f5e0ac2fae044b8afa /src/mainboard/dell/s1850/s1850_fixups.c
parent03bdc3e07003308da3a85e773811556a1e540200 (diff)
Trivial fixups to get this board further along.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4675 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/dell/s1850/s1850_fixups.c')
-rw-r--r--src/mainboard/dell/s1850/s1850_fixups.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/mainboard/dell/s1850/s1850_fixups.c b/src/mainboard/dell/s1850/s1850_fixups.c
new file mode 100644
index 0000000000..77744d4d34
--- /dev/null
+++ b/src/mainboard/dell/s1850/s1850_fixups.c
@@ -0,0 +1,40 @@
+#include <arch/romcc_io.h>
+
+static void mch_reset(void)
+{
+ return;
+}
+
+
+
+static void mainboard_set_e7520_pll(unsigned bits)
+{
+ return;
+}
+
+
+static void mainboard_set_e7520_leds(void)
+{
+ return;
+}
+
+static void mainboard_set_ich5(void)
+{
+ /* coma is 0x3f8 , comb is 0x2f8*/
+ pci_write_config8(PCI_DEV(0, 0x1f, 0), 0xe0, 0x10);
+ /* enable decoding of various devices */
+ pci_write_config16(PCI_DEV(0, 0x1f, 0), 0xe6, 0x140f);
+ /* 1M flash */
+ pci_write_config8(PCI_DEV(0, 0x1f, 0), 0xe3, 0xc0);
+ pci_write_config8(PCI_DEV(0, 0x1f, 0), 0xf0, 0x0);
+ /* disable certain devices -- see data sheet -- this is from
+ * dell settings via lspci
+ * Note that they leave SMBUS disabled -- 8f6f.
+ * we leave it enabled and visible in config space -- 8f66
+ */
+ pci_write_config16(PCI_DEV(0, 0x1f, 0), 0xf2, 0x8f66);
+}
+
+
+
+