summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/mainboard.c
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2017-11-21 23:29:55 -0700
committerMarc Jones <marc@marcjonesconsulting.com>2017-11-29 22:35:05 +0000
commit71f7f0a8f82ffb6273f2f6589bee42b9916bcc35 (patch)
tree216db7f48555772d805c50412989af923acc2c4a /src/mainboard/google/kahlee/mainboard.c
parentab85c453267dd3b5298187b8d8917f07e2d2d34e (diff)
google/kahlee: Rename board_id to memory_sku
The GPIOs used in board_id are meant to indicate the memory configuration. Rename board_id to memory_skus. Report the board_id received from the EC. BUG=b:69649438 Change-Id: I84bacead3daf829c97f595c4c11a243953243c29 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/22561 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/mainboard/google/kahlee/mainboard.c')
-rw-r--r--src/mainboard/google/kahlee/mainboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/kahlee/mainboard.c b/src/mainboard/google/kahlee/mainboard.c
index 643bda10aa..f75750405e 100644
--- a/src/mainboard/google/kahlee/mainboard.c
+++ b/src/mainboard/google/kahlee/mainboard.c
@@ -20,6 +20,7 @@
#include <amd_pci_util.h>
#include <cbmem.h>
#include <baseboard/variants.h>
+#include <boardid.h>
#include <soc/nvs.h>
#include <soc/smi.h>
#include <variant/ec.h>
@@ -86,6 +87,9 @@ static void mainboard_init(void *chip_info)
{
const struct sci_source *gpes;
size_t num;
+ int boardid = board_id();
+
+ printk(BIOS_INFO, "Board ID: %d\n", boardid);
mainboard_ec_init();