#include <stdlib.h>
#include <shell/shell.h>
#include "plat_cpld.h"
#include "plat_gpio.h"
#include <logging/log.h>
|
| | LOG_MODULE_REGISTER (shell_bootstrap_status, LOG_LEVEL_DBG) |
| |
| | SHELL_STATIC_SUBCMD_SET_CREATE (sub_set_spimux_oob_cmds, SHELL_CMD_ARG(status, NULL, "bootstrap status command", cmd_get_bootstrap_status, 1, 0), SHELL_SUBCMD_SET_END) |
| |
| | SHELL_CMD_REGISTER (bootstrap_MFIO16, &sub_set_spimux_oob_cmds, "bootstrap status commands", NULL) |
| |
◆ HAMSA_MFIO16_BOOTSTRAP_BIT
| #define HAMSA_MFIO16_BOOTSTRAP_BIT 2 |
◆ MEDHA0_MFIO16_BOOTSTRAP_BIT
| #define MEDHA0_MFIO16_BOOTSTRAP_BIT 1 |
◆ MEDHA1_MFIO16_BOOTSTRAP_BIT
| #define MEDHA1_MFIO16_BOOTSTRAP_BIT 0 |
◆ MFIO16_BOOTSTRAP_STATUS_CPLD_OFFSET
| #define MFIO16_BOOTSTRAP_STATUS_CPLD_OFFSET 0xb1 |
◆ LOG_MODULE_REGISTER()
| LOG_MODULE_REGISTER |
( |
shell_bootstrap_status |
, |
|
|
LOG_LEVEL_DBG |
|
|
) |
| |
◆ SHELL_CMD_REGISTER()
| SHELL_CMD_REGISTER |
( |
bootstrap_MFIO16 |
, |
|
|
& |
sub_set_spimux_oob_cmds, |
|
|
"bootstrap status commands" |
, |
|
|
NULL |
|
|
) |
| |
◆ SHELL_STATIC_SUBCMD_SET_CREATE()
| SHELL_STATIC_SUBCMD_SET_CREATE |
( |
sub_set_spimux_oob_cmds |
, |
|
|
SHELL_CMD_ARG(status, NULL, "bootstrap status command", cmd_get_bootstrap_status, 1, 0) |
, |
|
|
SHELL_SUBCMD_SET_END |
|
|
) |
| |