From 1ef611a853c433337bbbbcf50064b6157f7ab18a Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Thu, 16 May 2019 15:51:23 -0700 Subject: Flapjack: Export board_version, oem, sku This patch export board_version, oem, sku so that they can be used in other files. It also changes the board_version size to uint8_t. Signed-off-by: Daisuke Nojiri BUG=none BRANCH=none TEST=Verify CBI info is printed expectedly. Change-Id: Iadc82ce86d19fc4c0bc6eaceb64433b4e25d5dcf Reviewed-on: https://chromium-review.googlesource.com/1621074 Commit-Ready: Daisuke Nojiri Tested-by: Daisuke Nojiri Legacy-Commit-Queue: Commit Bot Reviewed-by: YH Lin --- board/flapjack/board.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/flapjack/board.h') diff --git a/board/flapjack/board.h b/board/flapjack/board.h index 6ce4da0f4e..c65bd6c735 100644 --- a/board/flapjack/board.h +++ b/board/flapjack/board.h @@ -322,6 +322,10 @@ struct mv_to_id { int board_read_id(enum adc_channel, const struct mv_to_id *table, int size); +extern uint8_t board_version; +extern uint8_t oem; +extern uint32_t sku; + #endif /* !__ASSEMBLER__ */ #endif /* __CROS_EC_BOARD_H */ -- cgit v1.2.1