u-boot/board/amlogic/odroid-go-ultra/odroid-go-ultra.c
Marek Vasut 6f52feee28 power: regulator: Drop regulators_enable_boot_on/off()
Both regulators_enable_boot_on/off() are unused and superseded by
regulator uclass regulator_post_probe(). Remove both functions.

Signed-off-by: Marek Vasut <marex@denx.de>
2024-09-30 19:19:07 -06:00

21 lines
324 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2023 Neil Armstrong <neil.armstrong@linaro.org>
*/
#include <log.h>
#include <asm/arch/boot.h>
#include <power/regulator.h>
int mmc_get_env_dev(void)
{
if (meson_get_boot_device() == BOOT_DEVICE_EMMC)
return 1;
return 0;
}
int board_init(void)
{
return 0;
}