first round name simplification. drop the <component>_ prefix.

the prefix was introduced in the early v2 tree many years ago
because our old build system "newconfig" could not handle two files with
the same name in different paths like /path/to/usb.c and
/another/path/to/usb.c correctly. Only one of the files would end up
being compiled into the final image.

Since Kconfig (actually since shortly before we switched to Kconfig) we
don't suffer from that problem anymore. So we could drop the sb700_
prefix from all those filenames (or, the <componentname>_ prefix in general)

- makes it easier to fork off a new chipset
- makes it easier to diff against other chipsets
- storing redundant information in filenames seems wrong

Signed-off-by: <stepan@coresystems.de>

Acked-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Peter Stuge <peter@stuge.se>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6149 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
stepan
2010-12-08 05:42:47 +00:00
committed by Stefan Reinauer
parent 1bc5ccac51
commit 836ae29ee3
455 changed files with 503 additions and 510 deletions

View File

@@ -18,24 +18,24 @@
##
driver-y += i82801gx.c
driver-y += i82801gx_ac97.c
driver-y += i82801gx_azalia.c
driver-y += i82801gx_ide.c
driver-y += i82801gx_lpc.c
driver-y += i82801gx_nic.c
driver-y += i82801gx_pci.c
driver-y += i82801gx_pcie.c
driver-y += i82801gx_sata.c
driver-y += i82801gx_smbus.c
driver-y += i82801gx_usb.c
driver-y += i82801gx_usb_ehci.c
driver-y += ac97.c
driver-y += azalia.c
driver-y += ide.c
driver-y += lpc.c
driver-y += nic.c
driver-y += pci.c
driver-y += pcie.c
driver-y += sata.c
driver-y += smbus.c
driver-y += usb.c
driver-y += usb_ehci.c
ramstage-y += i82801gx_reset.c
ramstage-y += i82801gx_watchdog.c
ramstage-y += reset.c
ramstage-y += watchdog.c
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += i82801gx_smi.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += i82801gx_smihandler.c
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
romstage-y += i82801gx_early_smbus.c
romstage-$(CONFIG_USBDEBUG) += i82801gx_usb_debug.c
romstage-y += early_smbus.c
romstage-$(CONFIG_USBDEBUG) += usb_debug.c

View File

@@ -159,30 +159,30 @@ Scope(\)
}
// 0:1b.0 High Definition Audio (Azalia)
#include "../../../southbridge/intel/i82801gx/acpi/ich7_audio.asl"
#include "../../../southbridge/intel/i82801gx/acpi/audio.asl"
// PCI Express Ports
#include "../../../southbridge/intel/i82801gx/acpi/ich7_pcie.asl"
#include "../../../southbridge/intel/i82801gx/acpi/pcie.asl"
// USB
#include "../../../southbridge/intel/i82801gx/acpi/ich7_usb.asl"
#include "../../../southbridge/intel/i82801gx/acpi/usb.asl"
// PCI Bridge
#include "../../../southbridge/intel/i82801gx/acpi/ich7_pci.asl"
#include "../../../southbridge/intel/i82801gx/acpi/pci.asl"
// AC97 Audio and Modem
#include "../../../southbridge/intel/i82801gx/acpi/ich7_ac97.asl"
#include "../../../southbridge/intel/i82801gx/acpi/ac97.asl"
// LPC Bridge
#include "../../../southbridge/intel/i82801gx/acpi/ich7_lpc.asl"
#include "../../../southbridge/intel/i82801gx/acpi/lpc.asl"
// PATA
#include "../../../southbridge/intel/i82801gx/acpi/ich7_pata.asl"
#include "../../../southbridge/intel/i82801gx/acpi/pata.asl"
// SATA
#include "../../../southbridge/intel/i82801gx/acpi/ich7_sata.asl"
#include "../../../southbridge/intel/i82801gx/acpi/sata.asl"
// SMBus
#include "../../../southbridge/intel/i82801gx/acpi/ich7_smbus.asl"
#include "../../../southbridge/intel/i82801gx/acpi/smbus.asl"

View File

@@ -51,7 +51,7 @@ Device (LPCB)
RCBA, 18,
}
#include "../../../southbridge/intel/i82801gx/acpi/ich7_irqlinks.asl"
#include "../../../southbridge/intel/i82801gx/acpi/irqlinks.asl"
#include "acpi/ec.asl"

View File

@@ -24,7 +24,7 @@
#include <device/pci_ids.h>
#include <device/pci_def.h>
#include "i82801gx.h"
#include "i82801gx_smbus.h"
#include "smbus.h"
void enable_smbus(void)
{

View File

@@ -27,7 +27,7 @@
#include <device/pci_ops.h>
#include <arch/io.h>
#include "i82801gx.h"
#include "i82801gx_smbus.h"
#include "smbus.h"
#define SMB_BASE 0x20
static void smbus_init(struct device *dev)

View File

@@ -44,7 +44,7 @@
#define G_SMRANE (1 << 3)
#define C_BASE_SEG ((0 << 2) | (1 << 1) | (0 << 0))
#include "i82801gx_nvs.h"
#include "nvs.h"
/* While we read PMBASE dynamically in case it changed, let's
* initialize it with a sane value