gma500: use the register map to clean up