mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
don't force console mode in grub
the deleted patch (in this commit) was written to fix an issue theoretically; it hasn't been fully tested, and some people have reported strange issues since this patch was merged - there is no proof that this patch causes them, but removing this patch is the correct thing to do regardless
This commit is contained in:
@@ -63,9 +63,7 @@ volatile uint8_t *rcba_mmio;
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
int devmemfd;
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
int devmemfd; (void)argc; (void)argv;
|
||||
|
||||
if ((ioperm(EC_INDEX, 2, 1) == -1) || (ioperm(SMI_EN_REG, 4, 1) == -1))
|
||||
err(errno, "Could not access IO ports");
|
||||
@@ -92,6 +90,7 @@ main(int argc, char *argv[])
|
||||
set_gbl_smi_en(1);
|
||||
printf("SMIs enabled, you can now shutdown the system.\n");
|
||||
}
|
||||
|
||||
return errno;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user