summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwpf/test')
-rw-r--r--src/usr/hwpf/test/hwpftest.H13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/usr/hwpf/test/hwpftest.H b/src/usr/hwpf/test/hwpftest.H
index 7c36f26c0..25e749f70 100644
--- a/src/usr/hwpf/test/hwpftest.H
+++ b/src/usr/hwpf/test/hwpftest.H
@@ -483,6 +483,19 @@ public:
break;
}
+ // Test ATTR_FUNCTIONAL attribute access through FAPI
+ uint8_t l_functional = 0xff;
+ l_rc = FAPI_ATTR_GET(ATTR_FUNCTIONAL, &l_fapiTarget, l_functional);
+ if (l_rc != fapi::FAPI_RC_SUCCESS)
+ {
+ TS_FAIL("testHwpf5: ATTR_FUNCTIONAL. Error from GET");
+ break;
+ }
+ else
+ {
+ FAPI_INF("testHwpf5: Master chip ATTR_FUNCTIONAL: %d", l_functional);
+ }
+
//printk("EC = %d\n", l_EC_R);
/*
OpenPOWER on IntegriCloud