]>
Commit | Line | Data |
---|---|---|
de58694f NA |
1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | |
3 | * Copyright (C) 2023 Neil Armstrong <neil.armstrong@linaro.org> | |
4 | */ | |
5 | ||
d678a59d | 6 | #include <common.h> |
de58694f NA |
7 | #include <asm/arch/boot.h> |
8 | #include <power/regulator.h> | |
9 | ||
10 | int mmc_get_env_dev(void) | |
11 | { | |
12 | if (meson_get_boot_device() == BOOT_DEVICE_EMMC) | |
13 | return 1; | |
14 | return 0; | |
15 | } | |
16 | ||
17 | int board_init(void) | |
18 | { | |
19 | regulators_enable_boot_on(_DEBUG); | |
20 | ||
21 | return 0; | |
22 | } |