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