diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-02 21:12:28 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-07-09 12:33:24 +0800 |
commit | ef453129799379d6073e103c8ff1c2f807f73898 (patch) | |
tree | 33c8f4803c774c5556c08d12537069ec3ccbe293 /test | |
parent | 2b1412c8c074a40ccd1a4cf33c01fad97183fd06 (diff) | |
download | u-boot-ef453129799379d6073e103c8ff1c2f807f73898.tar.gz u-boot-ef453129799379d6073e103c8ff1c2f807f73898.tar.xz u-boot-ef453129799379d6073e103c8ff1c2f807f73898.zip |
video: Add comments to struct sandbox_sdl_plat
This struct is not commented but needs it. Also fix the comment in
check_vidconsole_output() about the encoding for the rotation value.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'test')
-rw-r--r-- | test/dm/video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dm/video.c b/test/dm/video.c index 68f5ba44e7..729c31b47d 100644 --- a/test/dm/video.c +++ b/test/dm/video.c @@ -188,7 +188,8 @@ DM_TEST(dm_test_video_ansi, DM_TESTF_SCAN_PDATA | DM_TESTF_SCAN_FDT); * check_vidconsole_output() - Run a text console test * * @uts: Test state - * @rot: Console rotation (0, 90, 180, 270) + * @rot: Console rotation (0=normal orientation, 1=90 degrees clockwise, + * 2=upside down, 3=90 degree counterclockwise) * @wrap_size: Expected size of compressed frame buffer for the wrap test * @scroll_size: Same for the scroll test * @return 0 on success |