software/bios: set attribute used on main to fix optimization in some configurations
This commit is contained in:
parent
ef5f6398b2
commit
3f2a7b9bfd
|
@ -74,7 +74,7 @@ static void boot_sequence(void)
|
||||||
printf("No boot medium found\n");
|
printf("No boot medium found\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int i, char **c)
|
__attribute__((__used__)) int main(int i, char **c)
|
||||||
{
|
{
|
||||||
char buffer[CMD_LINE_BUFFER_SIZE];
|
char buffer[CMD_LINE_BUFFER_SIZE];
|
||||||
char *params[MAX_PARAM];
|
char *params[MAX_PARAM];
|
||||||
|
|
Loading…
Reference in New Issue