board: freescale: Refactor NXP common mux code
Refactors similar mux code from multiple NXP boards into a common location, and allows it to be disabled in config. New config: CONFIG_FSL_USE_PCA9547_MUX to enable PCA9547 mux functionality. Signed-off-by:Stephen Carlson <stcarlso@linux.microsoft.com> Reviewed-by:
Priyanka Jain <priyanka.jain@nxp.com>
Showing
- board/freescale/common/Kconfig 6 additions, 0 deletionsboard/freescale/common/Kconfig
- board/freescale/common/Makefile 11 additions, 0 deletionsboard/freescale/common/Makefile
- board/freescale/common/i2c_common.c 34 additions, 0 deletionsboard/freescale/common/i2c_common.c
- board/freescale/common/i2c_common.h 30 additions, 0 deletionsboard/freescale/common/i2c_common.h
- board/freescale/common/i2c_mux.c 40 additions, 0 deletionsboard/freescale/common/i2c_mux.c
- board/freescale/common/i2c_mux.h 15 additions, 0 deletionsboard/freescale/common/i2c_mux.h
- board/freescale/common/vid.c 12 additions, 46 deletionsboard/freescale/common/vid.c
Loading
Please register or sign in to comment