diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2019-03-27 15:49:50 +0000 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2019-03-28 11:07:15 +0000 |
commit | f2bc77ae8bf9f043fe3548b0b70ba2efcd49a352 (patch) | |
tree | 41c837d0d89ff48b3363dd1aabcb86dedbd6f160 | |
parent | ff413ad57f25c6d6bd2e86132fd023ff2b38e59d (diff) |
patches: add D06 system firmware descriptor updaterpf-19.03-rc2
To prevent downgrade from this revision.
In preparation for -rc2.
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r-- | patches/edk2-platforms/0003-Platform-Hisilicon-update-D06-system-firmware-descri.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/patches/edk2-platforms/0003-Platform-Hisilicon-update-D06-system-firmware-descri.patch b/patches/edk2-platforms/0003-Platform-Hisilicon-update-D06-system-firmware-descri.patch new file mode 100644 index 0000000..5e0a338 --- /dev/null +++ b/patches/edk2-platforms/0003-Platform-Hisilicon-update-D06-system-firmware-descri.patch @@ -0,0 +1,40 @@ +From fd384f67102c2e52e174e115c53542cf011f53d5 Mon Sep 17 00:00:00 2001 +From: Leif Lindholm <leif.lindholm@linaro.org> +Date: Tue, 26 Mar 2019 20:12:12 +0000 +Subject: [PATCH edk2-platforms 3/3] Platform/Hisilicon: update D06 system + firmware description + +Since the D06 port now depends on updated IMP firmware to function +properly, there needs to be a one-way upgrade path. Upgrade to the +current state of things must happen via .hpm. Subsequent capsule updates +cannot be permitted to go below this version. + +So update the firmware descriptor to Version: 3 and +LowestSupportedFirmwareVersion: 3. + +Contributed-under: TianoCore Contribution Agreement 1.1 +Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> +--- + .../Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc b/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc +index 36175338dd..1287dfd834 100644 +--- a/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc ++++ b/Platform/Hisilicon/D06/Drivers/SystemFirmwareDescriptor/SystemFirmwareDescriptor.aslc +@@ -22,9 +22,9 @@ + #define PACKAGE_VERSION 0xFFFFFFFF
+ #define PACKAGE_VERSION_STRING L"Unknown"
+
+-#define CURRENT_FIRMWARE_VERSION 0x00000002
+-#define CURRENT_FIRMWARE_VERSION_STRING L"0x00000002"
+-#define LOWEST_SUPPORTED_FIRMWARE_VERSION 0x00000001
++#define CURRENT_FIRMWARE_VERSION 0x00000003
++#define CURRENT_FIRMWARE_VERSION_STRING L"0x00000003"
++#define LOWEST_SUPPORTED_FIRMWARE_VERSION 0x00000003
+
+ #define IMAGE_ID SIGNATURE_64('H','W','A', 'R', 'M', '_', 'F', 'd')
+ #define IMAGE_ID_STRING L"ARMPlatformFd"
+-- +2.11.0 + |