diff options
author | Jagan Teki | 2017-05-12 17:18:26 +0530 |
---|---|---|
committer | Stefano Babic | 2017-05-31 10:23:02 +0200 |
commit | 46f9c839c9c2b1da54bc7a1f786e82d09588aadf (patch) | |
tree | e871d68e62308bfde424124a3d8ac977bee32e7b /board/engicam | |
parent | 8bd06ba91af529f3e5746bac94a3308181f69d09 (diff) |
engicam: Set console env on board_late_init
Set console env on board_late_init instead of configs.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'board/engicam')
-rw-r--r-- | board/engicam/common/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/engicam/common/board.c b/board/engicam/common/board.c index af4ef28dac9..e3bb5698f63 100644 --- a/board/engicam/common/board.c +++ b/board/engicam/common/board.c @@ -53,6 +53,11 @@ int board_late_init(void) break; } + if (is_mx6ul()) + setenv("console", "ttymxc0"); + else + setenv("console", "ttymxc3"); + setenv_fdt_file(); return 0; |