intel_galileo_rev_d.c: Move code for gen1 from pwm.c to advance function
intel_galileo_rev_d.c: Move code for gen1 from pwm.c to advance function

This re-enables correct PWM on gen1

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

KurtE/mraa,KurtE/mraa,andreivasiliu2211/mraa,intel-iot-devkit/mraa,jontrulson/mraa,Jon-ICS/mraa,intel-iot-devkit/mraa,intel-iot-devkit/mraa,g-vidal/mraa,ProfFan/mraa,Propanu/mraa,w4ilun/mraa,KurtE/mraa,intel-iot-devkit/mraa,g-vidal/mraa,yongli3/mraa,Propanu/mraa,stefan-andritoiu/mraa-gpio-chardev,stefan-andritoiu/mraa-gpio-chardev,yongli3/mraa,stefan-andritoiu/mraa,alext-mkrs/mraa,stefan-andritoiu/mraa-gpio-chardev,Jon-ICS/mraa,KurtE/mraa,Propanu/mraa,jontrulson/mraa,whbruce/mraa,alext-mkrs/mraa,ProfFan/mraa,malikabhi05/mraa,ncrastanaren/mraa,spitfire88/mraa,ncrastanaren/mraa,yongli3/mraa,arunlee77/mraa,stefan-andritoiu/mraa,arunlee77/mraa,stefan-andritoiu/mraa-gpio-chardev,malikabhi05/mraa,Propanu/mraa,spitfire88/mraa,stefan-andritoiu/mraa,jontrulson/mraa,sergev/mraa,alext-mkrs/mraa,yongli3/mraa,jontrulson/mraa,jontrulson/mraa,Hbrinj/mraa,sergev/mraa,KurtE/mraa,ncrastanaren/mraa,w4ilun/mraa,andreivasiliu2211/mraa,w4ilun/mraa,petreeftime/mraa,g-vidal/mraa,arfoll/mraa,stefan-andritoiu/mraa,alext-mkrs/mraa,alext-mkrs/mraa,Propanu/mraa,stefan-andritoiu/mraa-gpio-chardev,petreeftime/mraa,sergev/mraa,petreeftime/mraa,whbruce/mraa,petreeftime/mraa,spitfire88/mraa,w4ilun/mraa,whbruce/mraa,arfoll/mraa,arfoll/mraa,ProfFan/mraa,Hbrinj/mraa,whbruce/mraa,Jon-ICS/mraa,yongli3/mraa,andreivasiliu2211/mraa,ProfFan/mraa,Hbrinj/mraa,spitfire88/mraa,sergev/mraa,malikabhi05/mraa,arfoll/mraa,malikabhi05/mraa,arunlee77/mraa,andreivasiliu2211/mraa,stefan-andritoiu/mraa,g-vidal/mraa,arfoll/mraa,malikabhi05/mraa,sergev/mraa,ncrastanaren/mraa,g-vidal/mraa,Hbrinj/mraa,ncrastanaren/mraa,arunlee77/mraa,intel-iot-devkit/mraa