mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
20 lines
324 B
C
20 lines
324 B
C
/*
|
|
* SoC-specific code for tms320dm365 and similar chips
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <asm/arch/hardware.h>
|
|
|
|
void davinci_enable_uart0(void)
|
|
{
|
|
lpsc_on(DAVINCI_LPSC_UART0);
|
|
}
|
|
|
|
#ifdef CONFIG_DRIVER_DAVINCI_I2C
|
|
void davinci_enable_i2c(void)
|
|
{
|
|
lpsc_on(DAVINCI_LPSC_I2C);
|
|
}
|
|
#endif
|