Drop redundant CHIP_NAME in mainboard.c

Compose the name from Kconfig strings instead.

As the field is for debug print use only, a minor change in the output
should do no harm. The strings no longer include word "Mainboard".

Change-Id: Ifd24f408271eb5a5d1a08a317512ef00cb537ee2
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1635
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2012-10-09 22:28:56 +03:00 committed by Stefan Reinauer
parent d635068ffa
commit a93c3fe7f0
180 changed files with 6 additions and 181 deletions

View File

@ -27,6 +27,8 @@
#include <device/pci.h>
#include <reset.h>
const char mainboard_name[] = CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER;
/**
* Read the resources for the root device, that encompass the resources for
* the entire system.

View File

@ -117,6 +117,8 @@ extern struct device *all_devices; /* list of all devices */
extern struct resource *free_resources;
extern struct bus *free_links;
extern const char mainboard_name[];
/* IGD UMA memory */
extern uint64_t uma_memory_base;
extern uint64_t uma_memory_size;

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("A-Trend ATC-6220 Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("A-Trend ATC-6240 Mainboard")
};

View File

@ -32,6 +32,5 @@ static void enable_dev(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AAEON PFM-540I_REVB Mainboard")
.enable_dev = enable_dev,
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Abit BE6-II V2.0 Mainboard")
};

View File

@ -82,6 +82,5 @@ static void a785e_i_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("ADVANSUS A785E-I Mainboard")
.enable_dev = a785e_i_enable,
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Advantech PCM-5820 Mainboard")
};

View File

@ -133,6 +133,5 @@ static void bimini_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Bimini Mainboard")
.enable_dev = bimini_enable,
};

View File

@ -32,6 +32,5 @@ static void enable_dev(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD DB800 Mainboard")
.enable_dev = enable_dev,
};

View File

@ -190,6 +190,5 @@ static void dbm690t_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD DBM690T Mainboard")
.enable_dev = dbm690t_enable,
};

View File

@ -74,6 +74,5 @@ static void dinar_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD DINAR Mainboard")
.enable_dev = dinar_enable,
};

View File

@ -82,6 +82,5 @@ static void inagua_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = inagua_enable,
};

View File

@ -106,6 +106,5 @@ static void mahogany_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD MAHOGANY Mainboard")
.enable_dev = mahogany_enable,
};

View File

@ -107,6 +107,5 @@ static void mahogany_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD MAHOGANY Mainboard")
.enable_dev = mahogany_enable,
};

View File

@ -32,6 +32,5 @@ static void enable_dev(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Norwich Mainboard")
.enable_dev = enable_dev,
};

View File

@ -47,6 +47,5 @@ static void parmer_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = parmer_enable,
};

View File

@ -66,6 +66,5 @@ static void persimmon_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = persimmon_enable,
};

View File

@ -259,6 +259,5 @@ static void pistachio_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Pistachio Mainboard")
.enable_dev = pistachio_enable,
};

View File

@ -33,7 +33,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Rumba Mainboard")
.enable_dev = enable_dev,
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Serengeti Cheetah Mainboard")
};

View File

@ -25,5 +25,4 @@
#include <device/pci_ops.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD family 10 Cheetah mainboard")
};

View File

@ -82,6 +82,5 @@ static void southstation_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = southstation_enable,
};

View File

@ -64,6 +64,5 @@ static void thatcher_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = thatcher_enable,
};

View File

@ -284,6 +284,5 @@ static void tilapia_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("AMD TILAPIA Mainboard")
.enable_dev = tilapia_enable,
};

View File

@ -58,6 +58,5 @@ static void torpedo_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = torpedo_enable,
};

View File

@ -55,6 +55,5 @@ static void unionstation_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = unionstation_enable,
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("AOpen DXPL Plus-U Mainboard")
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Arima HDAMA Mainboard")
};

View File

@ -52,6 +52,5 @@ static void enable_dev(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("Artec Group dbe61 Mainboard")
.enable_dev = enable_dev,
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASI MB-5BLGP Mainboard")
};

View File

@ -21,6 +21,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASI/BCom MB-5BLMP Mainboard")
};

View File

@ -104,7 +104,6 @@ static void mb_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("Asrock 939A785GMH/128M Mainboard")
.enable_dev = mb_enable,
};

View File

@ -54,6 +54,5 @@ static void e350m1_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = e350m1_enable,
};

View File

@ -22,5 +22,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS A8N-E Mainboard")
};

View File

@ -23,5 +23,4 @@
#include <device/pci_ids.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS A8V-E Deluxe Mainboard")
};

View File

@ -23,5 +23,4 @@
#include <device/pci_ids.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS A8V-E SE Mainboard")
};

View File

@ -32,7 +32,6 @@ static void mainboard_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER)
.enable_dev = mainboard_enable,
};

View File

@ -59,5 +59,4 @@ u32 vt8237_ide_80pin_detect(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS K8V-X Mainboard")
};

View File

@ -33,6 +33,5 @@ static void mainboard_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS M2N-E Mainboard")
.enable_dev = mainboard_enable,
};

View File

@ -23,5 +23,4 @@
#include <southbridge/via/k8t890/k8t890.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS M2V-MX SE Mainboard")
};

View File

@ -55,5 +55,4 @@ u32 vt8237_ide_80pin_detect(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS M2V")
};

View File

@ -128,6 +128,5 @@ static void m4a78em_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS M4A78-EM Mainboard")
.enable_dev = m4a78em_enable,
};

