The current code only allows to automatically set root device on MTD partitions. Move the code to MTD core to allow to use it with all MTD devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38643
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38528