]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blobdiff - src/hw/gpio/gpio.c
GPIO: Read Function should return 32 bits
[keystone-rtos/ibl.git] / src / hw / gpio / gpio.c
index 27f8df49ce890db2668f2cc9ca2758f3fc123395..196ec97c0373b4bad22acef50c51312c2d100f71 100644 (file)
@@ -226,9 +226,9 @@ void hwGpioSetDataBus(Uint8 uchValue)
  * Pre-Condition:      The GPIO[7:0] should be configured as input
  * 
  *****************************************************************************/
-Uint8 hwGpioReadDataBus( void )
+Uint32 hwGpioReadDataBus( void )
 {
-       Uint8* puchGpioInput = (Uint8*)GPIO_IN_DATA_REG;    
+       Uint32* puchGpioInput = (Uint32*)GPIO_IN_DATA_REG;
     return *puchGpioInput;
 }