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)
commit81451a3985a7ca9f2bc871a14d8aff8aa86db9ba
tree053319db5c4ce7d77a45931458eaeab8c1e24dbd
parent409163a46e161e906fcc2c3963dec45166a81460
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