On 07/24/2015 04:00 PM, Tom Warren wrote:
All based off of Tegra124. As a Tegra210 board is brought
up, these may change a bit to match the HW more closely,
but probably 90% of this is identical to T124.
Note that since T210 is a 64-bit build, it has no SPL
component, and hence no cpu.c for Tegra210.
diff --git a/arch/arm/include/asm/arch-tegra210/funcmux.h
b/arch/arm/include/asm/arch-tegra210/funcmux.h
+#include <asm/arch-tegra/funcmux.h>
+
+/* Configs supported by the func mux */
+enum {
+ FUNCMUX_DEFAULT = 0, /* default config */
+
+ /* UART configs */
+ FUNCMUX_UART1_UART1 = 0,
+ FUNCMUX_UART4_UART4 = 0,
+};
Since FUNCMUX_UART* aren't implemented, perhaps don't define them? you'd
need to edit the next patch not to reference these symbols too.
Also, setup_uarts() should be fixed not to call funcmux_select() if
uart_configs[i]==-1, since funcmux_select() will print an error if DEBUG
is defined since those values aren't implemnted. Perhaps you could ifdef
out the call for T210+ rather than checking the funcmux value.
This could all be done in a followon patch if you wanted.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot