tegra: Adjust funcmux config test to permit expansion
authorSimon Glass <sjg@chromium.org>
Wed, 11 Jan 2012 12:42:22 +0000 (12:42 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:22 +0000 (10:11 +0100)
commitd693969daa961d77c9f68e6868866509522eeb97
tree959ff8e2f6d50f7c03696aa74dd400baa4d01677
parent2996e2dcc0454207b4bf6248d034aead4ac54591
tegra: Adjust funcmux config test to permit expansion

We want to support config options other than zero, so move the test to the
end to allow intermediate code to OK such a config.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/cpu/armv7/tegra2/funcmux.c
arch/arm/include/asm/arch-tegra2/funcmux.h