changeset 82:e3768114db59

armio.c: 2nd cleaning: removed some (CHIPSET != 12) noise
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 02 Oct 2016 07:16:15 +0000
parents 8e5096429fd3
children cff89030b634
files src/cs/drivers/drv_core/armio/armio.c
diffstat 1 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/drivers/drv_core/armio/armio.c	Sun Oct 02 07:07:03 2016 +0000
+++ b/src/cs/drivers/drv_core/armio/armio.c	Sun Oct 02 07:16:15 2016 +0000
@@ -174,32 +174,24 @@
 
   // CLKM_IO_CNTL register configuration :
   // select IOs 6,8,9,10,11,12 and 13 on the pins instead of MCSI and MCUEN signals.
-  #if (CHIPSET != 12)
   AI_EnableBit(2);
   AI_EnableBit(4);
-  #endif
 
   /* Bits 5,6,7,8 are used to output I/O 9,10,11,12 or MCSI pins */
   /* If Bluetooth, IO should be disabled, outputting MCSI used for Bluetooth voice */
-#ifdef BTEMOBILE
-  #if (CHIPSET != 12)
+  #ifdef BTEMOBILE
     AI_DisableBit(5);
     AI_DisableBit(6);
     AI_DisableBit(7);
     AI_DisableBit(8);
-  #endif
-#else
-  #if (CHIPSET != 12)
+  #else
     AI_EnableBit(5);
     AI_EnableBit(6);
     AI_EnableBit(7);
     AI_EnableBit(8);
   #endif
-#endif
 
-  #if (CHIPSET != 12)
   AI_EnableBit(9);
-  #endif
 
   // ARMIO_OUT register configuration :
   // set IOs 8,9,10,11,12 and 13 as high