Skip to content
Snippets Groups Projects
Commit 7cc238f2 authored by Felix Brack's avatar Felix Brack Committed by Tom Rini
Browse files

arm: am33xx: Make pin multiplexing functions optional


This patch provides default implementations of the two functions
set_uart_mux_conf and set_mux_conf_regs. Hence boards not using
them do not need to provide their distinct empty definitions.

Signed-off-by: default avatarFelix Brack <fb@ltec.ch>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 246771b1
No related branches found
No related tags found
No related merge requests found
......@@ -31,3 +31,17 @@ void configure_module_pin_mux(struct module_pin_mux *mod_pin_mux)
for (i = 0; mod_pin_mux[i].reg_offset != -1; i++)
MUX_CFG(mod_pin_mux[i].val, mod_pin_mux[i].reg_offset);
}
/*
* provide a default over-writable definition
*/
void __weak set_uart_mux_conf(void)
{
}
/*
* provide a default over-writable definition
*/
void __weak set_mux_conf_regs(void)
{
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment