mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-26 19:25:02 +00:00
Expose getter of virtual dev switch value
Firmware needs to be able to read virtual dev switch to set up device tree blob which is passed to kernel and eventually read by crossystem. Signed-off-by: Che-Liang Chiou <clchiou@chromium.org> BUG=chrome-os-partner:10947 TEST=With this change, U-Boot can read virtual dev switch. Change-Id: Ifac2ec3d39b8e9c1100031fdef085c28bb8b37c7 Reviewed-on: https://gerrit.chromium.org/gerrit/26394 Reviewed-by: Simon Glass <sjg@chromium.org> Commit-Ready: Che-Liang Chiou <clchiou@chromium.org> Tested-by: Che-Liang Chiou <clchiou@chromium.org>
This commit is contained in:
@@ -381,6 +381,8 @@ VbError_t VbExTpmOpen(void);
|
||||
VbError_t VbExTpmSendReceive(const uint8_t* request, uint32_t request_length,
|
||||
uint8_t* response, uint32_t* response_length);
|
||||
|
||||
/* Utility function to get the virtual dev-mode flag value. 0=off, 1=on */
|
||||
VbError_t VbGetVirtualDevMode(int *val);
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Non-volatile storage */
|
||||
|
||||
Reference in New Issue
Block a user