summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm926ejs/davinci/dm365.c
blob: 0af2d0236d835fd01848c574aafb7a6e66b79ffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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