From 2faf1863de7a69c3bc687ce8dba78d29bb821082 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 11 Jan 2012 12:42:23 +0000 Subject: tegra: Add enum to select from available funcmux configs We want to give a name to each available funcmux config. For now we just use the pin group names (even through it is verbose) since there seems to be nothing better. Signed-off-by: Simon Glass Signed-off-by: Tom Warren --- arch/arm/cpu/armv7/tegra2/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/cpu/armv7/tegra2/board.c') diff --git a/arch/arm/cpu/armv7/tegra2/board.c b/arch/arm/cpu/armv7/tegra2/board.c index 404d34c230..8e28d08247 100644 --- a/arch/arm/cpu/armv7/tegra2/board.c +++ b/arch/arm/cpu/armv7/tegra2/board.c @@ -120,7 +120,7 @@ static void setup_uarts(int uart_ids) if (uart_ids & (1 << i)) { enum periph_id id = id_for_uart[i]; - funcmux_select(id, 0); + funcmux_select(id, FUNCMUX_DEFAULT); clock_ll_start_uart(id); } } -- cgit