diff options
author | Shelley Chen <shchen@chromium.org> | 2017-02-27 15:56:40 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-03-02 09:33:57 -0800 |
commit | 97a8aa97c3e73d6a9ce2b305920413a042d74351 (patch) | |
tree | 0d8d11a8ae86da0ace2020bd052bc6438e53f450 | |
parent | 48a67d3ca74843be77c88f65c9efe0af904b0e70 (diff) | |
download | vboot-97a8aa97c3e73d6a9ce2b305920413a042d74351.tar.gz |
poppy: define VbExDisplayGetDimension()
callback to get rows/cols of display
BUG=b:35585623
BRANCH=None
TEST=make sure code compiles
Change-Id: I276975b2f0eecceb66a30ceaa449ab76a440026d
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/447837
Reviewed-by: Randall Spangler <rspangler@chromium.org>
-rw-r--r-- | firmware/include/vboot_api.h | 5 | ||||
-rw-r--r-- | firmware/stub/vboot_api_stub.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h index 855f7080..bb205bba 100644 --- a/firmware/include/vboot_api.h +++ b/firmware/include/vboot_api.h @@ -777,6 +777,11 @@ VbError_t VbExDisplayBacklight(uint8_t enable); VbError_t VbExDisplaySetDimension(uint32_t width, uint32_t height); /** + * Returns the logical dimension to display. + */ +VbError_t VbExDisplayGetDimension(uint32_t *width, uint32_t *height); + +/** * Display a predefined screen; see VB_SCREEN_* for valid screens. * * This is a backup method of screen display, intended for use if the GBB does diff --git a/firmware/stub/vboot_api_stub.c b/firmware/stub/vboot_api_stub.c index f1a50ce4..66c491fe 100644 --- a/firmware/stub/vboot_api_stub.c +++ b/firmware/stub/vboot_api_stub.c @@ -41,6 +41,11 @@ VbError_t VbExDisplaySetDimension(uint32_t width, uint32_t height) return VBERROR_SUCCESS; } +VbError_t VbExDisplayGetDimension(uint32_t *width, uint32_t *height) +{ + return VBERROR_SUCCESS; +} + VbError_t VbExDisplayScreen(uint32_t screen_type, uint32_t locale) { return VBERROR_SUCCESS; |