]> git.baikalelectronics.ru Git - uboot.git/commit
am335x: Register the I2C controllers if DM_I2C is used.
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 7 Dec 2018 13:50:43 +0000 (14:50 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 10 Dec 2018 05:12:42 +0000 (06:12 +0100)
commit88d490aabe384e30692b7bd9989b413f52b1edb1
treecb1a88a27d567132bb205c680e01b92f78c2892b
parent2abc014a7cf81d51a102f47b6e0d491c349cab17
am335x: Register the I2C controllers if DM_I2C is used.

If DM_I2C is used , the I2C controllers must be registered as U_BOOT_DEVICE
because OF_CONTROL is not used in the SPL.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/arm/mach-omap2/am33xx/board.c