diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-06-11 17:02:40 -0700 |
---|---|---|
committer | Robert Winkler <robert.winkler@boundarydevices.com> | 2013-06-17 15:26:44 -0700 |
commit | 3ef49ddec6d0c1546ef6ca6ef133915795d4131c (patch) | |
tree | 066ecff2e52674fd4336a91c25cfccc559d57c13 /board | |
parent | b67f113a1e1ccb1cc9564ede3b98bdb3a7c42ef8 (diff) |
h: simplify display selection
Diffstat (limited to 'board')
-rw-r--r-- | board/boundary/h/h.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/board/boundary/h/h.c b/board/boundary/h/h.c index b73b2fde186..c249995fb6d 100644 --- a/board/boundary/h/h.c +++ b/board/boundary/h/h.c @@ -556,9 +556,7 @@ int board_video_skip(void) int ret; char const *panel = getenv("panel"); struct display_info_t const *display = 0; - if (!panel) - panel = "1024x600"; - if (0 == strcmp(panel, "1024x600")) + if (!panel || !strcmp(panel, "1024x600")) display = &d_1024x600; else if (0 == strcmp(panel, "INNOLUX-WVGA")) display = &d_innolux_wvga; |