diff options
author | Andre Przywara <andre.przywara@arm.com> | 2024-01-02 15:02:51 +0000 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2024-04-22 01:12:25 +0100 |
commit | 1a6828d0c54da2267cfc2a8abe7c51226f1cb80f (patch) | |
tree | 0ecd9653368b5029593858692962b897a8910daf /api/api.c | |
parent | 02780a1c2675916bea8dbfb594bba7936ff538d5 (diff) |
sunxi: remove unneeded i2c_init_board() call for U-Boot proper
The driver used for the Allwinner I2C IP is using proper DT and DM
enablement for a while: we enable the clock gate and de-assert the reset
line in the driver's probe() routine, and the pinmux setup is taken care
of by the DM framework.
This means the explicit call to the i2c_init_board() routine is not
needed for U-Boot proper. As the board_init() function in board.c is
only called for U-Boot proper, we can remove the call, something that
the comment there hinted at already.
Fix the comment for the board_init() function on the way: we were not
really doing board specific setup there. The fact that this function
is called from U-Boot proper only is probably more helpful for reasoning
about this code.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'api/api.c')
0 files changed, 0 insertions, 0 deletions