From a217fdcbd3528221a69feefa450b51047ee833bc Mon Sep 17 00:00:00 2001 From: Nitin Garg Date: Wed, 17 Sep 2014 14:13:31 -0500 Subject: 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 --- board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'board/freescale/mx6sx_17x17_arm2/mx6sx_17x17_arm2.c') 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; } -- cgit v1.1