diff options
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-12-16 14:02:56 +0100 |
---|---|---|
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | 2021-12-22 15:14:49 +0100 |
commit | 7b8fa5e739e91671c926e9e7c887579d82728513 (patch) | |
tree | 13bd12f55e7d8cf265034b31dc44a38729113ee9 /drivers/mhu_v2 | |
parent | e9cdc6374dc730dc61d2a8a81beabe563ad7fe88 (diff) | |
download | ethos-u-core-platform-7b8fa5e739e91671c926e9e7c887579d82728513.tar.gz |
Timing adapter fix, init constructor priority
The timing adapters are attached to the Ethos-U AXI ports and should
only be initialized if the platform has been built with NPU support.
Add priority to init the constructor, insuring it will run before
any other constructor. This is important because the init constructor
sets up UART.
Change-Id: I189687437b95b11f6503c7631720e7883c24ada6
Diffstat (limited to 'drivers/mhu_v2')
-rw-r--r-- | drivers/mhu_v2/src/mhu_v2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mhu_v2/src/mhu_v2.cpp b/drivers/mhu_v2/src/mhu_v2.cpp index 1144a0f..cdeb90b 100644 --- a/drivers/mhu_v2/src/mhu_v2.cpp +++ b/drivers/mhu_v2/src/mhu_v2.cpp @@ -197,12 +197,12 @@ void MHUv2::printAIDR(bool tx, bool rx) { if (tx) { aidr = getTxAIDR(); a = reinterpret_cast<struct aidr_t *>(&aidr); - LOG_INFO("TX MHUv2 reports: Major rev: %d, Minor rev: %d", a->ARCH_MAJOR_REV, a->ARCH_MINOR_REV); + LOG("TX MHUv2 reports: Major rev: %d, Minor rev: %d", a->ARCH_MAJOR_REV, a->ARCH_MINOR_REV); } if (rx) { aidr = getRxAIDR(); a = reinterpret_cast<struct aidr_t *>(&aidr); - LOG_INFO("RX MHUv2 reports: Major rev: %d, Minor rev: %d", a->ARCH_MAJOR_REV, a->ARCH_MINOR_REV); + LOG("RX MHUv2 reports: Major rev: %d, Minor rev: %d", a->ARCH_MAJOR_REV, a->ARCH_MINOR_REV); } } |