commandline mtd partition parsing is ugly, convert aruba to platform_device