commit | 675377600f1839fc34fe09364d949293d73372a9 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Sun Oct 14 22:13:53 2018 +0100 |
committer | Andre Przywara <andre.przywara@arm.com> | Sat Oct 20 16:23:59 2018 +0100 |
tree | f0096dcb5ac0a0ba98af90ad7e92cbb36cdae8e4 | |
parent | 10d69c795119bf0715c20e6fbefcf6479abe9a17 [diff] |
allwinner: H6: Factor out I2C platform setup In the H6 platform code there is a routine to do the platform initialisation of the R_I2C controller. We will need a very similar setup routine to initialise the RSB controller on the A64. Move this code to sunxi_common.c and generalise it to support all SoCs and also to cover the related RSB bus. Signed-off-by: Andre Przywara <andre.przywara@arm.com>