Boards using the single-register-pin-controller can configure all pins by means of the device tree. This renders the implementation of the two functions set_uart_mux_conf and set_mux_conf_regs obsolete. Using the weak attribute for these two function declarations allows the omission of the respective definitions.
Signed-off-by: Felix Brack <f...@ltec.ch> --- arch/arm/include/asm/arch-am33xx/sys_proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-am33xx/sys_proto.h b/arch/arm/include/asm/arch-am33xx/sys_proto.h index 4e78aaf..e31c25c 100644 --- a/arch/arm/include/asm/arch-am33xx/sys_proto.h +++ b/arch/arm/include/asm/arch-am33xx/sys_proto.h @@ -31,8 +31,8 @@ void enable_gpmc_cs_config(const u32 *gpmc_config, const struct gpmc_cs *cs, u32 u32 size); int omap_nand_switch_ecc(uint32_t, uint32_t); -void set_uart_mux_conf(void); -void set_mux_conf_regs(void); +__weak void set_uart_mux_conf(void); +__weak void set_mux_conf_regs(void); void sdram_init(void); u32 wait_on_value(u32, u32, void *, u32); #ifdef CONFIG_NOR_BOOT -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot