]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: fsl_i2c: Rework usage of CONFIG_SYS_IMMR
authorTom Rini <trini@konsulko.com>
Tue, 10 Jan 2023 16:19:30 +0000 (11:19 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 20 Jan 2023 17:27:06 +0000 (12:27 -0500)
commit1efb5439ad31d5acda2dc1709b19c1b144b76d29
tree053319db5c4ce7d77a45931458eaeab8c1e24dbd
parent980894802eb05e7b1ae3a5ae42da47975d5f3116
i2c: fsl_i2c: Rework usage of CONFIG_SYS_IMMR

This driver is used on both m68k, where CONFIG_SYS_IMMR is not used, and
PowerPC an ARM where it is. Abstract this to a new value rather than
re-defining a CONFIG symbol on m68k.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/i2c/fsl_i2c.c