blob: 2eb7120e84b9aa00fa907407fe8723f367039937 [file] [log] [blame]
Manivannan Sadhasivam6f219a12018-09-28 00:32:59 +05301// 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 Sadhasivam6f219a12018-09-28 00:32:59 +05308#include <power/regulator.h>
Manivannan Sadhasivam6f219a12018-09-28 00:32:59 +05309
10int 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}