OpenBIC
OpenSource Bridge-IC
plat_erase.c File Reference
#include <shell/shell.h>
#include <stdlib.h>
#include <stdio.h>
#include <drivers/flash.h>
#include <sys/reboot.h>
Include dependency graph for plat_erase.c:

Functions

void plat_cmd_erase (const struct shell *shell, size_t argc, char **argv)
 
 SHELL_CMD_REGISTER (erase, NULL, "erase flash and reboot", plat_cmd_erase)
 

Function Documentation

◆ plat_cmd_erase()

void plat_cmd_erase ( const struct shell *  shell,
size_t  argc,
char **  argv 
)

◆ SHELL_CMD_REGISTER()

SHELL_CMD_REGISTER ( erase  ,
NULL  ,
"erase flash and reboot"  ,
plat_cmd_erase   
)