3 * Denis Peter, MPL AG Switzerland, d.peter@mpl.ch
5 * SPDX-License-Identifier: GPL-2.0+
13 #include "../common/common_util.h"
16 extern void print_pip405_info(void);
17 extern int do_mplcommon(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
20 /* ------------------------------------------------------------------------- */
22 int do_pip405(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
27 if (strcmp(argv[1], "info") == 0)
32 if (strcmp(argv[1], "led") == 0)
34 led_nr = (ulong)simple_strtoul(argv[2], NULL, 10);
35 led_on = (ulong)simple_strtoul(argv[3], NULL, 10);
43 return (do_mplcommon(cmdtp, flag, argc, argv));
46 pip405, 6, 1, do_pip405,
47 "PIP405 specific Cmds",
48 "flash mem [SrcAddr] - updates U-Boot with image in memory\n"
49 "pip405 flash floppy [SrcAddr] - updates U-Boot with image from floppy\n"
50 "pip405 flash mps - updates U-Boot with image from MPS"
53 /* ------------------------------------------------------------------------- */