Manivannan Sadhasivam | 6f219a1 | 2018-09-28 00:32:59 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> |
| 4 | */ |
| 5 | |
| 6 | #include <common.h> |
| 7 | #include <dm.h> |
Manivannan Sadhasivam | 6f219a1 | 2018-09-28 00:32:59 +0530 | [diff] [blame] | 8 | #include <power/regulator.h> |
Manivannan Sadhasivam | 6f219a1 | 2018-09-28 00:32:59 +0530 | [diff] [blame] | 9 | |
| 10 | int board_init(void) |
| 11 | { |
| 12 | int ret; |
| 13 | |
| 14 | ret = regulators_enable_boot_on(false); |
| 15 | if (ret) |
| 16 | debug("%s: Cannot enable boot on regulator\n", __func__); |
| 17 | |
| 18 | return 0; |
| 19 | } |