Code cleanup, drop config_dma + check_partitions [Closes: issue1305]