View File

@ -200,10 +200,5 @@ static void m4a785m_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
#ifdef CONFIG_BOARD_ASUS_M4A785TM
CHIP_NAME("ASUS M4A785T-M Mainboard")
#else
CHIP_NAME("ASUS M4A785-M Mainboard")
#endif
.enable_dev = m4a785m_enable,
};

View File

@ -83,6 +83,5 @@ static void m5a88pm_v_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS M5A88-V Mainboard")
.enable_dev = m5a88pm_v_enable,
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS MEW-AM Mainboard")
};

View File

@ -1,5 +1,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS MEW-VM Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P2B-D Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P2B-DS Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P2B-F Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P2B-LS Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P2B Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ASUS P3B-F Mainboard")
};

View File

@ -82,6 +82,5 @@ static void eax_785e(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard")
.enable_dev = eax_785e,
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("AXUS TC320 Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("AZZA PT-6IBD Mainboard")
};

View File

@ -71,6 +71,5 @@ static void enable_dev(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER)
.enable_dev = enable_dev,
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("BCOM WinNET100 Mainboard")
};

View File

@ -22,5 +22,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("BCOM WinNET P680 Mainboard")
};

View File

@ -20,6 +20,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Bifferos Bifferboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Biostar M6TBA Mainboard")
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Broadcom Blast Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Compaq Deskpro EN SFF P600 Mainboard")
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("DIGITAL-LOGIC ADL855PC Mainboard")
};

View File

@ -129,7 +129,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("DIGITAL-LOGIC MSM586SEG Mainboard")
.enable_dev = enable_dev
};

View File

@ -32,7 +32,6 @@ static void enable_dev(struct device *dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("DIGITAL-LOGIC MSM800SEV Mainboard")
.enable_dev = enable_dev,
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Eaglelion 5BCM Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("ECS P6IWP-Fe Mainboard")
};

View File

@ -71,6 +71,5 @@ static const struct pci_driver vga_driver __pci_driver = {
};
struct chip_operations mainboard_ops = {
CHIP_NAME("QEMU Mainboard")
};

View File

@ -97,7 +97,6 @@ static void mainboard_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("Getac P470 Rugged Notebook")
.enable_dev = mainboard_enable,
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE GA-6BXC Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE GA-6BXE Mainboard")
};

View File

@ -26,5 +26,4 @@
#include <device/pci_ops.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE GA-2761GXDK Mainboard")
};

View File

@ -39,6 +39,5 @@ static void mainboard_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE GA-M57SLI Mainboard")
.enable_dev = mainboard_enable,
};

View File

@ -144,6 +144,5 @@ static void ma785gm_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE MA785GM-US2H Mainboard")
.enable_dev = ma785gm_enable,
};

View File

@ -255,6 +255,5 @@ static void ma785gmt_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE MA785GMT-UD2H Mainboard")
.enable_dev = ma785gmt_enable,
};

View File

@ -80,6 +80,5 @@ static void ma78gm_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("GIGABYTE MA78GM-US2H")
.enable_dev = ma78gm_enable,
};

View File

@ -24,5 +24,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("HP ProLiant DL145 G1 Mainboard")
};

View File

@ -29,5 +29,4 @@
#include <device/pci_ops.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("HP ProLiant DL145 G3 Mainboard")
};

View File

@ -29,5 +29,4 @@
#include <device/pci_ops.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("HP ProLiant DL165 G6 Mainboard (Fam10h)")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("HP e-Vectra P2706T Mainboard")
};

View File

@ -222,7 +222,6 @@ static void mainboard_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("iBASE MB899 Mainboard")
.enable_dev = mainboard_enable,
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("IBM eServer 325 Mainboard")
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("IBM eServer 326 Mainboard")
};

View File

@ -26,5 +26,4 @@
#include <arch/io.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("IEI JUKI-511P Mainboard")
};

View File

@ -62,6 +62,5 @@ static void kino_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("IEI Kino-780AM2 Mainboard")
.enable_dev = kino_enable,
};

View File

@ -26,5 +26,4 @@
#include <arch/io.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("IEI NOVA-4899R Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("IEI PCISA-LX-800-R10 Mainboard")
};

View File

@ -21,5 +21,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("IEI PM-LX-800-R11 Mainboard")
};

View File

@ -20,5 +20,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel D810E2CB Mainboard")
};

View File

@ -21,6 +21,5 @@
#include <console/console.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel D945GCLF Mainboard")
};

View File

@ -23,6 +23,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Eagle Heights Mainboard")
};

View File

@ -224,7 +224,6 @@ static void mainboard_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("Compal Link ChromeBox")
.enable_dev = mainboard_enable,
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Jarell Mainboard")
};

View File

@ -21,6 +21,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Mt. Arvon Mainboard")
};

View File

@ -21,6 +21,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Truxton Mainboard")
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("Intel Xeon E7501 DevKit Mainboard")
};

View File

@ -34,6 +34,5 @@ static void mainboard_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
CHIP_NAME("iW Rainbow G6 Mainboard")
.enable_dev = mainboard_enable,
};

View File

@ -1,5 +1,4 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("IWILL DK8-HTX Mainboard")
};

View File

@ -1,6 +1,5 @@
#include <device/device.h>
struct chip_operations mainboard_ops = {
CHIP_NAME("IWILL DK8S2 Mainboard")
};

Some files were not shown because too many files have changed in this diff Show More