diff options
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/common/block/lpc/lpc_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/lpc/lpc_lib.c b/src/soc/intel/common/block/lpc/lpc_lib.c index 0fcf383ecb..b4b3d1bb52 100644 --- a/src/soc/intel/common/block/lpc/lpc_lib.c +++ b/src/soc/intel/common/block/lpc/lpc_lib.c @@ -88,7 +88,7 @@ void lpc_open_pmio_window(uint16_t base, uint16_t size) window_size = MIN(size, LPC_LGIR_MAX_WINDOW_SIZE); /* Window size must be a power of two for the AMASK to work. */ - alignment = 1 << (log2_ceil(window_size)); + alignment = 1UL << (log2_ceil(window_size)); window_size = ALIGN_UP(window_size, alignment); /* Address[15:2] in LGIR[15:12] and Mask[7:2] in LGIR[23:18]. */ |