soc/amd/common/block/include/gpio_defs: use lower case in hex numbers

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Icb1c7b243f655225347ba2a78c80e6e8653e8cda
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59589
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
Felix Held 2021-11-23 09:49:00 +01:00
parent 72b92c9207
commit a31dbb8b8e
1 changed files with 3 additions and 3 deletions

View File

@ -3,13 +3,13 @@
#ifndef AMD_BLOCK_GPIO_DEFS_H #ifndef AMD_BLOCK_GPIO_DEFS_H
#define AMD_BLOCK_GPIO_DEFS_H #define AMD_BLOCK_GPIO_DEFS_H
#define GPIO_MASTER_SWITCH 0xFC #define GPIO_MASTER_SWITCH 0xfc
#define GPIO_MASK_STS_EN BIT(28) #define GPIO_MASK_STS_EN BIT(28)
#define GPIO_INTERRUPT_EN BIT(30) #define GPIO_INTERRUPT_EN BIT(30)
#define GPIO_WAKE_EN BIT(31) #define GPIO_WAKE_EN BIT(31)
#define GPIO_WAKE_STAT_0 0x2F0 #define GPIO_WAKE_STAT_0 0x2f0
#define GPIO_WAKE_STAT_1 0x2F4 #define GPIO_WAKE_STAT_1 0x2f4
#define GPIO_PIN_IN (1 << 0) /* for byte access */ #define GPIO_PIN_IN (1 << 0) /* for byte access */
#define GPIO_PIN_OUT (1 << 6) /* for byte access */ #define GPIO_PIN_OUT (1 << 6) /* for byte access */