diff --git a/src/mainboard/bitworks/ims/auto.c b/src/mainboard/bitworks/ims/auto.c index 1da87bbd5f..cbd1f854bc 100644 --- a/src/mainboard/bitworks/ims/auto.c +++ b/src/mainboard/bitworks/ims/auto.c @@ -9,7 +9,7 @@ #include "pc80/serial.c" #include "arch/i386/lib/console.c" #include "ram/ramtest.c" -#include "southbridge/intel/i440bx/i440bx_early_smbus.c" +#include "southbridge/intel/i8371eb/i8371eb_early_smbus.c" #include "superio/NSC/pc87351/pc87351_early_serial.c" #include "northbridge/intel/i440bx/raminit.h" #include "cpu/x86/mtrr/earlymtrr.c" diff --git a/src/southbridge/intel/i440bx/chip.h b/src/southbridge/intel/i440bx/chip.h deleted file mode 100644 index 5952e38582..0000000000 --- a/src/southbridge/intel/i440bx/chip.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef I440BX_CHIP_H -#define I440BX_CHIP_H - -struct southbridge_intel_i440bx_config -{ - unsigned int ide0_enable : 1; - unsigned int ide1_enable : 1; -}; - -struct chip_operations; -extern struct chip_operations southbridge_intel_i440bx_ops; - -#endif /* I440BX_CHIP_H */ diff --git a/src/southbridge/intel/i8371eb/chip.h b/src/southbridge/intel/i8371eb/chip.h new file mode 100644 index 0000000000..9516f3c73b --- /dev/null +++ b/src/southbridge/intel/i8371eb/chip.h @@ -0,0 +1,13 @@ +#ifndef I8371EB_CHIP_H +#define I8371EB_CHIP_H + +struct southbridge_intel_i8371eb_config +{ + unsigned int ide0_enable : 1; + unsigned int ide1_enable : 1; +}; + +struct chip_operations; +extern struct chip_operations southbridge_intel_i8371eb_ops; + +#endif /* I8371EB_CHIP_H */ diff --git a/src/southbridge/intel/i440bx/i440bx_early_smbus.c b/src/southbridge/intel/i8371eb/i8371eb_early_smbus.c similarity index 97% rename from src/southbridge/intel/i440bx/i440bx_early_smbus.c rename to src/southbridge/intel/i8371eb/i8371eb_early_smbus.c index 172414e3d4..4b12048016 100644 --- a/src/southbridge/intel/i440bx/i440bx_early_smbus.c +++ b/src/southbridge/intel/i8371eb/i8371eb_early_smbus.c @@ -1,4 +1,4 @@ -#include "i440bx_smbus.h" +#include "i8371eb_smbus.h" #define SMBUS_IO_BASE 0x0f00 diff --git a/src/southbridge/intel/i440bx/i440bx_smbus.c b/src/southbridge/intel/i8371eb/i8371eb_smbus.c similarity index 94% rename from src/southbridge/intel/i440bx/i440bx_smbus.c rename to src/southbridge/intel/i8371eb/i8371eb_smbus.c index 9609e357c1..7a09cce555 100644 --- a/src/southbridge/intel/i440bx/i440bx_smbus.c +++ b/src/southbridge/intel/i8371eb/i8371eb_smbus.c @@ -10,7 +10,7 @@ #include #include #include -#include "i440bx.h" +#include "i8371eb.h" static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device) @@ -31,7 +31,7 @@ static struct device_operations smbus_ops = { .enable_resources = pci_dev_enable_resources, .init = 0, .scan_bus = scan_static_bus, - .enable = i440bx_enable, + .enable = i8371eb_enable, .ops_pci = &lops_pci, .ops_smbus_bus = &lops_smbus_bus, }; diff --git a/src/southbridge/intel/i440bx/i440bx_smbus.h b/src/southbridge/intel/i8371eb/i8371eb_smbus.h similarity index 100% rename from src/southbridge/intel/i440bx/i440bx_smbus.h rename to src/southbridge/intel/i8371eb/i8371eb_smbus.h