diff options
author | Jim Quigley <jim.quigley@arm.com> | 2020-04-27 13:38:37 +0100 |
---|---|---|
committer | Chris Kay <chris@cjkay.com> | 2020-05-01 15:05:22 +0100 |
commit | 7d44052814e1344b279b584882d951605992d651 (patch) | |
tree | 9509eecc55119d309be6dc86e2de7b9b6c4132eb /tools/build_system | |
parent | f0d0578f2bb2f39f27be1d60ca0b270768b89f5e (diff) |
SCMI: Add NOTIFY_LEVEL/_LIMIT SCMI commands
This patch adds the SCMI performance protocol NOTIFY_LIMITS
and NOTIFY_LEVELS functionality.
Change-Id: I2d0e3173696617e050a846fd6452c60e01ca94ac
Signed-off-by: Jim Quigley <jim.quigley@arm.com>
Diffstat (limited to 'tools/build_system')
-rw-r--r-- | tools/build_system/doc.md | 7 | ||||
-rw-r--r-- | tools/build_system/firmware.mk | 6 | ||||
-rw-r--r-- | tools/build_system/rules.mk | 4 |
3 files changed, 17 insertions, 0 deletions
diff --git a/tools/build_system/doc.md b/tools/build_system/doc.md index 7067bf20..e8d3253a 100644 --- a/tools/build_system/doc.md +++ b/tools/build_system/doc.md @@ -193,6 +193,13 @@ When notification support is enabled, the following applies: number of notification subscriptions supported and set to the value defined by BS_FIRMWARE_NOTIFICATION_COUNT parameter. +SCMI Notifications Support {#section_scmi_notifications} +========================== + +When building a firmware and its dependencies, the +BS_FIRMWARE_HAS_SCMI_NOTIFICATIONS parameter controls whether SCMI notifications +are enabled or not. + Definitions =========== diff --git a/tools/build_system/firmware.mk b/tools/build_system/firmware.mk index ba19b79f..205b40d1 100644 --- a/tools/build_system/firmware.mk +++ b/tools/build_system/firmware.mk @@ -211,6 +211,12 @@ ifeq ($(BUILD_HAS_NOTIFICATION),yes) export BUILD_NOTIFICATION_COUNT endif +ifeq ($(BS_FIRMWARE_HAS_SCMI_NOTIFICATIONS),yes) + BUILD_HAS_SCMI_NOTIFICATIONS := yes +else + BUILD_HAS_SCMI_NOTIFICATIONS := no +endif + # Add directories to the list of targets to build LIB_TARGETS_y += $(patsubst %,$(MODULES_DIR)/%/src, \ $(BUILD_STANDARD_MODULES)) diff --git a/tools/build_system/rules.mk b/tools/build_system/rules.mk index a760d1e3..02b729c0 100644 --- a/tools/build_system/rules.mk +++ b/tools/build_system/rules.mk @@ -25,6 +25,10 @@ ifdef BUILD_NOTIFICATION_COUNT DEFINES += NOTIFICATION_COUNT=$(BUILD_NOTIFICATION_COUNT) endif +ifeq ($(BUILD_HAS_SCMI_NOTIFICATIONS),yes) + DEFINES += BUILD_HAS_SCMI_NOTIFICATIONS +endif + export AS := $(CC) export LD := $(CC) |