~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 0ebf208be82a2317e0720ca0aabebd380abf207d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 2021 Collabora Ltd.
 */

#include <common.h>
#include <asm/arch/sys_proto.h>
#include <env.h>

int board_init(void)
{
	return 0;
}

int board_late_init(void)
{
	if (is_usb_boot()) {
		env_set("bootcmd", "run bootcmd_mfg");
		env_set("bootdelay", "0");
	}

	return 0;
}