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

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

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

	return 0;
}