mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-26 13:03:40 +00:00
20 lines
349 B
C
20 lines
349 B
C
|
// SPDX-License-Identifier: GPL-2.0+
|
||
|
/*
|
||
|
* Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <dm.h>
|
||
|
#include <power/regulator.h>
|
||
|
|
||
|
int board_init(void)
|
||
|
{
|
||
|
int ret;
|
||
|
|
||
|
ret = regulators_enable_boot_on(false);
|
||
|
if (ret)
|
||
|
debug("%s: Cannot enable boot on regulator\n", __func__);
|
||
|
|
||
|
return 0;
|
||
|
}
|