karo: tx6: cleanup HAB functions