]> Git Repo - J-u-boot.git/blame - cmd/event.c
Merge tag 'u-boot-dfu-20241017' of https://source.denx.de/u-boot/custodians/u-boot-dfu
[J-u-boot.git] / cmd / event.c
CommitLineData
c81b460c
SG
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
c81b460c
SG
9#include <command.h>
10#include <event.h>
11
12static int do_event_list(struct cmd_tbl *cmdtp, int flag, int argc,
13 char *const argv[])
14{
15 event_show_spy_list();
16
17 return 0;
18}
19
3616218b
TR
20U_BOOT_LONGHELP(event,
21 "list - list event spies");
c81b460c
SG
22
23U_BOOT_CMD_WITH_SUBCMDS(event, "Events", event_help_text,
24 U_BOOT_SUBCMD_MKENT(list, 1, 1, do_event_list));
This page took 0.088591 seconds and 4 git commands to generate.