Adapt the code structure after removing of the yaffsram support.