sunxi: Do not build i2c support when we've no i2c controllers
This fixes the following errors being printed during boot: Error, wrong i2c adapter 0 max 0 possible Error, wrong i2c adapter 0 max 0 possible Signed-off-by: NHans de Goede <hdegoede@redhat.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NIan Campbell <ijc@hellion.org.uk>
Showing
想要评论请 注册 或 登录