pinmap: test mode, add uninitialised protection.
pinmap: test mode, add uninitialised protection.

Signed-off-by: Thomas Ingleby <cea8b9d820e871fd22532c955ca84ff867a004a3@intel.com>
Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

Kiritoalex/mraa,Kiritoalex/mraa,whbruce/mraa,arunlee77/mraa,yongli3/mraa,sundw2014/mraa,damcclos/mraa,malikabhi05/mraa,SyrianSpock/mraa,g-vidal/mraa,sundw2014/mraa,g-vidal/mraa,spitfire88/mraa,ProfFan/mraa,ncrastanaren/mraa,Meirtz/mraa,andreivasiliu2211/mraa,intel-iot-devkit/mraa,malikabhi05/mraa,Jon-ICS/mraa,nioinnovation/mraa,tripzero/mraa,malikabhi05/mraa,alexandru-elisei/mraa,alext-mkrs/mraa,jontrulson/mraa,seem-sky/mraa,arfoll/mraa,Pillar1989/mraa,neuroidss/mraa,ncrastanaren/mraa,Hbrinj/mraa,allela-roy/mraa,pctj101/mraa,w4ilun/mraa,ncrastanaren/mraa,alext-mkrs/mraa,Hbrinj/mraa,seem-sky/mraa,sergev/mraa,ncrastanaren/mraa,yongli3/mraa,Propanu/mraa,yoyojacky/mraa,mircea/mraa,tripzero/mraa,whbruce/mraa,ProfFan/mraa,andreivasiliu2211/mraa,seem-sky/mraa,sergev/mraa,neuberfran/mraa,andreivasiliu2211/mraa,Hbrinj/mraa,noahchense/mraa,Propanu/mraa,damcclos/mraa,arfoll/mraa,KurtE/mraa,malikabhi05/mraa,yongli3/mraa,arunlee77/mraa,alex1818/mraa,alexandru-elisei/mraa,stefan-andritoiu/mraa-gpio-chardev,arfoll/mraa,seem-sky/mraa,mircea/mraa,stefan-andritoiu/mraa,neuberfran/mraa,damcclos/mraa,petreeftime/mraa,whbruce/mraa,yongli3/mraa,spitfire88/mraa,Kiritoalex/mraa,petreeftime/mraa,intel-iot-devkit/mraa,yangjae/mraa,malikabhi05/mraa,smileboywtu/mraa,w4ilun/mraa,petreeftime/mraa,w4ilun/mraa,g-vidal/mraa,g-vidal/mraa,noahchense/mraa,allela-roy/mraa,stefan-andritoiu/mraa,alex1818/mraa,stefan-andritoiu/mraa-gpio-chardev,anonymouse64/mraa,arfoll/mraa,zBMNForks/mraa,arunlee77/mraa,timrtoo/Intel,arunlee77/mraa,yangjae/mraa,timrtoo/Intel,alext-mkrs/mraa,KurtE/mraa,SyrianSpock/mraa,pctj101/mraa,stefan-andritoiu/mraa,g-vidal/mraa,zBMNForks/mraa,alex1818/mraa,pctj101/mraa,yoyojacky/mraa,yangjae/mraa,alexandru-elisei/mraa,seem-sky/mraa,ncrastanaren/mraa,pctj101/mraa,Propanu/mraa,neuroidss/mraa,Meirtz/mraa,smileboywtu/mraa,sergev/mraa,noahchense/mraa,sundw2014/mraa,Jon-ICS/mraa,timrtoo/Intel,matt-auld/mraa,zBMNForks/mraa,yangjae/mraa,alext-mkrs/mraa,allela-roy/mraa,matt-auld/mraa,sundw2014/mraa,ProfFan/mraa,stefan-andritoiu/mraa,anonymouse64/mraa,mircea/mraa,noahchense/mraa,Pillar1989/mraa,STANAPO/mraa,STANAPO/mraa,jontrulson/mraa,yoyojacky/mraa,tripzero/mraa,neuberfran/mraa,alexandru-elisei/mraa,Pillar1989/mraa,Hbrinj/mraa,KurtE/mraa,sergev/mraa,intel-iot-devkit/mraa,sundw2014/mraa,matt-auld/mraa,alexandru-elisei/mraa,arfoll/mraa,ProfFan/mraa,jontrulson/mraa,andreivasiliu2211/mraa,stefan-andritoiu/mraa-gpio-chardev,KurtE/mraa,stefan-andritoiu/mraa-gpio-chardev,stefan-andritoiu/mraa-gpio-chardev,smileboywtu/mraa,KurtE/mraa,neuberfran/mraa,spitfire88/mraa,Propanu/mraa,nioinnovation/mraa,pctj101/mraa,sergev/mraa,anonymouse64/mraa,noahchense/mraa,timrtoo/Intel,jontrulson/mraa,nioinnovation/mraa,timrtoo/Intel,SyrianSpock/mraa,petreeftime/mraa,STANAPO/mraa,alext-mkrs/mraa,spitfire88/mraa,yongli3/mraa,intel-iot-devkit/mraa,neuberfran/mraa,w4ilun/mraa,whbruce/mraa,jontrulson/mraa,neuroidss/mraa,Jon-ICS/mraa,intel-iot-devkit/mraa,stefan-andritoiu/mraa,Meirtz/mraa,Propanu/mraa