diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-05-03 10:02:15 -0700 |
---|---|---|
committer | Robert Winkler <robert.winkler@boundarydevices.com> | 2013-06-17 13:15:03 -0700 |
commit | e9d8a1ce6a9edc8d792dacce5b40adf81df7e4c9 (patch) | |
tree | 7e183446a2e992272e63e444582492c59b7dbe6a | |
parent | bda288ab32953cbf1fa5429680070bf608dfd27d (diff) |
nitrogen6x/nit6xlite: Always configure RGB pads
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
-rw-r--r-- | board/boundary/nit6xlite/nit6xlite.c | 11 | ||||
-rw-r--r-- | board/boundary/nitrogen6x/nitrogen6x.c | 11 |
2 files changed, 14 insertions, 8 deletions
diff --git a/board/boundary/nit6xlite/nit6xlite.c b/board/boundary/nit6xlite/nit6xlite.c index a7f88c1766..e5a414f889 100644 --- a/board/boundary/nit6xlite/nit6xlite.c +++ b/board/boundary/nit6xlite/nit6xlite.c @@ -440,9 +440,6 @@ static int detect_none(struct display_info_t const *dev) static void enable_rgb(struct display_info_t const *dev) { - imx_iomux_v3_setup_multiple_pads( - rgb_pads, - ARRAY_SIZE(rgb_pads)); gpio_direction_output(RGB_BACKLIGHT_GP, 1); } @@ -552,7 +549,13 @@ int board_video_skip(void) { int i; int ret; - char const *panel = getenv("panel"); + char const *panel; + + imx_iomux_v3_setup_multiple_pads( + rgb_pads, + ARRAY_SIZE(rgb_pads)); + + panel = getenv("panel"); if (!panel) { for (i = 0; i < ARRAY_SIZE(displays); i++) { struct display_info_t const *dev = displays+i; diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 01817b4fa7..9ffaa5ecac 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -529,9 +529,6 @@ static void enable_lvds(struct display_info_t const *dev) static void enable_rgb(struct display_info_t const *dev) { - imx_iomux_v3_setup_multiple_pads( - rgb_pads, - ARRAY_SIZE(rgb_pads)); gpio_direction_output(RGB_BACKLIGHT_GP, 1); } @@ -621,7 +618,13 @@ int board_video_skip(void) { int i; int ret; - char const *panel = getenv("panel"); + char const *panel; + + imx_iomux_v3_setup_multiple_pads( + rgb_pads, + ARRAY_SIZE(rgb_pads)); + + panel = getenv("panel"); if (!panel) { for (i = 0; i < ARRAY_SIZE(displays); i++) { struct display_info_t const *dev = displays+i; |