summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2kernel.h
blob: bed1a01fe9bb966ab2cb5e4ea0b003795a8dd9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * Kernel selection, loading, verification, and booting.
 */

#ifndef VBOOT_REFERENCE_2KERNEL_H_
#define VBOOT_REFERENCE_2KERNEL_H_

#include "2common.h"

/**
 * Handle a normal boot.
 *
 * @param ctx		Vboot context.
 * @return VB2_SUCCESS, or error code on error.
 */
vb2_error_t vb2_normal_boot(struct vb2_context *ctx);

#endif  /* VBOOT_REFERENCE_2KERNEL_H_ */