blob: e9ac86b2da69dbe66798de5c4592d9ffbd38a1f3 [file] [log] [blame]
Simon Glass2cf3a5a2019-12-06 21:42:22 -07001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright 2019 Google LLC
4 */
5
6#ifndef __ASM_FSP_API_H
7#define __ASM_FSP_API_H
8
9enum fsp_phase {
10 /* Notification code for post PCI enuermation */
11 INIT_PHASE_PCI = 0x20,
12 /* Notification code before transferring control to the payload */
13 INIT_PHASE_BOOT = 0x40
14};
15
16struct fsp_notify_params {
17 /* Notification phase used for NotifyPhase API */
18 enum fsp_phase phase;
19};
20
21/* FspNotify API function prototype */
22typedef asmlinkage u32 (*fsp_notify_f)(struct fsp_notify_params *params);
23
24#endif