mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 01:51:33 +00:00
cosmetic: autoboot: update old style GNU struct init
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
parent
9fb70f31fe
commit
9e546ee9c9
1 changed files with 4 additions and 4 deletions
|
@ -40,10 +40,10 @@ static int abortboot_keyed(int bootdelay)
|
||||||
int retry;
|
int retry;
|
||||||
}
|
}
|
||||||
delaykey[] = {
|
delaykey[] = {
|
||||||
{ str: getenv("bootdelaykey"), retry: 1 },
|
{ .str = getenv("bootdelaykey"), .retry = 1 },
|
||||||
{ str: getenv("bootdelaykey2"), retry: 1 },
|
{ .str = getenv("bootdelaykey2"), .retry = 1 },
|
||||||
{ str: getenv("bootstopkey"), retry: 0 },
|
{ .str = getenv("bootstopkey"), .retry = 0 },
|
||||||
{ str: getenv("bootstopkey2"), retry: 0 },
|
{ .str = getenv("bootstopkey2"), .retry = 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
char presskey[MAX_DELAY_STOP_STR];
|
char presskey[MAX_DELAY_STOP_STR];
|
||||||
|
|
Loading…
Add table
Reference in a new issue