Skip to content

Commit ae12b04

Browse files
author
Valeriy Khorunzhin
committed
fix patch
Signed-off-by: Valeriy Khorunzhin <valeriy.khorunzhin@flant.com>
1 parent 3424f44 commit ae12b04

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

images/qemu/patches/seabios/002-0x403-debug-port-no-bootable-device-message.patch

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/src/boot.c b/src/boot.c
2-
index 1effd80..db9abb4 100644
2+
index 1effd80..ec5992f 100644
33
--- a/src/boot.c
44
+++ b/src/boot.c
55
@@ -21,6 +21,7 @@
@@ -10,7 +10,7 @@ index 1effd80..db9abb4 100644
1010

1111
/****************************************************************
1212
* Helper search functions
13-
@@ -960,12 +961,24 @@ boot_rom(u32 vector)
13+
@@ -960,12 +961,23 @@ boot_rom(u32 vector)
1414
}
1515

1616
// Unable to find bootable device - warn user and eventually retry.
@@ -28,10 +28,9 @@ index 1effd80..db9abb4 100644
2828
boot_fail(void)
2929
{
3030
- if (BootRetryTime == (u32)-1)
31-
- printf("No bootable device.\n");
32-
- else
3331
+ if (BootRetryTime == (u32)-1) {
34-
+ printf("No bootable device.\n");
32+
printf("No bootable device.\n");
33+
- else
3534
+ write_port_403("No bootable device.\n");
3635
+ } else
3736
printf("No bootable device. Retrying in %d seconds.\n"

0 commit comments

Comments
 (0)