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:
Subrata Banik 2025-03-09 15:42:27 +05:30
commit d9d06f7d79

View file

@ -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)