Sandeep Paulraj | cf46309 | 2009-08-15 11:20:44 -0400 | [diff] [blame] | 1 | /* |
| 2 | * SoC-specific code for tms320dm365 and similar chips |
| 3 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Sandeep Paulraj | cf46309 | 2009-08-15 11:20:44 -0400 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include <common.h> |
| 8 | #include <asm/arch/hardware.h> |
| 9 | |
| 10 | void davinci_enable_uart0(void) |
| 11 | { |
| 12 | lpsc_on(DAVINCI_LPSC_UART0); |
| 13 | } |
| 14 | |
| 15 | #ifdef CONFIG_DRIVER_DAVINCI_I2C |
| 16 | void davinci_enable_i2c(void) |
| 17 | { |
| 18 | lpsc_on(DAVINCI_LPSC_I2C); |
| 19 | } |
| 20 | #endif |