From 241b77872c9c17fe8a5f0c40e0b11049b913283b Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 25 Aug 2016 16:30:11 +1000 Subject: fwts: add annotation for manufacturing mode Signed-off-by: Stewart Smith --- core/platform.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core') 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; } -- cgit v1.1