]> Git Repo - J-u-boot.git/blob - cmd/event.c
Merge patch series "Resolve issues with booting distros on x86"
[J-u-boot.git] / cmd / event.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Command-line access to events
4  *
5  * Copyright 2021 Google LLC
6  * Written by Simon Glass <[email protected]>
7  */
8
9 #include <common.h>
10 #include <command.h>
11 #include <event.h>
12
13 static int do_event_list(struct cmd_tbl *cmdtp, int flag, int argc,
14                          char *const argv[])
15 {
16         event_show_spy_list();
17
18         return 0;
19 }
20
21 U_BOOT_LONGHELP(event,
22         "list - list event spies");
23
24 U_BOOT_CMD_WITH_SUBCMDS(event, "Events", event_help_text,
25         U_BOOT_SUBCMD_MKENT(list, 1, 1, do_event_list));
This page took 0.027846 seconds and 4 git commands to generate.