1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2008 Freescale Semiconductor, Inc.
10 static int do_interrupts(cmd_tbl_t *cmdtp, int flag, int argc,
18 if (strncmp(argv[1], "on", 2) == 0)
27 interrupts, 5, 0, do_interrupts,
28 "enable or disable interrupts",
32 /* Implemented in $(CPU)/interrupts.c */
33 int do_irqinfo (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
36 irqinfo, 1, 1, do_irqinfo,
37 "print information about IRQs",