bool SystemConfig::isFlashMounted() { if (is166E()) { return isMounted("/media/mtd8/vfat.bin"); } else if (isImx508()) { return isMounted("/dev/mmcblk0p3"); } return isMounted("/dev/mtdblock5"); }
QString soundModule() { static QString mod = qgetenv("SOUND_MODULE"); if (mod.isEmpty()) { if (isIMX31L()) { mod = "snd-soc-imx-3stack-wm8711"; } else if (is166E()) { mod = "snd_soc_booxe"; } else if (isImx508()) { mod = "snd_soc_imx_3stack_wm8976"; } else { qDebug("No sound module found, check profile."); } } return mod; }