diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-02-05 00:21:49 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-07 14:05:05 +0000 |
commit | ad8a2a475e2733fd4958f816178040153e8cefd3 (patch) | |
tree | 96efb934b358aed786c04578fc284c49b649e70f /src/lib/fmap.c | |
parent | ec4493f88b1408239a546076c67e74049b4bea86 (diff) |
drivers/uart/uart8250reg.h: use shifts in constants
The UART8250_FCR_TRIGGER bits are bits 6 and 7 in the register, so
rewrite the mask and constants as constants shifted by 6.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I0663c1a641355b7bfb59f41479d17117178fb895
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61644
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/lib/fmap.c')
0 files changed, 0 insertions, 0 deletions