[U-Boot] [PATCH v2 6/7] Tegra30: Add generic Tegra30 build support

Tom Warren
2012-12-04T19:48:17Z

Stephen,

On Mon, Dec 3, 2012 at 5:42 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 12/03/2012 04:45 PM, Tom Warren wrote:
>> This patch adds basic Tegra30 (T30) build support - no specific
>> board is targeted.
>
>> diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c
>
>> int board_early_init_f(void)
>> {
>> +#if defined(CONFIG_TEGRA30)
>> + pinmux_init();
>> +#endif
>> board_init_uart_f();
>
> Why is that required? If it is, why doesn't Tegra20 require it too?

Tegra30 does a table-driven pinmux init. This has the advantage of
ensuring all pinmuxes are in a non-conflicting state (some of the POR
defaults can cause conflicts).

Drivers are free to reconfig during device discovery if necessary (it
usually isn't), or while parsing the DT.

Tom