ext: hal: mchp: Fix compilation for MEC1501 SMB macros

Adjust space definition for I2C register base addresses

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
This commit is contained in:
Jose Alberto Meza 2019-04-22 14:15:37 -07:00 committed by Andrew Boie
parent d9ba0d14f7
commit 1f2dbec4d2
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
/* 0 <= n < MCHP_I2C_SMB_MAX_INSTANCES */
#define MCHP_I2C_SMB_BASE_ADDR(n) \
((MCHP_I2C_SMB0_BASE_ADDR) +\
(uint32_t)(n) << (MCHP_I2C_SMB_INST_SPACING_P2))
((uint32_t)(n) << (MCHP_I2C_SMB_INST_SPACING_P2)))
/*
* Offset 0x00