|
OpenBIC
OpenSource Bridge-IC
|
#include <stdlib.h>#include <shell/shell.h>#include "plat_cpld.h"#include "plat_gpio.h"#include <logging/log.h>
Macros | |
| #define | MFIO16_BOOTSTRAP_STATUS_CPLD_OFFSET 0xb1 |
| #define | HAMSA_MFIO16_BOOTSTRAP_BIT 2 |
| #define | MEDHA0_MFIO16_BOOTSTRAP_BIT 1 |
| #define | MEDHA1_MFIO16_BOOTSTRAP_BIT 0 |
Functions | |
| 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) | |
| #define HAMSA_MFIO16_BOOTSTRAP_BIT 2 |
| #define MEDHA0_MFIO16_BOOTSTRAP_BIT 1 |
| #define MEDHA1_MFIO16_BOOTSTRAP_BIT 0 |
| #define MFIO16_BOOTSTRAP_STATUS_CPLD_OFFSET 0xb1 |
| LOG_MODULE_REGISTER | ( | shell_bootstrap_status | , |
| LOG_LEVEL_DBG | |||
| ) |
| SHELL_CMD_REGISTER | ( | bootstrap_MFIO16 | , |
| & | sub_set_spimux_oob_cmds, | ||
| "bootstrap status commands" | , | ||
| NULL | |||
| ) |