protos/efi_boot_entry: fix inconsistencies (3)
diff --git a/CONFIG.md b/CONFIG.md
index 90e6ad1f..b9f39efd 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -276,8 +276,10 @@ Editor control options:
* `resolution` - The resolution to be used. This setting takes the form of
`<width>x<height>x<bpp>`. If the resolution is not available, Limine will
pick another one automatically. Omitting `<bpp>` will default to 32.
+
* EFI Boot Entry protocol:
* `entry` - The name of the EFI boot entry to reboot into.
+
* BIOS Chainload protocol:
* `drive` - The 1-based drive to chainload, if omitted, assume boot drive.
* `partition` - The 1-based partition to chainload, if omitted, or set to 0,
diff --git a/common/protos/chainload.c b/common/protos/chainload.c
index 6ea10c9b..a5512f46 100644
--- a/common/protos/chainload.c
+++ b/common/protos/chainload.c
@@ -256,7 +256,6 @@ static EFI_DEVICE_PATH_PROTOCOL *build_relative_efi_file_path(struct file_handle
return device_path;
}
-
noreturn void chainload(char *config, char *cmdline) {
char *image_path = config_get_value(config, 0, "PATH");
if (image_path == NULL) {
diff --git a/common/protos/efi_boot_entry.c b/common/protos/efi_boot_entry.c
index 469aa2bb..df5fe211 100644
--- a/common/protos/efi_boot_entry.c
+++ b/common/protos/efi_boot_entry.c
@@ -71,7 +71,7 @@ static bool find_boot_entry(CHAR16 *entry, uint16_t *out) {
}
noreturn void efi_boot_entry(char *config) {
- char *boot_entry = config_get_value(config, 0, "entry");
+ char *boot_entry = config_get_value(config, 0, "ENTRY");
if (boot_entry == NULL) {
panic(true, "efi_boot_entry: No entry specified");
