Extended to make it usable to rk78