summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-10-09 22:28:56 +0300
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-06 21:59:21 +0100
commita93c3fe7f05f5ab440f377360e5149f7234abb73 (patch)
tree15504a6738234e79b5cad8e9abdbe43ceacc113a /src/devices
parentd635068ffaf97d5d94f3e2b2ccee409ed44b0b41 (diff)
downloadcoreboot-a93c3fe7f05f5ab440f377360e5149f7234abb73.tar.xz
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/devices')
-rw-r--r--src/devices/root_device.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/root_device.c b/src/devices/root_device.c
index 591ba66d5d..8ff2fdeb66 100644
--- a/src/devices/root_device.c
+++ b/src/devices/root_device.c
@@ -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.