boards: Correct xxx_main prototype
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
78f6a02bc8
commit
b9cd0508e7
|
@ -75,7 +75,7 @@ typedef void (*nor_entry_t)(void);
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int nor_main(int argc, char *argv)
|
||||
int nor_main(int argc, char *argv[])
|
||||
{
|
||||
uint32_t regval;
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ static char g_at25dev[DEVNAME_MAXSIZE];
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int at25_main(int argc, char *argv)
|
||||
int at25_main(int argc, char *argv[])
|
||||
{
|
||||
struct lib_rawinstream_s rawinstream;
|
||||
struct lib_memsostream_s memoutstream;
|
||||
|
|
|
@ -73,7 +73,7 @@ typedef void (*dram_entry_t)(void);
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int dram_main(int argc, char *argv)
|
||||
int dram_main(int argc, char *argv[])
|
||||
{
|
||||
/* Here we have a in memory value we can change in the debugger
|
||||
* to begin booting in NOR Flash
|
||||
|
|
|
@ -72,7 +72,7 @@ typedef CODE void (*sram_entry_t)(void);
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int sd_main(int argc, char *argv)
|
||||
int sd_main(int argc, char *argv[])
|
||||
{
|
||||
int fd;
|
||||
int ret;
|
||||
|
|
|
@ -67,7 +67,7 @@ typedef CODE void (*sram_entry_t)(void);
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int sd_main(int argc, char *argv)
|
||||
int sd_main(int argc, char *argv[])
|
||||
{
|
||||
int fd;
|
||||
int ret;
|
||||
|
|
|
@ -729,7 +729,7 @@ errout:
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
int w25_main(int argc, char *argv)
|
||||
int w25_main(int argc, char *argv[])
|
||||
{
|
||||
bool disable = false;
|
||||
int ret;
|
||||
|
|
Loading…
Reference in New Issue