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>
diff --git a/firmware/include/vboot_api.h b/firmware/include/vboot_api.h
index 855f708..bb205bb 100644
--- a/firmware/include/vboot_api.h
+++ b/firmware/include/vboot_api.h
@@ -777,6 +777,11 @@
 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 f1a50ce..66c491f 100644
--- a/firmware/stub/vboot_api_stub.c
+++ b/firmware/stub/vboot_api_stub.c
@@ -41,6 +41,11 @@
 	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;