# Recent commit in optee\_os breaks DEY dey-image-webkit build

**URL:** <https://forums.digi.com/t/recent-commit-in-optee-os-breaks-dey-dey-image-webkit-build/38700>\
**Category:** Linux\
**Tags:** dey, yocto\
**Created:** [September 14, 2026, 2:04pm UTC](https://forums.digi.com/t/recent-commit-in-optee-os-breaks-dey-dey-image-webkit-build/38700 "2026-09-14T14:04:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcdeka](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jcdeka](https://forums.digi.com/u/jcdeka)\
**Post date:** [September 14, 2026, 2:04pm UTC](https://forums.digi.com/t/recent-commit-in-optee-os-breaks-dey-dey-image-webkit-build/38700/1 "2026-09-14T14:04:12Z")

</div>

My CCMP25-DVK build (`bitbake dey-image-webkit`) failed due to `optee-os-stm32mp` recipe. The error message:

```auto
core/drivers/clk/clk-stm32mp25.c:3891:49: error: 'CLK_IS_CRITICAL_TDCID' undeclared here (not in a function)
 3891 | static RIF_GATE(ck_icn_p_rtc_am, &ck_icn_p_rtc, CLK_IS_CRITICAL_TDCID,
      | ^ ~~~~~~~~~~~~~~~~~~~~
core/drivers/clk/clk-stm32mp25.c:3659:27: note: in definition of macro 'RIF_GATE'
 3659 | .flags = (_flags),\
      | ^ ~~~~~

```

I was able to resolve this by reverting a recent commit:

> <https://github.com/digi-embedded/optee_os/commit/23d6b9580eaecc0cabbb5a842a768a6b0bed76c3>
>
> RTCAMEN must be set for the low power Standby1 mode, in order to avoid a
> race co…ndition with the cut 2.2 bootrom.
> 
> Mark the clock as critical so that clk\_stm32\_register\_clocks() enables it
> at RCC probe time and refuses any later disable, which keeps RTCAMEN set.
> 
> The flag is conditioned by CLK\_IS\_CRITICAL\_TDCID because on CM33 TDCID
> configurations the bit is set by the M33 TDCID firmware instead.
> 
> Change-Id: I9996a5fbbded4a7e219f77946e8f3bcf1292e601
> Signed-off-by: Christophe Kerello \<christophe.kerello@foss.st.com\>
> Signed-off-by: Hector Palacios \<hector.palacios@digi.com\>
> 
> https://onedigi.atlassian.net/browse/DEL-10086

Only tested this on my personal build which has local.conf changes and proprietary recipes, but I believe it affects all users based on the error message. I do not have any custom optee changes.

Assuming others can reproduce the failure, Digi may want to fix this in their repos. Customers will need to pin an older version or maintain a patch in their custom layer to fix this unless resolved upstream.

Apologies if this is the wrong place to report, lmk if a GitHub Issue is more appropriate.

---

<div class="post-metadata">

**Author:** ![abuzarra](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/abuzarra/32/9793_2.png) [@abuzarra](https://forums.digi.com/u/abuzarra)\
**Post date:** [September 22, 2026, 8:21am UTC](https://forums.digi.com/t/recent-commit-in-optee-os-breaks-dey-dey-image-webkit-build/38700/2 "2026-09-22T08:21:18Z")

</div>

Hi [jcdeka](https://forums.digi.com/u/jcdeka),

We identified the same issue in our automated tests, and we are working to provide a proper fix as soon as possible.

Thanks for reporting it. I hope we can update the repository shortly to fix the build issue.

Best regards,

Arturo.

---

<div class="post-metadata">

**Author:** ![hpalacios](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.digi.com/hpalacios/32/10637_2.png) [@hpalacios](https://forums.digi.com/u/hpalacios)\
**Post date:** [September 23, 2026, 9:08am UTC](https://forums.digi.com/t/recent-commit-in-optee-os-breaks-dey-dey-image-webkit-build/38700/3 "2026-09-23T09:08:07Z")

</div>

Hello @jcdeka

We pushed a couple of commits to fix this issue.  
Thank you and regards.  
Héctor
