#include <Protocol/EmbeddedGpio.h>\r
\r
// PL061 GPIO Registers\r
+#define PL061_GPIO_DATA_REG_OFFSET ((UINTN) 0x000)\r
#define PL061_GPIO_DATA_REG ((UINT32)PcdGet32 (PcdPL061GpioBase) + 0x000)\r
#define PL061_GPIO_DIR_REG ((UINT32)PcdGet32 (PcdPL061GpioBase) + 0x400)\r
#define PL061_GPIO_IS_REG ((UINT32)PcdGet32 (PcdPL061GpioBase) + 0x404)\r
\r
// All bits low except one bit high, native bit length\r
#define GPIO_PIN_MASK(Pin) (1UL << ((UINTN)(Pin)))\r
-// All bits low except one bit high, restricted to 8 bits (i.e. ensures zeros above 8bits)\r
-#define GPIO_PIN_MASK_HIGH_8BIT(Pin) (GPIO_PIN_MASK(Pin) && 0xFF)\r
-// All bits high except one bit low, restricted to 8 bits (i.e. ensures zeros above 8bits)\r
-#define GPIO_PIN_MASK_LOW_8BIT(Pin) ((~GPIO_PIN_MASK(Pin)) && 0xFF)\r
\r
#endif // __PL061_GPIO_H__\r