aboutsummaryrefslogtreecommitdiff
path: root/core/platform.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-08-25 16:30:11 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-08-25 16:30:11 +1000
commit241b77872c9c17fe8a5f0c40e0b11049b913283b (patch)
treeba6f7f653aa75f39d58b4845b9ab966c1eeec2ee /core/platform.c
parent51b9eeb66ebbd1706248d8f2277afa9b7dcdbc3b (diff)
downloadskiboot-241b77872c9c17fe8a5f0c40e0b11049b913283b.zip
skiboot-241b77872c9c17fe8a5f0c40e0b11049b913283b.tar.gz
skiboot-241b77872c9c17fe8a5f0c40e0b11049b913283b.tar.bz2
fwts: add annotation for manufacturing mode
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/platform.c')
-rw-r--r--core/platform.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/platform.c b/core/platform.c
index 49ae63a..b95d7c0 100644
--- a/core/platform.c
+++ b/core/platform.c
@@ -133,6 +133,12 @@ void probe_platform(void)
/* Detect Manufacturing mode */
if (dt_find_property(dt_root, "ibm,manufacturing-mode")) {
+ /**
+ * @fwts-label ManufacturingMode
+ * @fwts-advice You are running in manufacturing mode.
+ * This mode should only be enabled in a factory during
+ * manufacturing.
+ */
prlog(PR_NOTICE, "PLAT: Manufacturing mode ON\n");
manufacturing_mode = true;
}