summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/utils/cppc/fdt_cppc_rpmi.c1
-rw-r--r--lib/utils/fdt/fdt_driver.c4
-rw-r--r--lib/utils/hsm/fdt_hsm_rpmi.c1
-rw-r--r--lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c1
-rw-r--r--lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c1
-rw-r--r--lib/utils/reset/fdt_reset_rpmi.c1
-rw-r--r--lib/utils/suspend/fdt_suspend_rpmi.c1
7 files changed, 10 insertions, 0 deletions
diff --git a/lib/utils/cppc/fdt_cppc_rpmi.c b/lib/utils/cppc/fdt_cppc_rpmi.c
index 4946ed14..95328404 100644
--- a/lib/utils/cppc/fdt_cppc_rpmi.c
+++ b/lib/utils/cppc/fdt_cppc_rpmi.c
@@ -370,4 +370,5 @@ static const struct fdt_match rpmi_cppc_match[] = {
struct fdt_driver fdt_cppc_rpmi = {
.match_table = rpmi_cppc_match,
.init = rpmi_cppc_cold_init,
+ .experimental = true,
};
diff --git a/lib/utils/fdt/fdt_driver.c b/lib/utils/fdt/fdt_driver.c
index 586ea8aa..f6707c0e 100644
--- a/lib/utils/fdt/fdt_driver.c
+++ b/lib/utils/fdt/fdt_driver.c
@@ -30,6 +30,10 @@ int fdt_driver_init_by_offset(const void *fdt, int nodeoff,
if (!fdt_stringlist_contains(prop, len, match->compatible))
continue;
+ if (driver->experimental)
+ sbi_printf("WARNING: %s driver is experimental and may change\n",
+ match->compatible);
+
rc = driver->init(fdt, nodeoff, match);
if (rc < 0) {
const char *name;
diff --git a/lib/utils/hsm/fdt_hsm_rpmi.c b/lib/utils/hsm/fdt_hsm_rpmi.c
index 975d3484..66fa0fe2 100644
--- a/lib/utils/hsm/fdt_hsm_rpmi.c
+++ b/lib/utils/hsm/fdt_hsm_rpmi.c
@@ -359,4 +359,5 @@ static const struct fdt_match rpmi_hsm_match[] = {
struct fdt_driver fdt_hsm_rpmi = {
.match_table = rpmi_hsm_match,
.init = rpmi_hsm_cold_init,
+ .experimental = true,
};
diff --git a/lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c b/lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c
index 91db4e96..b8bd3cd6 100644
--- a/lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c
+++ b/lib/utils/mailbox/fdt_mailbox_rpmi_shmem.c
@@ -768,6 +768,7 @@ struct fdt_mailbox fdt_mailbox_rpmi_shmem = {
.driver = {
.match_table = rpmi_shmem_mbox_match,
.init = rpmi_shmem_mbox_init,
+ .experimental = true,
},
.xlate = fdt_mailbox_simple_xlate,
};
diff --git a/lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c b/lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c
index c09a4c52..78020eae 100644
--- a/lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c
+++ b/lib/utils/mpxy/fdt_mpxy_rpmi_mbox.c
@@ -439,4 +439,5 @@ static const struct fdt_match mpxy_mbox_match[] = {
struct fdt_driver fdt_mpxy_rpmi_mbox = {
.match_table = mpxy_mbox_match,
.init = mpxy_mbox_init,
+ .experimental = true,
};
diff --git a/lib/utils/reset/fdt_reset_rpmi.c b/lib/utils/reset/fdt_reset_rpmi.c
index 1ec4396b..70826b96 100644
--- a/lib/utils/reset/fdt_reset_rpmi.c
+++ b/lib/utils/reset/fdt_reset_rpmi.c
@@ -138,4 +138,5 @@ static const struct fdt_match rpmi_reset_match[] = {
struct fdt_driver fdt_reset_rpmi = {
.match_table = rpmi_reset_match,
.init = rpmi_reset_init,
+ .experimental = true,
};
diff --git a/lib/utils/suspend/fdt_suspend_rpmi.c b/lib/utils/suspend/fdt_suspend_rpmi.c
index 11696648..07ff5198 100644
--- a/lib/utils/suspend/fdt_suspend_rpmi.c
+++ b/lib/utils/suspend/fdt_suspend_rpmi.c
@@ -135,4 +135,5 @@ static const struct fdt_match rpmi_suspend_match[] = {
struct fdt_driver fdt_suspend_rpmi = {
.match_table = rpmi_suspend_match,
.init = rpmi_suspend_init,
+ .experimental = true,
};