Merge pull request #1333 from gsomlo/gls-noboot-warning
bios/main: Wrap CONFIG_NO_BOOT around boot_sequence()
This commit is contained in:
commit
ef2f1bd65b
|
@ -49,6 +49,7 @@
|
|||
#include <liblitesdcard/sdcard.h>
|
||||
#include <liblitesata/sata.h>
|
||||
|
||||
#ifndef CONFIG_BIOS_NO_BOOT
|
||||
static void boot_sequence(void)
|
||||
{
|
||||
#ifdef CSR_UART_BASE
|
||||
|
@ -75,6 +76,7 @@ static void boot_sequence(void)
|
|||
#endif
|
||||
printf("No boot medium found\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
__attribute__((__used__)) int main(int i, char **c)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue