diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-07 02:06:53 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-07 02:06:53 +0000 |
commit | c2d29415c3b3c40149087fe6a379e60c030c9d58 (patch) | |
tree | 0c76c9e79ea859430a919b2effa9dcafdc8a1843 /src/southbridge/intel/esb6300 | |
parent | c51dc44bf2b76ac47b83ee76bee3357ce4b173de (diff) |
switch some ROMCC boards back to ROMCC.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5364 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/intel/esb6300')
-rw-r--r-- | src/southbridge/intel/esb6300/esb6300_bridge1c.c | 4 | ||||
-rw-r--r-- | src/southbridge/intel/esb6300/esb6300_ide.c | 2 | ||||
-rw-r--r-- | src/southbridge/intel/esb6300/esb6300_lpc.c | 8 | ||||
-rw-r--r-- | src/southbridge/intel/esb6300/esb6300_sata.c | 2 |
4 files changed, 5 insertions, 11 deletions
diff --git a/src/southbridge/intel/esb6300/esb6300_bridge1c.c b/src/southbridge/intel/esb6300/esb6300_bridge1c.c index 50bae9fb2a..54c2717d89 100644 --- a/src/southbridge/intel/esb6300/esb6300_bridge1c.c +++ b/src/southbridge/intel/esb6300/esb6300_bridge1c.c @@ -7,9 +7,6 @@ static void bridge1c_init(struct device *dev) { - - uint16_t word; - /* configuration */ pci_write_config8(dev, 0x1b, 0x30); // pci_write_config8(dev, 0x3e, 0x07); @@ -31,7 +28,6 @@ static void bridge1c_init(struct device *dev) /* multi transaction timer */ pci_write_config8(dev, 0x42, 0x08); - } static struct device_operations pci_ops = { diff --git a/src/southbridge/intel/esb6300/esb6300_ide.c b/src/southbridge/intel/esb6300/esb6300_ide.c index e56393722a..543468dabb 100644 --- a/src/southbridge/intel/esb6300/esb6300_ide.c +++ b/src/southbridge/intel/esb6300/esb6300_ide.c @@ -9,7 +9,6 @@ static void ide_init(struct device *dev) { /* Enable ide devices so the linux ide driver will work */ - uint16_t word; /* Enable IDE devices */ pci_write_config16(dev, 0x40, 0x0a307); @@ -19,6 +18,7 @@ static void ide_init(struct device *dev) pci_write_config16(dev, 0x54, 0x5055); #if 0 + uint16_t word; word = pci_read_config16(dev, 0x40); word |= (1 << 15); pci_write_config16(dev, 0x40, word); diff --git a/src/southbridge/intel/esb6300/esb6300_lpc.c b/src/southbridge/intel/esb6300/esb6300_lpc.c index c25771aa0a..fe035bb2c4 100644 --- a/src/southbridge/intel/esb6300/esb6300_lpc.c +++ b/src/southbridge/intel/esb6300/esb6300_lpc.c @@ -51,13 +51,13 @@ static void set_esb6300_gpio_use_sel( device_t dev, struct resource *res, config_t *config) { uint32_t gpio_use_sel, gpio_use_sel2; - int i; // gpio_use_sel = 0x1B003100; // gpio_use_sel2 = 0x03000000; gpio_use_sel = 0x1BBC31C0; gpio_use_sel2 = 0x03000FE1; #if 0 + int i; for(i = 0; i < 64; i++) { int val; switch(config->gpio[i] & ESB6300_GPIO_USE_MASK) { @@ -84,13 +84,13 @@ static void set_esb6300_gpio_direction( device_t dev, struct resource *res, config_t *config) { uint32_t gpio_io_sel, gpio_io_sel2; - int i; // gpio_io_sel = 0x0000ffff; // gpio_io_sel2 = 0x00000000; gpio_io_sel = 0x1900ffff; gpio_io_sel2 = 0x00000fe1; #if 0 + int i; for(i = 0; i < 64; i++) { int val; switch(config->gpio[i] & ESB6300_GPIO_SEL_MASK) { @@ -118,7 +118,6 @@ static void set_esb6300_gpio_level( { uint32_t gpio_lvl, gpio_lvl2; uint32_t gpio_blink; - int i; // gpio_lvl = 0x1b3f0000; // gpio_blink = 0x00040000; @@ -127,6 +126,7 @@ static void set_esb6300_gpio_level( gpio_blink = 0x00000000; gpio_lvl2 = 0x00000fff; #if 0 + int i; for(i = 0; i < 64; i++) { int val, blink; switch(config->gpio[i] & ESB6300_GPIO_LVL_MASK) { @@ -157,10 +157,10 @@ static void set_esb6300_gpio_inv( device_t dev, struct resource *res, config_t *config) { uint32_t gpio_inv; - int i; gpio_inv = 0x00003100; #if 0 + int i; for(i = 0; i < 32; i++) { int val; switch(config->gpio[i] & ESB6300_GPIO_INV_MASK) { diff --git a/src/southbridge/intel/esb6300/esb6300_sata.c b/src/southbridge/intel/esb6300/esb6300_sata.c index c26b7c4d12..5818df1819 100644 --- a/src/southbridge/intel/esb6300/esb6300_sata.c +++ b/src/southbridge/intel/esb6300/esb6300_sata.c @@ -7,9 +7,7 @@ static void sata_init(struct device *dev) { - /* Enable sata devices so the linux sata driver will work */ - uint16_t word; /* Enable SATA devices */ |