[meta-xilinx] [meta-xilinx-tools][PATCH 1/2] pmu-firmware: Remove zcu100-poweroff-support patch
Manjukumar Matha
manjukumar.harthikote-matha at xilinx.com
Fri Apr 6 13:13:40 PDT 2018
From: Ravi Patel <ravipate at xilinx.com>
GPO1[2] is set to 0 at startup of PMU ROM. MIO34 pin (connected to LTC
kill signal) is mapped to GPO1[2] by fsbl. Because of weak pull-up
register on MIO34, 1 to 0 transition occurs which results into cut down
of board power. This fix was provided in zcu100-poweroff-support patch.
Signed-off-by: Ravi Patel <ravipate at xilinx.com>
Acked-by: Will Wong <willw at xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
---
.../0001-zcu100-poweroff-support.patch | 42 ----------------------
recipes-bsp/pmu-firmware/pmu-firmware_git.bb | 2 --
2 files changed, 44 deletions(-)
delete mode 100755 recipes-bsp/pmu-firmware/pmu-firmware/0001-zcu100-poweroff-support.patch
diff --git a/recipes-bsp/pmu-firmware/pmu-firmware/0001-zcu100-poweroff-support.patch b/recipes-bsp/pmu-firmware/pmu-firmware/0001-zcu100-poweroff-support.patch
deleted file mode 100755
index 734aa31..0000000
--- a/recipes-bsp/pmu-firmware/pmu-firmware/0001-zcu100-poweroff-support.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 31d733ec064ad7fd96552e98fff81fb5da42a205 Mon Sep 17 00:00:00 2001
-From: Sreeja Vadakattu <svadakat at xilinx.com>
-Date: Tue, 16 May 2017 16:46:34 +0530
-Subject: [EMBEDDEDSW PATCH] zcu100 poweroff support
-
-Signed-off-by: Sreeja Vadakattu <svadakat at xilinx.com>
----
- lib/sw_apps/zynqmp_pmufw/src/pm_core.c | 11 +++++++++++
- 1 files changed, 11 insertions(+), 0 deletions(-)
-
-diff --git a/lib/sw_apps/zynqmp_pmufw/src/pm_core.c b/lib/sw_apps/zynqmp_pmufw/src/pm_core.c
-index 13072de..587f4cc 100644
---- a/lib/sw_apps/zynqmp_pmufw/src/pm_core.c
-+++ b/lib/sw_apps/zynqmp_pmufw/src/pm_core.c
-@@ -535,6 +535,11 @@ static void PmGetApiVersion(const PmMaster *const master)
- PmDbg(DEBUG_DETAILED,"version %d.%d\r\n", PM_VERSION_MAJOR,
- PM_VERSION_MINOR);
-
-+ /* GPIO MIO34 power off for zcu100 poweroff is done by writing 0 - default setting is 1 on that pin */
-+ u32 reg = XPfw_Read32(PMU_LOCAL_GPO1_READ);
-+ reg |= PMU_IOMODULE_GPO1_MIO_2_MASK;
-+ XPfw_Write32(PMU_IOMODULE_GPO1, reg);
-+
- IPI_RESPONSE2(master->ipiMask, XST_SUCCESS, version);
- }
-
-@@ -778,6 +783,12 @@ static void PmSystemShutdown(PmMaster* const master, const u32 type,
- /* For shutdown type the subtype is irrelevant: shut the caller down */
- if (PMF_SHUTDOWN_TYPE_SHUTDOWN == type) {
- status = PmMasterFsm(master, PM_MASTER_EVENT_FORCE_DOWN);
-+
-+ /* GPIO MIO34 power off for zcu100 poweroff is done by writing 0 */
-+ u32 reg = XPfw_Read32(PMU_LOCAL_GPO1_READ);
-+ reg &= ~PMU_IOMODULE_GPO1_MIO_2_MASK;
-+ XPfw_Write32(PMU_IOMODULE_GPO1, reg);
-+
- goto done;
- }
-
---
-1.7.1
-
diff --git a/recipes-bsp/pmu-firmware/pmu-firmware_git.bb b/recipes-bsp/pmu-firmware/pmu-firmware_git.bb
index cb12761..790377c 100644
--- a/recipes-bsp/pmu-firmware/pmu-firmware_git.bb
+++ b/recipes-bsp/pmu-firmware/pmu-firmware_git.bb
@@ -2,8 +2,6 @@ DESCRIPTION = "PMU Firmware"
PROVIDES = "virtual/pmu-firmware"
-SRC_URI_append_zcu100-zynqmp = " file://0001-zcu100-poweroff-support.patch"
-
inherit xsctapp xsctyaml deploy
COMPATIBLE_MACHINE = "^$"
--
2.7.4
More information about the meta-xilinx
mailing list