soc/qualcomm/cmn/qclib: Replace magic number with BIT() macro
Replace the magic number 0x00000001 with the BIT(0) macro for QCLIB_GA_ENABLE_UART_LOGGING. This improves readability and maintainability by clearly indicating that a specific bit is being set. TEST=Able to build google/herobrine. Change-Id: Ie425a68c6721343ca53eb883d6278decca92bcad Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86774 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
042e3ebd34
commit
d9d06f7d79
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ struct qclib_cb_if_table_entry {
|
|||
};
|
||||
|
||||
/* GA_BMASK_VALUES (global_attributes bit mask values) */
|
||||
#define QCLIB_GA_ENABLE_UART_LOGGING 0x00000001
|
||||
#define QCLIB_GA_ENABLE_UART_LOGGING BIT(0)
|
||||
#define QCLIB_GA_FORCE_COLD_REBOOT BIT(3)
|
||||
#define QCLIB_GA_DDR_FMAX_LIMIT_HYNIX8GB BIT(5)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue