aboutsummaryrefslogtreecommitdiff
path: root/tools/build_system
diff options
context:
space:
mode:
authorVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>2020-07-08 17:41:47 +0530
committerChris Kay <chris@cjkay.com>2020-07-24 11:03:03 +0100
commit91255cc793f94e62b7d77aa140e5998083b1595b (patch)
treea7024d39c1ab45c730f2768d95aff3659bff53e9 /tools/build_system
parent1e7f016da2f277d8b881fddfc2179e3f9f2eb89f (diff)
build: deprecate BS_FIRMWARE_NOTIFICATION_COUNT
Commit 95b4de8 ("fwk: Initialize notifications statically") reworked notification initialization code to use maximum notification count from FMW_NOTIFICATION_MAX macro instead of BS_FIRMWARE_NOTIFICATION_COUNT. This reverts commit 704a318 to deprecate BS_FIRMWARE_NOTIFICATION_COUNT and NOTIFICATION_COUNT macros in the build system. Change-Id: Ida4e1464f841e1380257b7ffbfa32a429c8f536d Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Diffstat (limited to 'tools/build_system')
-rw-r--r--tools/build_system/doc.md11
-rw-r--r--tools/build_system/firmware.mk7
-rw-r--r--tools/build_system/rules.mk4
3 files changed, 1 insertions, 21 deletions
diff --git a/tools/build_system/doc.md b/tools/build_system/doc.md
index e421e231..50d6f0e9 100644
--- a/tools/build_system/doc.md
+++ b/tools/build_system/doc.md
@@ -65,9 +65,6 @@ The following parameters are mandatory:
to yes, firmware will be built with multithreading support.
* __BS_FIRMWARE_HAS_NOTIFICATION__ <yes|no> - Notification support. When set
to yes, firmware will be built with notification support.
-* __BS_FIRMWARE_NOTIFICATION_COUNT__ < count > - When notification support is set
- to yes, firmware can optinally specifiy the number notfication subscriptions
- to be supported.
* __BS_FIRMWARE_MODULES__ - The list of modules to be included and built into
the firmware and any APIs to be omitted from each module.
* __BS_FIRMWARE_MODULE_HEADERS_ONLY__ - The list of modules to have their header
@@ -179,19 +176,13 @@ Notification Support {#section_notification}
When building a firmware and its dependencies, the
BS_FIRMWARE_HAS_NOTIFICATION parameter controls whether notification support
-is enabled or not. If notification support is enabled, the firmware can define
-the number of notification subscriptions supported on the platform using
-BS_FIRMWARE_NOTIFICATION_COUNT parameter.
+is enabled or not.
When notification support is enabled, the following applies:
* The BUILD_HAS_NOTIFICATION definition is defined for the units being built.
* Notification specific APIs are made available to the modules via the
framework components (see \ref GroupLibFramework).
-* The BUILD_NOTIFICATION_COUNT definition is defined if the optional
- parameter BS_FIRMWARE_NOTIFICATION_COUNT is defined. It specified the
- number of notification subscriptions supported and set to the value
- defined by BS_FIRMWARE_NOTIFICATION_COUNT parameter.
Fast Channels Support {#section_fast_channels}
=====================
diff --git a/tools/build_system/firmware.mk b/tools/build_system/firmware.mk
index d9ab04c2..0b41fd72 100644
--- a/tools/build_system/firmware.mk
+++ b/tools/build_system/firmware.mk
@@ -196,13 +196,6 @@ else
endif
export BUILD_HAS_NOTIFICATION
-ifeq ($(BUILD_HAS_NOTIFICATION),yes)
- ifdef BS_FIRMWARE_NOTIFICATION_COUNT
- BUILD_NOTIFICATION_COUNT=$(BS_FIRMWARE_NOTIFICATION_COUNT)
- endif
- export BUILD_NOTIFICATION_COUNT
-endif
-
ifeq ($(BS_FIRMWARE_HAS_FAST_CHANNELS),yes)
BUILD_HAS_FAST_CHANNELS := yes
else
diff --git a/tools/build_system/rules.mk b/tools/build_system/rules.mk
index b19b34ea..d43fd11a 100644
--- a/tools/build_system/rules.mk
+++ b/tools/build_system/rules.mk
@@ -21,10 +21,6 @@ ifeq ($(BUILD_HAS_NOTIFICATION),yes)
DEFINES += BUILD_HAS_NOTIFICATION
endif
-ifdef BUILD_NOTIFICATION_COUNT
- DEFINES += NOTIFICATION_COUNT=$(BUILD_NOTIFICATION_COUNT)
-endif
-
ifeq ($(BUILD_HAS_SCMI_NOTIFICATIONS),yes)
DEFINES += BUILD_HAS_SCMI_NOTIFICATIONS
endif