[PATCH] i2c: octeon_i2c: Misc fixes for ARM Octeon TX2 support
Heiko Schocher
hs at denx.de
Tue Aug 25 06:19:17 CEST 2020
Hello Stefan,
Am 23.07.2020 um 14:09 schrieb Stefan Roese:
> This patch fixes a few issues noticed, when testing this new driver on
> ARM Octeon TX2 again. Here the details:
>
> - Remove "common.h" header inclusion
> - Use correct THP define on Octeon TX2
> - Octeon TX2 uses the same compatible as Octeon TX. We can't distinguish
> both platforms this way. Remove the unused "cavium,thunder2-99xx-twsi"
> compatible and add a check to the Octeon TX2 specific
> "cavium,thunderx-i2c" so that the correct driver data is selected.
> - Removed "struct pci_device_id" definition and U_BOOT_PCI_DEVICE()
> as its not needed for the PCI based probing on Octeon TX2
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Cc: Suneel Garapati <sgarapati at marvell.com>
> Cc: Aaron Williams <awilliams at marvell.com>
> Cc: Chandrakala Chavva <cchavva at marvell.com>
> ---
> drivers/i2c/octeon_i2c.c | 59 ++++++++++++++++++----------------------
> 1 file changed, 26 insertions(+), 33 deletions(-)
Reviewed-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list