summaryrefslogtreecommitdiff
path: root/board/bsh/imx8mn_smm_s2/imx8mn_smm_s2.c
blob: c99896873991f10646f61e4edd531dd9738aa0d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 2021 Collabora Ltd.
 */

#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;
}