Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12245
-gerrit
commit edf0d3f465160c46faf00447efb0133eea592287
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Oct 28 18:14:38 2015 -0700
Drop SuperIO smsc/fdc37m60x
All boards using this SuperIO have been removed from the tree already.
Change-Id: I52847bc2fc16b27ac0de0bc7c847221b1e5cb744
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
src/superio/smsc/Kconfig | 2 -
src/superio/smsc/Makefile.inc | 1 -
src/superio/smsc/fdc37m60x/Makefile.inc | 17 -------
src/superio/smsc/fdc37m60x/early_serial.c | 73 -------------------------------
src/superio/smsc/fdc37m60x/fdc37m60x.h | 39 -----------------
src/superio/smsc/fdc37m60x/superio.c | 66 ----------------------------
6 files changed, 198 deletions(-)
diff --git a/src/superio/smsc/Kconfig b/src/superio/smsc/Kconfig
index 6245766..0bab195 100644
--- a/src/superio/smsc/Kconfig
+++ b/src/superio/smsc/Kconfig
@@ -19,8 +19,6 @@ config SUPERIO_WANTS_14MHZ_CLOCK
config SUPERIO_SMSC_DME1737
bool
-config SUPERIO_SMSC_FDC37M60X
- bool
config SUPERIO_SMSC_FDC37N972
bool
config SUPERIO_SMSC_LPC47B272
diff --git a/src/superio/smsc/Makefile.inc b/src/superio/smsc/Makefile.inc
index 88d5b6e..9b86745 100644
--- a/src/superio/smsc/Makefile.inc
+++ b/src/superio/smsc/Makefile.inc
@@ -15,7 +15,6 @@
##
subdirs-y += dme1737
-subdirs-y += fdc37m60x
subdirs-y += fdc37n972
subdirs-y += lpc47b272
subdirs-y += lpc47b397
diff --git a/src/superio/smsc/fdc37m60x/Makefile.inc b/src/superio/smsc/fdc37m60x/Makefile.inc
deleted file mode 100644
index 713bc0a..0000000
--- a/src/superio/smsc/fdc37m60x/Makefile.inc
+++ /dev/null
@@ -1,17 +0,0 @@
-##
-## This file is part of the coreboot project.
-##
-## Copyright (C) 2006 Uwe Hermann <uwe(a)hermann-uwe.de>
-##
-## 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.
-##
-
-ramstage-$(CONFIG_SUPERIO_SMSC_FDC37M60X) += superio.c
diff --git a/src/superio/smsc/fdc37m60x/early_serial.c b/src/superio/smsc/fdc37m60x/early_serial.c
deleted file mode 100644
index 36a62b0..0000000
--- a/src/superio/smsc/fdc37m60x/early_serial.c
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2006 Uwe Hermann <uwe(a)hermann-uwe.de>
- *
- * 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.
- */
-
-#include <arch/io.h>
-#include "fdc37m60x.h"
-
-/* The base address is 0x3f0 or 0x370, depending on the SYSOPT pin. */
-#define SIO_BASE 0x3f0
-#define SIO_INDEX SIO_BASE
-#define SIO_DATA (SIO_BASE + 1)
-
-/* Global configuration registers. */
-#define FDC37M60X_CONFIG_REG_CC 0x02 /* Configure Control. */
-#define FDC37M60X_CONFIG_REG_LDN 0x07 /* Logical Device Number. */
-#define FDC37M60X_CONFIG_POWER_CONTROL 0x22 /* Power Control. */
-#define FDC37M60X_CONFIG_POWER_MGMT 0x23 /* Intelligent Power Mgmt. */
-#define FDC37M60X_CONFIG_OSC 0x24 /* OSC. */
-
-#define FDC37M60X_CONFIGURATION_PORT 0x3f0 /* Write-only. */
-
-/* The content of FDC37M60X_CONFIG_REG_LDN (index 0x07) must be set to the
- LDN the register belongs to, before you can access the register. */
-static void fdc37m60x_sio_write(uint8_t ldn, u8 index, u8 value)
-{
- outb(FDC37M60X_CONFIG_REG_LDN, SIO_BASE);
- outb(ldn, SIO_DATA);
- outb(index, SIO_BASE);
- outb(value, SIO_DATA);
-}
-
-/* Enable the peripheral devices on the FDC37M60X Super I/O chip. */
-static void fdc37m60x_enable_serial(pnp_devfn_t dev, u16 iobase)
-{
- /* (1) Enter the configuration state. */
- outb(0x55, FDC37M60X_CONFIGURATION_PORT);
-
- /* (2) Modify the data of configuration registers. */
-
- /* Power on all devices by setting the respective bit.
- Bits: 0 (FDC), 3 (PP), 4 (Com1), 5 (Com2). The rest is reserved. */
- fdc37m60x_sio_write(0x00, FDC37M60X_CONFIG_POWER_CONTROL, 0x39);
-
- /* Disable intelligent power management. */
- fdc37m60x_sio_write(0x00, FDC37M60X_CONFIG_POWER_MGMT, 0x00);
-
- /* Turn on OSC, turn on BRG clock. */
- fdc37m60x_sio_write(0x00, FDC37M60X_CONFIG_OSC, 0x04);
-
- /* Configure serial port 1. */
- fdc37m60x_sio_write(FDC37M60X_SP1, 0x60, 0x03);
- fdc37m60x_sio_write(FDC37M60X_SP1, 0x61, 0xf8); /* I/O 0x3f8 */
- fdc37m60x_sio_write(FDC37M60X_SP1, 0x70, 0x04); /* IRQ 4 */
- fdc37m60x_sio_write(FDC37M60X_SP1, 0xf0, 0x00); /* Normal */
-
- /* Enable serial port 1. */
- fdc37m60x_sio_write(FDC37M60X_SP1, 0x30, 0x01);
-
- /* (3) Exit the configuration state. */
- outb(0xaa, FDC37M60X_CONFIGURATION_PORT);
-}
diff --git a/src/superio/smsc/fdc37m60x/fdc37m60x.h b/src/superio/smsc/fdc37m60x/fdc37m60x.h
deleted file mode 100644
index a2eabcf..0000000
--- a/src/superio/smsc/fdc37m60x/fdc37m60x.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2006 Uwe Hermann <uwe(a)hermann-uwe.de>
- *
- * 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.
- */
-
-#ifndef SUPERIO_SMSC_FDC37M60X_FDC37M60X_H
-#define SUPERIO_SMSC_FDC37M60X_FDC37M60X_H
-
-/*
- * Datasheet:
- * - Name: FDC37M60x Enhanced Super I/O Controller with Infrared Support.
- * - URL: http://www.smsc.com/main/discfdc.html
- * - PDF: http://www.smsc.com/main/tools/discontinued/37m602.pdf
- * - Revision: 6/6/97
- */
-
-/* Status: Serial port 1 is tested and works (tested on FDC37M602). */
-
-/* Note: Logical devices 1, 2, 6, and 9 are reserved. */
-
-#define FDC37M60X_FDC 0x00 /* Floppy */
-#define FDC37M60X_PP 0x03 /* Parallel port */
-#define FDC37M60X_SP1 0x04 /* Com1 */
-#define FDC37M60X_SP2 0x05 /* Com2 */
-#define FDC37M60X_KBCK 0x07 /* Keyboard */
-#define FDC37M60X_AUX 0x08 /* Auxiliary I/O */
-
-#endif
diff --git a/src/superio/smsc/fdc37m60x/superio.c b/src/superio/smsc/fdc37m60x/superio.c
deleted file mode 100644
index 57ba0d0..0000000
--- a/src/superio/smsc/fdc37m60x/superio.c
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2006 Uwe Hermann <uwe(a)hermann-uwe.de>
- *
- * 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.
- */
-
-#include <device/device.h>
-#include <device/pnp.h>
-#include <pc80/keyboard.h>
-#include <stdlib.h>
-#include "fdc37m60x.h"
-
-static void init(struct device *dev)
-{
-
- if (!dev->enabled)
- return;
-
- switch (dev->path.pnp.device) {
- case FDC37M60X_FDC: /* TODO. */
- break;
- case FDC37M60X_PP: /* TODO. */
- break;
- case FDC37M60X_KBCK:
- pc_keyboard_init();
- break;
- case FDC37M60X_AUX: /* TODO. */
- break;
- }
-}
-
-static struct device_operations ops = {
- .read_resources = pnp_read_resources,
- .set_resources = pnp_set_resources,
- .enable_resources = pnp_enable_resources,
- .enable = pnp_enable,
- .init = init,
-};
-
-/* TODO: FDC, PP, AUX. */
-static struct pnp_info pnp_dev_info[] = {
- { &ops, FDC37M60X_SP1, PNP_IO0 | PNP_IRQ0, {0x07f8, 0}, },
- { &ops, FDC37M60X_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, {0x07f8, 0}, },
- { &ops, FDC37M60X_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, {0x07f8, 0}, {0x07f8, 4}, },
-};
-
-static void enable_dev(struct device *dev)
-{
- pnp_enable_devices(dev, &pnp_ops,
- ARRAY_SIZE(pnp_dev_info), pnp_dev_info);
-}
-
-struct chip_operations superio_smsc_fdc37m60x_ops = {
- CHIP_NAME("SMSC FDC37M60X Super I/O")
- .enable_dev = enable_dev,
-};
the following patch was just integrated into master:
commit 1ca2d864dd09788ab69f461074889bab57a92ae8
Author: Aaron Durbin <adurbin(a)chromium.org>
Date: Wed Sep 30 12:26:54 2015 -0500
cbmem: add coreboot table records for each cbmem entry
In order to not expose the cbmem data structures to userland
that are used by coreboot internally add each of the cbmem
entries to a coreboot table record. The payload ABI uses
coreboot tables so this just provides a shortcut for cbmem
entries which were manually added previously by doing the
work on behalf of all entries.
A cursor structure and associated functions are added to
the imd code for walking the entries in order to be placed
in the coreboot tables. Additionally a struct lb_cbmem_entry
is added that lists the base address, size, and id of the
cbmem entry.
BUG=chrome-os-partner:43731
BRANCH=None
TEST=Booted glados. View coreboot table entries with cbmem.
Change-Id: I125940aa1898c3e99077ead0660eff8aa905b13b
Signed-off-by: Aaron Durbin <adurbin(a)chromium.org>
Reviewed-on: http://review.coreboot.org/11757
Reviewed-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/11757 for details.
-gerrit
the following patch was just integrated into master:
commit 730a043fb6cb4dd3cb5af8f8640365727b598648
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Oct 16 13:51:51 2015 -0500
cpu/amd: Add initial AMD Family 15h support
TEST: Booted ASUS KGPE-D16 with single Opteron 6380
* Unbuffered DDR3 DIMMs tested and working
* Suspend to RAM (S3) tested and working
Change-Id: Idffd2ce36ce183fbfa087e5ba69a9148f084b45e
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/11966
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See http://review.coreboot.org/11966 for details.
-gerrit
the following patch was just integrated into master:
commit d150006c4a4584bc9933c2d8ff580a54c4f0cc2a
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Tue Oct 20 01:17:34 2015 -0500
cpu/amd/family_10h-family_15h: Use correct label for break state
Change-Id: I07e517f239807cbe76037308f0beff80c9a6f2ba
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/12101
Reviewed-by: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/12101 for details.
-gerrit
the following patch was just integrated into master:
commit b30d7ed8f09d4d5d75bf68f3ba74674fe65c4b4f
Author: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Date: Fri Oct 16 14:24:06 2015 -0500
cpu/amd: Move model_10xxx to family_10h-family_15h
Change-Id: I34501d3fc68b71db7781dad11d5b883868932a60
Signed-off-by: Timothy Pearson <tpearson(a)raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/11965
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth(a)google.com>
See http://review.coreboot.org/11965 for details.
-gerrit