aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZoltan Kiss <zoltan.kiss@linaro.org>2015-12-10 18:58:49 +0000
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-12-29 14:07:51 +0300
commit0510f63fb88d603dd1d2d312c40fb58af2922698 (patch)
treeb26e7b1137f3b513b98316eb5d2b17233d0e9fcc /include
parent520078a4a88b0b8bc1c2d91d721493667d02f572 (diff)
api: init: allow implementation to use private ways for its own configuration
This could help the existing configuration methods to be used if the application prefers that. The platform_params should always supersede that though. Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/odp/api/init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/odp/api/init.h b/include/odp/api/init.h
index 737ff6d6..4ac52167 100644
--- a/include/odp/api/init.h
+++ b/include/odp/api/init.h
@@ -141,6 +141,10 @@ typedef struct odp_platform_init_t {
*
* This function must be called once before calling any other ODP API
* functions.
+ * The underlying implementation may have another way to get configuration
+ * related to platform_params (e.g. environmental variable, configuration
+ * file), but if the application passes platform_params, it should always
+ * supersede any other configuration data the platform has.
*
* @param params Those parameters that are interpreted by the ODP API.
* Use NULL to set all parameters to their defaults.