pm2: simplify samsung board check, fix compile error, then dpram is disabled