]> git.dujemihanovic.xyz Git - u-boot.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)
commit6496a89a5723a24dfaaf904384177f4119cae2c8
treefb299015c352a9b62a850527cb227cadcf4dc039
parentac56055c41ae56756ee07805f998eaf9bc33f332
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