SPDX: Convert all of our single license tags to Linux Kernel style
[oweals/u-boot.git] / arch / arm / mach-davinci / dm365.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * SoC-specific code for tms320dm365 and similar chips
4  */
5
6 #include <common.h>
7 #include <asm/arch/hardware.h>
8
9 void davinci_enable_uart0(void)
10 {
11         lpsc_on(DAVINCI_LPSC_UART0);
12 }
13
14 #ifdef CONFIG_SYS_I2C_DAVINCI
15 void davinci_enable_i2c(void)
16 {
17         lpsc_on(DAVINCI_LPSC_I2C);
18 }
19 #endif