diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-10-14 09:17:54 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-10-31 11:01:38 +0100 |
commit | e1f0715f64769920c1c3ec73f8f3bd9889a279ce (patch) | |
tree | b779d8bf4bc88726066ed14084bfc9b929c00a56 /board/wandboard/wandboard.c | |
parent | c0f432c377805b57d67c09b0f7374d5c6510b09c (diff) |
wandboard: Add support for the MX6QP variant
Add support for the latest MX6QP wandboard variant.
Based on Richard Hu's work from Technexion's U-Boot tree.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'board/wandboard/wandboard.c')
-rw-r--r-- | board/wandboard/wandboard.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index 6d2609ce11..051560fb01 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -512,7 +512,9 @@ int board_late_init(void) #endif #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG - if (is_mx6dq()) + if (is_mx6dqp()) + env_set("board_rev", "MX6QP"); + else if (is_mx6dq()) env_set("board_rev", "MX6Q"); else env_set("board_rev", "MX6DL"); @@ -534,7 +536,7 @@ int board_init(void) #if defined(CONFIG_VIDEO_IPUV3) setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &mx6dl_i2c2_pad_info); - if (is_mx6dq()) { + if (is_mx6dq() || is_mx6dqp()) { setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &mx6q_i2c2_pad_info); setup_i2c(2, CONFIG_SYS_I2C_SPEED, 0x7f, &mx6q_i2c3_pad_info); } else { |