diff options
author | Tom Rini <trini@konsulko.com> | 2018-05-01 22:38:18 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-01 22:38:18 -0400 |
commit | 8b4a610af96f1ecf9f713cdb50b63eecf4f13884 (patch) | |
tree | c3e2193c868cdef2b3867779cc89d9d9ec47ef11 /board | |
parent | 08ae21af9671439e8c54bb44ddfebb90357b6dff (diff) | |
parent | 4bf225aa87a11f5d22b22d469e77d005ad441fd8 (diff) | |
download | u-boot-8b4a610af96f1ecf9f713cdb50b63eecf4f13884.tar.gz u-boot-8b4a610af96f1ecf9f713cdb50b63eecf4f13884.tar.xz u-boot-8b4a610af96f1ecf9f713cdb50b63eecf4f13884.zip |
Merge git://git.denx.de/u-boot-mmc
Diffstat (limited to 'board')
-rw-r--r-- | board/samsung/common/exynos5-dt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/samsung/common/exynos5-dt.c b/board/samsung/common/exynos5-dt.c index a4eb351405..862644b00e 100644 --- a/board/samsung/common/exynos5-dt.c +++ b/board/samsung/common/exynos5-dt.c @@ -93,6 +93,9 @@ int exynos_power_init(void) struct udevice *dev; int ret; +#ifdef CONFIG_PMIC_S2MPS11 + ret = pmic_get("s2mps11_pmic", &dev); +#else ret = pmic_get("max77686", &dev); if (!ret) { /* TODO(sjg@chromium.org): Move into the clock/pmic API */ @@ -112,6 +115,7 @@ int exynos_power_init(void) s5m8767_enable_32khz_cp(dev); #endif } +#endif /* CONFIG_PMIC_S2MPS11 */ if (ret == -ENODEV) return 0; |