From 71f7f0a8f82ffb6273f2f6589bee42b9916bcc35 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Tue, 21 Nov 2017 23:29:55 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/22561 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/mainboard/google/kahlee/mainboard.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard/google/kahlee/mainboard.c') 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 #include #include +#include #include #include #include @@ -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(); -- cgit v1.2.3