File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ static void wcsr(char *csr, char *value)
300
300
301
301
/* Init + command line */
302
302
303
- static void help ()
303
+ static void help (void )
304
304
{
305
305
puts ("Milkymist(tm) BIOS" );
306
306
puts ("Don't know what to do? Try 'flashboot'.\n" );
@@ -351,6 +351,8 @@ static void do_command(char *c)
351
351
352
352
else if (strcmp (token , "rcsr" ) == 0 ) rcsr (get_token (& c ));
353
353
else if (strcmp (token , "wcsr" ) == 0 ) wcsr (get_token (& c ), get_token (& c ));
354
+
355
+ else if (strcmp (token , "ddrinit" ) == 0 ) ddrinit ();
354
356
355
357
else if (strcmp (token , "" ) != 0 )
356
358
printf ("Command not found\n" );
@@ -359,7 +361,7 @@ static void do_command(char *c)
359
361
int rescue ;
360
362
extern unsigned int _edata ;
361
363
362
- static void crcbios ()
364
+ static void crcbios (void )
363
365
{
364
366
unsigned int offset_bios ;
365
367
unsigned int length ;
@@ -384,7 +386,7 @@ static void crcbios()
384
386
}
385
387
}
386
388
387
- static void print_mac ()
389
+ static void print_mac (void )
388
390
{
389
391
unsigned char * macadr = (unsigned char * )FLASH_OFFSET_MAC_ADDRESS ;
390
392
You can’t perform that action at this time.
0 commit comments