From a93c3fe7f05f5ab440f377360e5149f7234abb73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 9 Oct 2012 22:28:56 +0300 Subject: Drop redundant CHIP_NAME in mainboard.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/1635 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi Reviewed-by: Stefan Reinauer --- src/mainboard/supermicro/h8dme/mainboard.c | 1 - src/mainboard/supermicro/h8dmr/mainboard.c | 1 - src/mainboard/supermicro/h8dmr_fam10/mainboard.c | 1 - src/mainboard/supermicro/h8qgi/mainboard.c | 1 - src/mainboard/supermicro/h8qme_fam10/mainboard.c | 1 - src/mainboard/supermicro/h8scm_fam10/mainboard.c | 1 - src/mainboard/supermicro/x6dai_g/mainboard.c | 1 - src/mainboard/supermicro/x6dhe_g/mainboard.c | 1 - src/mainboard/supermicro/x6dhe_g2/mainboard.c | 1 - src/mainboard/supermicro/x6dhr_ig/mainboard.c | 1 - src/mainboard/supermicro/x6dhr_ig2/mainboard.c | 1 - src/mainboard/supermicro/x7db8/mainboard.c | 1 - 12 files changed, 12 deletions(-) (limited to 'src/mainboard/supermicro') diff --git a/src/mainboard/supermicro/h8dme/mainboard.c b/src/mainboard/supermicro/h8dme/mainboard.c index c092c71a35..060875ce12 100644 --- a/src/mainboard/supermicro/h8dme/mainboard.c +++ b/src/mainboard/supermicro/h8dme/mainboard.c @@ -21,5 +21,4 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro H8DME Mainboard") }; diff --git a/src/mainboard/supermicro/h8dmr/mainboard.c b/src/mainboard/supermicro/h8dmr/mainboard.c index 45536af72d..ff9cb6b34a 100644 --- a/src/mainboard/supermicro/h8dmr/mainboard.c +++ b/src/mainboard/supermicro/h8dmr/mainboard.c @@ -22,5 +22,4 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro H8DMR Mainboard") }; diff --git a/src/mainboard/supermicro/h8dmr_fam10/mainboard.c b/src/mainboard/supermicro/h8dmr_fam10/mainboard.c index 24736a9881..ff9cb6b34a 100644 --- a/src/mainboard/supermicro/h8dmr_fam10/mainboard.c +++ b/src/mainboard/supermicro/h8dmr_fam10/mainboard.c @@ -22,5 +22,4 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro H8DMR Mainboard (Family 10)") }; diff --git a/src/mainboard/supermicro/h8qgi/mainboard.c b/src/mainboard/supermicro/h8qgi/mainboard.c index e1d3cdb98d..30695ff277 100644 --- a/src/mainboard/supermicro/h8qgi/mainboard.c +++ b/src/mainboard/supermicro/h8qgi/mainboard.c @@ -71,6 +71,5 @@ static void h8qgi_enable(device_t dev) } struct chip_operations mainboard_ops = { - CHIP_NAME(CONFIG_MAINBOARD_VENDOR " " CONFIG_MAINBOARD_PART_NUMBER " Mainboard") .enable_dev = h8qgi_enable, }; diff --git a/src/mainboard/supermicro/h8qme_fam10/mainboard.c b/src/mainboard/supermicro/h8qme_fam10/mainboard.c index 647f623b90..ff9cb6b34a 100644 --- a/src/mainboard/supermicro/h8qme_fam10/mainboard.c +++ b/src/mainboard/supermicro/h8qme_fam10/mainboard.c @@ -22,5 +22,4 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro H8QME-2+ Mainboard (Family 10)") }; diff --git a/src/mainboard/supermicro/h8scm_fam10/mainboard.c b/src/mainboard/supermicro/h8scm_fam10/mainboard.c index 3d71996e28..5faca503a9 100644 --- a/src/mainboard/supermicro/h8scm_fam10/mainboard.c +++ b/src/mainboard/supermicro/h8scm_fam10/mainboard.c @@ -92,6 +92,5 @@ static void h8scm_enable(device_t dev) } struct chip_operations mainboard_ops = { - CHIP_NAME("AMD H8SCM Mainboard") .enable_dev = h8scm_enable, }; diff --git a/src/mainboard/supermicro/x6dai_g/mainboard.c b/src/mainboard/supermicro/x6dai_g/mainboard.c index d9b4bc4098..0c310fb4fd 100644 --- a/src/mainboard/supermicro/x6dai_g/mainboard.c +++ b/src/mainboard/supermicro/x6dai_g/mainboard.c @@ -1,6 +1,5 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro X6DAi-G Mainboard") }; diff --git a/src/mainboard/supermicro/x6dhe_g/mainboard.c b/src/mainboard/supermicro/x6dhe_g/mainboard.c index c09c95af3a..0c310fb4fd 100644 --- a/src/mainboard/supermicro/x6dhe_g/mainboard.c +++ b/src/mainboard/supermicro/x6dhe_g/mainboard.c @@ -1,6 +1,5 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro X6DHE-G Mainboard") }; diff --git a/src/mainboard/supermicro/x6dhe_g2/mainboard.c b/src/mainboard/supermicro/x6dhe_g2/mainboard.c index c20a84279c..0c310fb4fd 100644 --- a/src/mainboard/supermicro/x6dhe_g2/mainboard.c +++ b/src/mainboard/supermicro/x6dhe_g2/mainboard.c @@ -1,6 +1,5 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro X6DHE-G2 Mainboard") }; diff --git a/src/mainboard/supermicro/x6dhr_ig/mainboard.c b/src/mainboard/supermicro/x6dhr_ig/mainboard.c index 3875fe0910..0c310fb4fd 100644 --- a/src/mainboard/supermicro/x6dhr_ig/mainboard.c +++ b/src/mainboard/supermicro/x6dhr_ig/mainboard.c @@ -1,6 +1,5 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro X6DHR-iG Mainboard") }; diff --git a/src/mainboard/supermicro/x6dhr_ig2/mainboard.c b/src/mainboard/supermicro/x6dhr_ig2/mainboard.c index 981aee8c6b..0c310fb4fd 100644 --- a/src/mainboard/supermicro/x6dhr_ig2/mainboard.c +++ b/src/mainboard/supermicro/x6dhr_ig2/mainboard.c @@ -1,6 +1,5 @@ #include struct chip_operations mainboard_ops = { - CHIP_NAME("Supermicro X6DHR-iG2 Mainboard") }; diff --git a/src/mainboard/supermicro/x7db8/mainboard.c b/src/mainboard/supermicro/x7db8/mainboard.c index e4057e52a0..34a355eaf5 100644 --- a/src/mainboard/supermicro/x7db8/mainboard.c +++ b/src/mainboard/supermicro/x7db8/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, }; -- cgit v1.2.3