mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-01 08:59:33 +00:00
e8459dcc33
- add davinci driver to new multibus/multiadpater support - adapted all config files, which uses this driver Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Acked-by: Heiko Schocher <hs@denx.de>
26 lines
412 B
C
26 lines
412 B
C
/*
|
|
* SoC-specific code for TMS320DM646x chips
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <asm/arch/hardware.h>
|
|
|
|
void davinci_enable_uart0(void)
|
|
{
|
|
lpsc_on(DAVINCI_DM646X_LPSC_UART0);
|
|
}
|
|
|
|
#ifdef CONFIG_DRIVER_TI_EMAC
|
|
void davinci_enable_emac(void)
|
|
{
|
|
lpsc_on(DAVINCI_DM646X_LPSC_EMAC);
|
|
}
|
|
#endif
|
|
|
|
#ifdef CONFIG_SYS_I2C_DAVINCI
|
|
void davinci_enable_i2c(void)
|
|
{
|
|
lpsc_on(DAVINCI_DM646X_LPSC_I2C);
|
|
}
|
|
#endif
|