]> git.sur5r.net Git - u-boot/commitdiff
M28: Support for the old M28 SoM v1.0
authorMarek Vasut <marex@denx.de>
Sun, 26 Feb 2012 12:15:02 +0000 (12:15 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 26 Mar 2012 21:09:24 +0000 (23:09 +0200)
This prototype version SoM is unused and not available to public.
Support this only for internal debugging purposes.

Signed-off-by: Marek Vasut <marex@denx.de>
board/denx/m28evk/spl_boot.c

index 91316a756620faf47c4619a0b4249ac0f064e460..a04fe180c138c951d74b42a6ebcded42f826d73c 100644 (file)
@@ -72,8 +72,13 @@ const iomux_cfg_t iomux_setup[] = {
        MX28_PAD_LCD_ENABLE__LCD_ENABLE | MUX_CONFIG_LCD,
 
        /* UART1 */
+#ifdef CONFIG_DENX_M28_V10
+       MX28_PAD_AUART0_CTS__DUART_RX,
+       MX28_PAD_AUART0_RTS__DUART_TX,
+#else
        MX28_PAD_PWM0__DUART_RX,
        MX28_PAD_PWM1__DUART_TX,
+#endif
        MX28_PAD_AUART0_TX__DUART_RTS,
        MX28_PAD_AUART0_RX__DUART_CTS,