summaryrefslogtreecommitdiff
path: root/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c
diff options
context:
space:
mode:
authorNitin Garg <nitin.garg@freescale.com>2014-09-17 14:13:31 -0500
committerNitin Garg <nitin.garg@freescale.com>2014-09-25 20:49:06 -0500
commita217fdcbd3528221a69feefa450b51047ee833bc (patch)
treec6ffb1c13b3eefbf66ef10d68b4fb0ef931fc256 /board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c
parent2115fc7d4d832eb7a7b7765d05a2fe6a0d0e16e6 (diff)
downloadu-boot-imx-a217fdcbd3528221a69feefa450b51047ee833bc.zip
u-boot-imx-a217fdcbd3528221a69feefa450b51047ee833bc.tar.gz
u-boot-imx-a217fdcbd3528221a69feefa450b51047ee833bc.tar.bz2
ENGR00333299: Add support for i.MX6SX 14x14 lpddr2 arm2 board
Add support for i.MX6SX 14x14 lpddr2 arm2 board, same as 17x17 arm2 except lpddr2 instead of ddr3. Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Diffstat (limited to 'board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c')
-rw-r--r--board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c b/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c
index c253a6d..d1fdafc 100644
--- a/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c
+++ b/board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c
@@ -554,6 +554,9 @@ static int setup_fec(void)
enable_enet_clock();
#ifdef CONFIG_FEC_ENABLE_MAX7322
+ /* release max7322 from reset */
+ gpio_direction_output(IMX_GPIO_NR(4, 22) , 1);
+
/* This is needed to drive the pads to 1.8V instead of 1.5V */
i2c_set_bus_num(CONFIG_MAX7322_I2C_BUS);
@@ -825,7 +828,11 @@ u32 get_board_rev(void)
int checkboard(void)
{
+#ifdef CONFIG_MX6SX_14x14
+ puts("Board: MX6SX 14x14 ARM2\n");
+#else
puts("Board: MX6SX 17x17 ARM2\n");
+#endif
return 0;
}