]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/mach-davinci/dm365.c
ARM: davinci: move SoC sources to mach-davinci
[people/ms/u-boot.git] / arch / arm / mach-davinci / dm365.c
CommitLineData
cf463091
SP
1/*
2 * SoC-specific code for tms320dm365 and similar chips
3 *
1a459660 4 * SPDX-License-Identifier: GPL-2.0+
cf463091
SP
5 */
6
7#include <common.h>
8#include <asm/arch/hardware.h>
9
10void davinci_enable_uart0(void)
11{
12 lpsc_on(DAVINCI_LPSC_UART0);
13}
14
e8459dcc 15#ifdef CONFIG_SYS_I2C_DAVINCI
cf463091
SP
16void davinci_enable_i2c(void)
17{
18 lpsc_on(DAVINCI_LPSC_I2C);
19}
20#endif