]> git.baikalelectronics.ru Git - uboot.git/commit
board: freescale: p1_p2_rdb_pc: Use named macros for i2c bus num and address
authorPali Rohár <pali@kernel.org>
Thu, 7 Apr 2022 10:16:21 +0000 (12:16 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commitc347e625f0fdd37c009948fdffe7121ca9bef4ed
treefb299015c352a9b62a850527cb227cadcf4dc039
parentf3cd1c18a53dc34ea98022c497145a2eb1efdadf
board: freescale: p1_p2_rdb_pc: Use named macros for i2c bus num and address

Replace hardcoded boot i2c bus num and address by existing macros when
generating env for CONFIG_EXTRA_ENV_SETTINGS.

Same macros are used in U-Boot board code when reading information from
boot i2c data.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
include/configs/p1_p2_rdb_pc.h