diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-10-09 22:28:56 +0300 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-06 21:59:21 +0100 |
commit | a93c3fe7f05f5ab440f377360e5149f7234abb73 (patch) | |
tree | 15504a6738234e79b5cad8e9abdbe43ceacc113a /src/mainboard/asus | |
parent | d635068ffaf97d5d94f3e2b2ccee409ed44b0b41 (diff) |
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>
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r-- | src/mainboard/asus/a8n_e/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/a8v-e_deluxe/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/a8v-e_se/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/dsbf/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/k8v-x/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/m2n-e/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/m2v-mx_se/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/m2v/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/m4a78-em/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/m4a785-m/mainboard.c | 5 | ||||
-rw-r--r-- | src/mainboard/asus/m5a88-v/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/mew-am/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/mew-vm/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-d/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-ds/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-f/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/p2b-ls/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/p2b/mainboard.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/p3b-f/mainboard.c | 1 |
19 files changed, 0 insertions, 23 deletions
diff --git a/src/mainboard/asus/a8n_e/mainboard.c b/src/mainboard/asus/a8n_e/mainboard.c index aedca67752..8ef928fed5 100644 --- a/src/mainboard/asus/a8n_e/mainboard.c +++ b/src/mainboard/asus/a8n_e/mainboard.c @@ -22,5 +22,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS A8N-E Mainboard") }; diff --git a/src/mainboard/asus/a8v-e_deluxe/mainboard.c b/src/mainboard/asus/a8v-e_deluxe/mainboard.c index cb38be21cf..77d04daeef 100644 --- a/src/mainboard/asus/a8v-e_deluxe/mainboard.c +++ b/src/mainboard/asus/a8v-e_deluxe/mainboard.c @@ -23,5 +23,4 @@ #include <device/pci_ids.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS A8V-E Deluxe Mainboard") }; diff --git a/src/mainboard/asus/a8v-e_se/mainboard.c b/src/mainboard/asus/a8v-e_se/mainboard.c index c119e1cf2b..77d04daeef 100644 --- a/src/mainboard/asus/a8v-e_se/mainboard.c +++ b/src/mainboard/asus/a8v-e_se/mainboard.c @@ -23,5 +23,4 @@ #include <device/pci_ids.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS A8V-E SE Mainboard") }; diff --git a/src/mainboard/asus/dsbf/mainboard.c b/src/mainboard/asus/dsbf/mainboard.c index e4057e52a0..34a355eaf5 100644 --- a/src/mainboard/asus/dsbf/mainboard.c +++ b/src/mainboard/asus/dsbf/mainboard.c @@ -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, }; diff --git a/src/mainboard/asus/k8v-x/mainboard.c b/src/mainboard/asus/k8v-x/mainboard.c index 82d8ba0674..64d8174c01 100644 --- a/src/mainboard/asus/k8v-x/mainboard.c +++ b/src/mainboard/asus/k8v-x/mainboard.c @@ -59,5 +59,4 @@ u32 vt8237_ide_80pin_detect(struct device *dev) } struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS K8V-X Mainboard") }; diff --git a/src/mainboard/asus/m2n-e/mainboard.c b/src/mainboard/asus/m2n-e/mainboard.c index 0d7013f1ec..a508f12462 100644 --- a/src/mainboard/asus/m2n-e/mainboard.c +++ b/src/mainboard/asus/m2n-e/mainboard.c @@ -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, }; diff --git a/src/mainboard/asus/m2v-mx_se/mainboard.c b/src/mainboard/asus/m2v-mx_se/mainboard.c index 4cb562b7fa..3c735ae63c 100644 --- a/src/mainboard/asus/m2v-mx_se/mainboard.c +++ b/src/mainboard/asus/m2v-mx_se/mainboard.c @@ -23,5 +23,4 @@ #include <southbridge/via/k8t890/k8t890.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS M2V-MX SE Mainboard") }; diff --git a/src/mainboard/asus/m2v/mainboard.c b/src/mainboard/asus/m2v/mainboard.c index 2a448514e6..349c41cb47 100644 --- a/src/mainboard/asus/m2v/mainboard.c +++ b/src/mainboard/asus/m2v/mainboard.c @@ -55,5 +55,4 @@ u32 vt8237_ide_80pin_detect(struct device *dev) } struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS M2V") }; diff --git a/src/mainboard/asus/m4a78-em/mainboard.c b/src/mainboard/asus/m4a78-em/mainboard.c index 738e854d10..9b56277a6d 100644 --- a/src/mainboard/asus/m4a78-em/mainboard.c +++ b/src/mainboard/asus/m4a78-em/mainboard.c @@ -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, }; diff --git a/src/mainboard/asus/m4a785-m/mainboard.c b/src/mainboard/asus/m4a785-m/mainboard.c index 5230f84ff7..a0b79fe531 100644 --- a/src/mainboard/asus/m4a785-m/mainboard.c +++ b/src/mainboard/asus/m4a785-m/mainboard.c @@ -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, }; diff --git a/src/mainboard/asus/m5a88-v/mainboard.c b/src/mainboard/asus/m5a88-v/mainboard.c index f2c31b33ac..d1e530f372 100644 --- a/src/mainboard/asus/m5a88-v/mainboard.c +++ b/src/mainboard/asus/m5a88-v/mainboard.c @@ -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, }; diff --git a/src/mainboard/asus/mew-am/mainboard.c b/src/mainboard/asus/mew-am/mainboard.c index 09b6533ec5..7b22b875f2 100644 --- a/src/mainboard/asus/mew-am/mainboard.c +++ b/src/mainboard/asus/mew-am/mainboard.c @@ -21,5 +21,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS MEW-AM Mainboard") }; diff --git a/src/mainboard/asus/mew-vm/mainboard.c b/src/mainboard/asus/mew-vm/mainboard.c index 6705927f27..0fb0f5ea6f 100644 --- a/src/mainboard/asus/mew-vm/mainboard.c +++ b/src/mainboard/asus/mew-vm/mainboard.c @@ -1,5 +1,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS MEW-VM Mainboard") }; diff --git a/src/mainboard/asus/p2b-d/mainboard.c b/src/mainboard/asus/p2b-d/mainboard.c index 3fe9dc4378..43f1738196 100644 --- a/src/mainboard/asus/p2b-d/mainboard.c +++ b/src/mainboard/asus/p2b-d/mainboard.c @@ -21,5 +21,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS P2B-D Mainboard") }; diff --git a/src/mainboard/asus/p2b-ds/mainboard.c b/src/mainboard/asus/p2b-ds/mainboard.c index c8741373fa..443b37576f 100644 --- a/src/mainboard/asus/p2b-ds/mainboard.c +++ b/src/mainboard/asus/p2b-ds/mainboard.c @@ -21,5 +21,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS P2B-DS Mainboard") }; diff --git a/src/mainboard/asus/p2b-f/mainboard.c b/src/mainboard/asus/p2b-f/mainboard.c index e5d2e14a01..7b22b875f2 100644 --- a/src/mainboard/asus/p2b-f/mainboard.c +++ b/src/mainboard/asus/p2b-f/mainboard.c @@ -21,5 +21,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS P2B-F Mainboard") }; diff --git a/src/mainboard/asus/p2b-ls/mainboard.c b/src/mainboard/asus/p2b-ls/mainboard.c index 9f250f49ea..7b22b875f2 100644 --- a/src/mainboard/asus/p2b-ls/mainboard.c +++ b/src/mainboard/asus/p2b-ls/mainboard.c @@ -21,5 +21,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS P2B-LS Mainboard") }; diff --git a/src/mainboard/asus/p2b/mainboard.c b/src/mainboard/asus/p2b/mainboard.c index 527dc7a134..7b22b875f2 100644 --- a/src/mainboard/asus/p2b/mainboard.c +++ b/src/mainboard/asus/p2b/mainboard.c @@ -21,5 +21,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS P2B Mainboard") }; diff --git a/src/mainboard/asus/p3b-f/mainboard.c b/src/mainboard/asus/p3b-f/mainboard.c index 9b41c7943e..7b22b875f2 100644 --- a/src/mainboard/asus/p3b-f/mainboard.c +++ b/src/mainboard/asus/p3b-f/mainboard.c @@ -21,5 +21,4 @@ #include <device/device.h> struct chip_operations mainboard_ops = { - CHIP_NAME("ASUS P3B-F Mainboard") }; |