In the ffbs-firmware based on gluon < 2017.1 this was handled by an ffbs-internal module that seems to do the same