clean up board-mako.c to make it more like cm's