From b18bcbdb00ae5e6e5a9248ce54733c37e56324c5 Mon Sep 17 00:00:00 2001 From: Jyotheeswar Reddy Date: Tue, 6 Oct 2015 17:22:15 +0530 Subject: [PATCH] sw_apps:pmufw: Add tcl procedures to provide support info Provide tcl procedures to query for processors and os supported by pmufw app. SDK uses the return values of these procedures to make sure that pmufw app shows up in the apps list only when the supported processor type (psu_microblaze) and OS (standalone) are selected. Signed-off-by: Jyotheeswar Reddy Acked-by: Srikanth Vemula --- lib/sw_apps/zynqmp_pmufw/data/zynqmp_pmufw.tcl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/sw_apps/zynqmp_pmufw/data/zynqmp_pmufw.tcl b/lib/sw_apps/zynqmp_pmufw/data/zynqmp_pmufw.tcl index 23fedb6d..3ccfdbed 100755 --- a/lib/sw_apps/zynqmp_pmufw/data/zynqmp_pmufw.tcl +++ b/lib/sw_apps/zynqmp_pmufw/data/zynqmp_pmufw.tcl @@ -85,3 +85,11 @@ proc swapp_get_linker_constraints {} { # don't generate a linker script. PMU Firmware has its own linker script return "lscript no"; } + +proc swapp_get_supported_processors {} { + return "psu_microblaze"; +} + +proc swapp_get_supported_os {} { + return "standalone"; +}