fa8b2484d0
- Pull in fixes for TSC calibration driver preference (prefer pmtimer over PIT) to boot on Apollo Lake systems with no PIT - Fix pmtimer calibration to not take forever to fail on kvm. Signed-off-by: Peter Jones <pjones@redhat.com>
59 lines
1.9 KiB
Diff
59 lines
1.9 KiB
Diff
From 9808c3ef956c6472a96790b60cf74f4eaa742010 Mon Sep 17 00:00:00 2001
|
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
Date: Mon, 8 May 2017 19:37:29 +0200
|
|
Subject: [PATCH 018/198] Rename uboot/datetime to dummy/datetime.
|
|
|
|
It's just a stub and is not UBoot-specific.
|
|
---
|
|
grub-core/Makefile.core.def | 2 +-
|
|
grub-core/lib/{uboot => dummy}/datetime.c | 5 ++---
|
|
2 files changed, 3 insertions(+), 4 deletions(-)
|
|
rename grub-core/lib/{uboot => dummy}/datetime.c (91%)
|
|
|
|
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
|
|
index 2a38bd4bc..6540dc951 100644
|
|
--- a/grub-core/Makefile.core.def
|
|
+++ b/grub-core/Makefile.core.def
|
|
@@ -1552,7 +1552,7 @@ module = {
|
|
name = datetime;
|
|
cmos = lib/cmos_datetime.c;
|
|
efi = lib/efi/datetime.c;
|
|
- uboot = lib/uboot/datetime.c;
|
|
+ uboot = lib/dummy/datetime.c;
|
|
sparc64_ieee1275 = lib/ieee1275/datetime.c;
|
|
powerpc_ieee1275 = lib/ieee1275/datetime.c;
|
|
sparc64_ieee1275 = lib/ieee1275/cmos.c;
|
|
diff --git a/grub-core/lib/uboot/datetime.c b/grub-core/lib/dummy/datetime.c
|
|
similarity index 91%
|
|
rename from grub-core/lib/uboot/datetime.c
|
|
rename to grub-core/lib/dummy/datetime.c
|
|
index 4be716928..cf693fc6b 100644
|
|
--- a/grub-core/lib/uboot/datetime.c
|
|
+++ b/grub-core/lib/dummy/datetime.c
|
|
@@ -18,7 +18,6 @@
|
|
|
|
#include <grub/types.h>
|
|
#include <grub/symbol.h>
|
|
-#include <grub/uboot/uboot.h>
|
|
#include <grub/datetime.h>
|
|
#include <grub/dl.h>
|
|
|
|
@@ -30,12 +29,12 @@ grub_err_t
|
|
grub_get_datetime (struct grub_datetime *datetime __attribute__ ((unused)))
|
|
{
|
|
return grub_error (GRUB_ERR_INVALID_COMMAND,
|
|
- "can\'t get datetime using U-Boot");
|
|
+ "can\'t get datetime on this machine");
|
|
}
|
|
|
|
grub_err_t
|
|
grub_set_datetime (struct grub_datetime * datetime __attribute__ ((unused)))
|
|
{
|
|
return grub_error (GRUB_ERR_INVALID_COMMAND,
|
|
- "can\'t set datetime using U-Boot");
|
|
+ "can\'t set datetime on this machine");
|
|
}
|
|
--
|
|
2.14.3
|
|
|